summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-14 05:27:15 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-14 05:27:15 (GMT)
commit93d4e3677ef9d15ca7c3bb8b321fcc153cfcd80c (patch)
treec82eb319b6861401c274f4d2230c410ca8ef63ee /plugins
parent00db49d7fabc041f53ad8b195a22a2de4b09a5da (diff)
downloadmonitoring-plugins-93d4e3677ef9d15ca7c3bb8b321fcc153cfcd80c.tar.gz
fix build rule for snprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@197 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.am30
1 files changed, 16 insertions, 14 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 6747fa3..d83c248 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -36,10 +36,10 @@ AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@
36############################################################################## 36##############################################################################
37# the actual targets 37# the actual targets
38 38
39check_ftp_SOURCES = check_tcp.c 39#check_ftp_SOURCES = check_tcp.c
40check_imap_SOURCES = check_tcp.c 40#check_imap_SOURCES = check_tcp.c
41check_nntp_SOURCES = check_tcp.c 41#check_nntp_SOURCES = check_tcp.c
42check_pop_SOURCES = check_tcp.c 42#check_pop_SOURCES = check_tcp.c
43 43
44check_dig_LDADD = $(BASEOBJS) popen.o 44check_dig_LDADD = $(BASEOBJS) popen.o
45check_disk_LDADD = $(BASEOBJS) popen.o 45check_disk_LDADD = $(BASEOBJS) popen.o
@@ -75,10 +75,11 @@ check_vsz_LDADD = $(BASEOBJS) popen.o
75check_by_ssh_LDADD = $(BASEOBJS) popen.o 75check_by_ssh_LDADD = $(BASEOBJS) popen.o
76negate_LDADD = $(BASEOBJS) popen.o 76negate_LDADD = $(BASEOBJS) popen.o
77urlize_LDADD = $(BASEOBJS) popen.o 77urlize_LDADD = $(BASEOBJS) popen.o
78check_ftp_LDADD = $(NETLIBS) $(SSLLIBS) 78
79check_imap_LDADD = $(NETLIBS) $(SSLLIBS) 79#check_ftp_LDADD = $(NETLIBS) $(SSLLIBS)
80check_nntp_LDADD = $(NETLIBS) $(SSLLIBS) 80#check_imap_LDADD = $(NETLIBS) $(SSLLIBS)
81check_pop_LDADD = $(NETLIBS) $(SSLLIBS) 81#check_nntp_LDADD = $(NETLIBS) $(SSLLIBS)
82#check_pop_LDADD = $(NETLIBS) $(SSLLIBS)
82 83
83check_dig_DEPENDENCIES = check_dig.c $(BASEOBJS) popen.o $(DEPLIBS) 84check_dig_DEPENDENCIES = check_dig.c $(BASEOBJS) popen.o $(DEPLIBS)
84check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS) 85check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS)
@@ -114,10 +115,11 @@ check_vsz_DEPENDENCIES = check_vsz.c $(BASEOBJS) popen.o $(DEPLIBS)
114check_by_ssh_DEPENDENCIES = check_by_ssh.c $(BASEOBJS) popen.o $(DEPLIBS) 115check_by_ssh_DEPENDENCIES = check_by_ssh.c $(BASEOBJS) popen.o $(DEPLIBS)
115negate_DEPENDENCIES = negate.c $(BASEOBJS) popen.o $(DEPLIBS) 116negate_DEPENDENCIES = negate.c $(BASEOBJS) popen.o $(DEPLIBS)
116urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS) 117urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS)
117check_ftp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) 118
118check_imap_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) 119#check_ftp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
119check_nntp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) 120#check_imap_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
120check_pop_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) 121#check_nntp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
122#check_pop_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
121 123
122############################################################################## 124##############################################################################
123# secondary dependencies 125# secondary dependencies
@@ -135,7 +137,7 @@ getopt1.o: getopt1.c getopt.h
135 $(COMPILE) -c $(srcdir)/getopt1.c -o $@ 137 $(COMPILE) -c $(srcdir)/getopt1.c -o $@
136 138
137snprintf.o: snprintf.c 139snprintf.o: snprintf.c
138 $(COMPILE) @NEED_VA_LIST@ -c $? -o $@ 140 $(COMPILE) @NEED_VA_LIST@ -c $(srcdir)/getopt1.c -o $@
139 141
140libgetopt.a: getopt.o getopt1.o 142libgetopt.a: getopt.o getopt1.o
141 $(AR) -r $@ getopt.o getopt1.o 143 $(AR) -r $@ getopt.o getopt1.o
@@ -143,5 +145,5 @@ libgetopt.a: getopt.o getopt1.o
143libsnprintf.a: snprintf.o 145libsnprintf.a: snprintf.o
144 $(AR) -r $@ snprintf.o 146 $(AR) -r $@ snprintf.o
145 147
146check_ftp check_imap check_nntp check_pop: 148check_ftp check_imap check_nntp check_pop: check_tcp
147 ln -sf check_tcp $@ 149 ln -sf check_tcp $@