aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-14 05:27:15 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-14 05:27:15 +0000
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 6747fa36..d83c248b 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -36,10 +36,10 @@ AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@
##############################################################################
# the actual targets
-check_ftp_SOURCES = check_tcp.c
-check_imap_SOURCES = check_tcp.c
-check_nntp_SOURCES = check_tcp.c
-check_pop_SOURCES = check_tcp.c
+#check_ftp_SOURCES = check_tcp.c
+#check_imap_SOURCES = check_tcp.c
+#check_nntp_SOURCES = check_tcp.c
+#check_pop_SOURCES = check_tcp.c
check_dig_LDADD = $(BASEOBJS) popen.o
check_disk_LDADD = $(BASEOBJS) popen.o
@@ -75,10 +75,11 @@ check_vsz_LDADD = $(BASEOBJS) popen.o
check_by_ssh_LDADD = $(BASEOBJS) popen.o
negate_LDADD = $(BASEOBJS) popen.o
urlize_LDADD = $(BASEOBJS) popen.o
-check_ftp_LDADD = $(NETLIBS) $(SSLLIBS)
-check_imap_LDADD = $(NETLIBS) $(SSLLIBS)
-check_nntp_LDADD = $(NETLIBS) $(SSLLIBS)
-check_pop_LDADD = $(NETLIBS) $(SSLLIBS)
+
+#check_ftp_LDADD = $(NETLIBS) $(SSLLIBS)
+#check_imap_LDADD = $(NETLIBS) $(SSLLIBS)
+#check_nntp_LDADD = $(NETLIBS) $(SSLLIBS)
+#check_pop_LDADD = $(NETLIBS) $(SSLLIBS)
check_dig_DEPENDENCIES = check_dig.c $(BASEOBJS) popen.o $(DEPLIBS)
check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS)
@@ -114,10 +115,11 @@ check_vsz_DEPENDENCIES = check_vsz.c $(BASEOBJS) popen.o $(DEPLIBS)
check_by_ssh_DEPENDENCIES = check_by_ssh.c $(BASEOBJS) popen.o $(DEPLIBS)
negate_DEPENDENCIES = negate.c $(BASEOBJS) popen.o $(DEPLIBS)
urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS)
-check_ftp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
-check_imap_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
-check_nntp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
-check_pop_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
+
+#check_ftp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
+#check_imap_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
+#check_nntp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
+#check_pop_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS)
##############################################################################
# secondary dependencies
@@ -135,7 +137,7 @@ getopt1.o: getopt1.c getopt.h
$(COMPILE) -c $(srcdir)/getopt1.c -o $@
snprintf.o: snprintf.c
- $(COMPILE) @NEED_VA_LIST@ -c $? -o $@
+ $(COMPILE) @NEED_VA_LIST@ -c $(srcdir)/getopt1.c -o $@
libgetopt.a: getopt.o getopt1.o
$(AR) -r $@ getopt.o getopt1.o
@@ -143,5 +145,5 @@ libgetopt.a: getopt.o getopt1.o
libsnprintf.a: snprintf.o
$(AR) -r $@ snprintf.o
-check_ftp check_imap check_nntp check_pop:
+check_ftp check_imap check_nntp check_pop: check_tcp
ln -sf check_tcp $@