1############################### 2# Makefile for NSCA 3# 4# Last Modified: 10-15-2003 5############################### 6 7 8# Source code directories 9SRC_BASE=./src/ 10SRC_INCLUDE=./include/ 11 12all: 13 cd $(SRC_BASE); $(MAKE) $@ ; cd .. 14 15 @echo "" 16 @echo "*** Compile finished ***" 17 @echo "" 18 @echo "If the compile finished without any errors, you should" 19 @echo "find client and server binaries in the src/ subdirectory." 20 @echo "" 21 @echo "Read the README file for more information on installing" 22 @echo "the binaries, creating configuration files, and using" 23 @echo "the server and client." 24 @echo "" 25 26nsca: 27 cd $(SRC_BASE); $(MAKE) $@ ; cd .. 28 29send_nsca: 30 cd $(SRC_BASE); $(MAKE) $@ ; cd .. 31 32install: 33 @echo "" 34 @echo "Read the README file for information on installing the" 35 @echo "client and server binaries." 36 @echo "" 37 38clean: 39 cd $(SRC_BASE); $(MAKE) $@ ; cd .. 40 rm -f core 41 rm -f *~ */*~ 42 43distclean: clean 44 cd $(SRC_BASE); $(MAKE) $@ ; cd .. 45 rm -f conf.libmcrypttest config.log config.status config.cache init-script Makefile subst $(SRC_INCLUDE)config.h 46 rm -f sample-config/nsca.cfg sample-config/send_nsca.cfg sample-config/nsca.xinetd 47 48devclean: distclean 49 50