--- projects/cms/source/host/ihost-perl/Makefile 2002/03/08 15:35:16 1.6 +++ projects/cms/source/host/ihost-perl/Makefile 2002/05/18 18:15:56 1.8 @@ -1,10 +1,10 @@ # Makefile for ihost -# $Id: Makefile,v 1.6 2002/03/08 15:35:16 tdb Exp $ +# $Id: Makefile,v 1.8 2002/05/18 18:15:56 tdb Exp $ include Config.inc # these files and directories will be included in the distribution -FILES = README ihost.pl ihostchk.sh +FILES = README ihost.pl ihostchk.sh COPYING # where the plugins will be located PLUGINSDIR = plugins @@ -15,6 +15,7 @@ all: perl perl: build-perl dist linux: build-linux dist solaris: build-solaris dist +freebsd: build-freebsd dist build-perl: mkdir -p $(BUILDDIR)/$(PLUGINSDIR) @@ -30,6 +31,11 @@ build-solaris: mkdir -p $(BUILDDIR)/$(PLUGINSDIR) cp $(SOLARISPLUGINS)/solaris $(BUILDDIR)/$(PLUGINSDIR) +build-freebsd: + cd $(FREEBSDPLUGINS) && $(MAKE) freebsd + mkdir -p $(BUILDDIR)/$(PLUGINSDIR) + cp $(FREEBSDPLUGINS)/freebsd $(BUILDDIR)/$(PLUGINSDIR) + dist: cp -R $(FILES) $(BUILDDIR) cd $(BUILDDIR) && tar -cvf $(TARFILE) $(FILES) $(PLUGINSDIR) @@ -53,6 +59,7 @@ clean: distclean: clean cd $(LINUXPLUGINS) && $(MAKE) clean cd $(SOLARISPLUGINS) && $(MAKE) clean + cd $(FREEBSDPLUGINS) && $(MAKE) clean update: $(CVS) -q -d $(CVSROOT) update