# Don't build fping (pull in from vendor using RPM) # --- xymonnet/Makefile.nofping 2012-04-25 11:06:52.958641538 -0700 +++ xymonnet/Makefile 2012-04-25 11:28:53.216437216 -0700 @@ -13 +13 @@ -PROGRAMS = xymonnet2 netmodule fping4 fping6 +PROGRAMS = xymonnet2 netmodule @@ -23 +23 @@ -all: $(PROGRAMS) fping.8 +all: $(PROGRAMS) @@ -59,26 +59,0 @@ -fping.8: fping4 - cp fping.ipv4/fping.8 . - -fping4: fping.ipv4/Makefile - (cd fping.ipv4 && $(MAKE)) - cp fping.ipv4/fping ./fping4 - -fping6: fping.ipv6/Makefile - (cd fping.ipv6 && $(MAKE)) - cp fping.ipv6/fping ./fping6 - -fping.ipv4/Makefile: fping-$(FPINGVER).tar.gz - gzip -dc $< | tar xf - - mv fping-$(FPINGVER) fping.ipv4 - # Must touch "configure", or it will trigger a rebuild because it is older than the tar.gz file. - touch fping.ipv4/configure - (cd fping.ipv4 && ./configure) - -fping.ipv6/Makefile: fping-$(FPINGVER).tar.gz - gzip -dc $< | tar xf - - mv fping-$(FPINGVER) fping.ipv6 - # Must touch "configure", or it will trigger a rebuild because it is older than the tar.gz file. - touch fping.ipv6/configure - (cd fping.ipv6 && ./configure && echo "#define IPV6 1" >> config.h) - - @@ -89 +87 @@ - rm -f *.o *.a *~ fping.8 $(PROGRAMS) + rm -f *.o *.a *~ $(PROGRAMS) @@ -126,7 +100,4 @@ install-man: - mkdir -p $(INSTALLROOT)$(MANROOT)/man1 $(INSTALLROOT)$(MANROOT)/man5 - cp -fp *.1 $(INSTALLROOT)$(MANROOT)/man1/ + mkdir -p $(INSTALLROOT)$(MANROOT)/man5 cp -fp *.5 $(INSTALLROOT)$(MANROOT)/man5/ - cp -fp *.8 $(INSTALLROOT)$(MANROOT)/man8/ - cd $(INSTALLROOT)$(MANROOT)/man8 && ln -sf fping.8 fping4.8 && ln -sf fping.8 fping6.8