4 |
|
include Config.inc |
5 |
|
|
6 |
|
# these files and directories will be included in the distribution |
7 |
< |
FILES = README ihost.pl ihostchk.sh |
7 |
> |
FILES = README ihost.pl ihostchk.sh COPYING |
8 |
|
# where the plugins will be located |
9 |
|
PLUGINSDIR = plugins |
10 |
|
|
15 |
|
perl: build-perl dist |
16 |
|
linux: build-linux dist |
17 |
|
solaris: build-solaris dist |
18 |
+ |
freebsd: build-freebsd dist |
19 |
|
|
20 |
|
build-perl: |
21 |
|
mkdir -p $(BUILDDIR)/$(PLUGINSDIR) |
31 |
|
mkdir -p $(BUILDDIR)/$(PLUGINSDIR) |
32 |
|
cp $(SOLARISPLUGINS)/solaris $(BUILDDIR)/$(PLUGINSDIR) |
33 |
|
|
34 |
+ |
build-freebsd: |
35 |
+ |
cd $(FREEBSDPLUGINS) && $(MAKE) freebsd |
36 |
+ |
mkdir -p $(BUILDDIR)/$(PLUGINSDIR) |
37 |
+ |
cp $(FREEBSDPLUGINS)/freebsd $(BUILDDIR)/$(PLUGINSDIR) |
38 |
+ |
|
39 |
|
dist: |
40 |
|
cp -R $(FILES) $(BUILDDIR) |
41 |
|
cd $(BUILDDIR) && tar -cvf $(TARFILE) $(FILES) $(PLUGINSDIR) |
59 |
|
distclean: clean |
60 |
|
cd $(LINUXPLUGINS) && $(MAKE) clean |
61 |
|
cd $(SOLARISPLUGINS) && $(MAKE) clean |
62 |
+ |
cd $(FREEBSDPLUGINS) && $(MAKE) clean |
63 |
|
|
64 |
|
update: |
65 |
|
$(CVS) -q -d $(CVSROOT) update |