diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 05:27:15 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 05:27:15 (GMT) |
commit | 93d4e3677ef9d15ca7c3bb8b321fcc153cfcd80c (patch) | |
tree | c82eb319b6861401c274f4d2230c410ca8ef63ee /plugins/Makefile.am | |
parent | 00db49d7fabc041f53ad8b195a22a2de4b09a5da (diff) | |
download | monitoring-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/Makefile.am')
-rw-r--r-- | plugins/Makefile.am | 30 |
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 | ||
39 | check_ftp_SOURCES = check_tcp.c | 39 | #check_ftp_SOURCES = check_tcp.c |
40 | check_imap_SOURCES = check_tcp.c | 40 | #check_imap_SOURCES = check_tcp.c |
41 | check_nntp_SOURCES = check_tcp.c | 41 | #check_nntp_SOURCES = check_tcp.c |
42 | check_pop_SOURCES = check_tcp.c | 42 | #check_pop_SOURCES = check_tcp.c |
43 | 43 | ||
44 | check_dig_LDADD = $(BASEOBJS) popen.o | 44 | check_dig_LDADD = $(BASEOBJS) popen.o |
45 | check_disk_LDADD = $(BASEOBJS) popen.o | 45 | check_disk_LDADD = $(BASEOBJS) popen.o |
@@ -75,10 +75,11 @@ check_vsz_LDADD = $(BASEOBJS) popen.o | |||
75 | check_by_ssh_LDADD = $(BASEOBJS) popen.o | 75 | check_by_ssh_LDADD = $(BASEOBJS) popen.o |
76 | negate_LDADD = $(BASEOBJS) popen.o | 76 | negate_LDADD = $(BASEOBJS) popen.o |
77 | urlize_LDADD = $(BASEOBJS) popen.o | 77 | urlize_LDADD = $(BASEOBJS) popen.o |
78 | check_ftp_LDADD = $(NETLIBS) $(SSLLIBS) | 78 | |
79 | check_imap_LDADD = $(NETLIBS) $(SSLLIBS) | 79 | #check_ftp_LDADD = $(NETLIBS) $(SSLLIBS) |
80 | check_nntp_LDADD = $(NETLIBS) $(SSLLIBS) | 80 | #check_imap_LDADD = $(NETLIBS) $(SSLLIBS) |
81 | check_pop_LDADD = $(NETLIBS) $(SSLLIBS) | 81 | #check_nntp_LDADD = $(NETLIBS) $(SSLLIBS) |
82 | #check_pop_LDADD = $(NETLIBS) $(SSLLIBS) | ||
82 | 83 | ||
83 | check_dig_DEPENDENCIES = check_dig.c $(BASEOBJS) popen.o $(DEPLIBS) | 84 | check_dig_DEPENDENCIES = check_dig.c $(BASEOBJS) popen.o $(DEPLIBS) |
84 | check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS) | 85 | check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS) |
@@ -114,10 +115,11 @@ check_vsz_DEPENDENCIES = check_vsz.c $(BASEOBJS) popen.o $(DEPLIBS) | |||
114 | check_by_ssh_DEPENDENCIES = check_by_ssh.c $(BASEOBJS) popen.o $(DEPLIBS) | 115 | check_by_ssh_DEPENDENCIES = check_by_ssh.c $(BASEOBJS) popen.o $(DEPLIBS) |
115 | negate_DEPENDENCIES = negate.c $(BASEOBJS) popen.o $(DEPLIBS) | 116 | negate_DEPENDENCIES = negate.c $(BASEOBJS) popen.o $(DEPLIBS) |
116 | urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS) | 117 | urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS) |
117 | check_ftp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) | 118 | |
118 | check_imap_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) | 119 | #check_ftp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) |
119 | check_nntp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) | 120 | #check_imap_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) |
120 | check_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 | ||
137 | snprintf.o: snprintf.c | 139 | snprintf.o: snprintf.c |
138 | $(COMPILE) @NEED_VA_LIST@ -c $? -o $@ | 140 | $(COMPILE) @NEED_VA_LIST@ -c $(srcdir)/getopt1.c -o $@ |
139 | 141 | ||
140 | libgetopt.a: getopt.o getopt1.o | 142 | libgetopt.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 | |||
143 | libsnprintf.a: snprintf.o | 145 | libsnprintf.a: snprintf.o |
144 | $(AR) -r $@ snprintf.o | 146 | $(AR) -r $@ snprintf.o |
145 | 147 | ||
146 | check_ftp check_imap check_nntp check_pop: | 148 | check_ftp check_imap check_nntp check_pop: check_tcp |
147 | ln -sf check_tcp $@ | 149 | ln -sf check_tcp $@ |