-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile.in
95 lines (84 loc) · 2.29 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#===================================#
# Makefile for interfacetable_v3t
#===================================#
# Source directories
SRC_SBIN=@srcdir@/sbin
SRC_ETC=@srcdir@/etc
SRC_LIBEXEC=@srcdir@/libexec
SRC_LIB=@srcdir@/lib
SRC_SHARE=@srcdir@/share
# Installation directories
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
etcdir=@sysconfdir@
sharedir=@datarootdir@
INSTALL=@INSTALL@
INSTALL_OPTS=@INSTALL_OPTS@
# Programs
CP=@CP@
GREP=@GREP@
@SET_MAKE@
#Http server
httpd_conf=@httpd_conf@
apache_user=@apache_user@
apache_authname=@apache_authname@
apache_authfile=@apache_authfile@
#Sudo specific
sudoers=@sudoers@
#Software configuration
nagios_base=@nagios_base@
nagios_libexec=@nagios_libexec@
cachedir=@cachedir@
statedir=@statedir@
htmldir=@htmldir@
htmlurl=@htmlurl@
cgidir=@cgidir@
cgiurl=@cgiurl@
# Usages
none:
@echo "Please supply a command line argument (i.e. 'make all'). Available targets are:"
@echo " clean distclean"
@echo " install install-apache-config install-sudo-config fullinstall"
@echo ""
@echo "Usages:"
@echo ""
@echo " make install"
@echo " - This installs the plugin, cgi files, and html resources"
@echo ""
@echo " make install-apache-config"
@echo " - This installs the apache config file for interfacetable_v3t"
@echo ""
@echo " make install-sudo-config"
@echo " - This installs the sudo config for interfacetable_v3t"
@echo ""
@echo " make fullinstall"
@echo " - This installs the plugin, cgi files, html resources, and the apache config file for interfacetable_v3t"
@echo ""
clean:
cd $(SRC_SBIN) && $(MAKE) $@
cd $(SRC_ETC) && $(MAKE) $@
cd $(SRC_LIBEXEC) && $(MAKE) $@
cd $(SRC_LIB) && $(MAKE) $@
cd $(SRC_SHARE) && $(MAKE) $@
-rm -f *.cfg core
-rm -f *~ *.*~ */*~ */*.*~
-rm -f config.log config.status config.cache subst
distclean: clean
cd $(SRC_SBIN) && $(MAKE) $@
cd $(SRC_ETC) && $(MAKE) $@
cd $(SRC_LIBEXEC) && $(MAKE) $@
cd $(SRC_LIB) && $(MAKE) $@
cd $(SRC_SHARE) && $(MAKE) $@
-rm -f Makefile
install:
cd $(SRC_SBIN) && $(MAKE) $@
cd $(SRC_ETC) && $(MAKE) $@
cd $(SRC_LIBEXEC) && $(MAKE) $@
cd $(SRC_LIB) && $(MAKE) $@
cd $(SRC_SHARE) && $(MAKE) $@
install-apache-config:
cd $(SRC_ETC) && $(MAKE) $@
install-sudo-config:
cd $(SRC_ETC) && $(MAKE) $@
fullinstall: install install-apache-config install-sudo-config