-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathMakefile.in
59 lines (47 loc) · 1.44 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
###############################
# Makefile for NSCA
#
# Last Modified: 10-15-2003
###############################
# Source code directories
SRC_BASE=./src/
SRC_INCLUDE=./include/
all:
cd $(SRC_BASE); $(MAKE) $@ ; cd ..
@echo ""
@echo "*** Compile finished ***"
@echo ""
@echo "If the compile finished without any errors, you should"
@echo "find client and server binaries in the src/ subdirectory."
@echo ""
@echo "Read the README file for more information on installing"
@echo "the binaries, creating configuration files, and using"
@echo "the server and client."
@echo ""
nsca:
cd $(SRC_BASE); $(MAKE) $@ ; cd ..
send_nsca:
cd $(SRC_BASE); $(MAKE) $@ ; cd ..
install:
@echo ""
@echo "Read the README file for information on installing the"
@echo "client and server binaries."
@echo ""
solaris-package:
@if [ `uname -s` != "SunOS" ] ; then \
echo "It is recommended you be running on Solaris to build a Solaris package"; \
else \
cd package/solaris; $(MAKE) build ; $(MAKE) pkg ; cd ../..; \
fi
clean:
cd $(SRC_BASE); $(MAKE) $@ ; cd ..
cd package/solaris; $(MAKE) $@ ; cd ../..
rm -f core
rm -f *~ */*~
distclean: clean
cd $(SRC_BASE); $(MAKE) $@ ; cd ..
cd package/solaris; $(MAKE) $@ ; cd ../..
rm -f conf.libmcrypttest config.log config.status config.cache init-script Makefile subst $(SRC_INCLUDE)config.h
rm -f sample-config/nsca.cfg sample-config/send_nsca.cfg sample-config/nsca.xinetd
rm -f nsca.service
devclean: distclean