diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-08 01:59:31 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-03-08 01:59:31 +0000 |
commit | 8b6d3138337997b266720518c7b0dfd42462f482 (patch) | |
tree | 0701345fe1296e53a23693115d4461d8fae8972b | |
parent | 1f96af37e3c4396e10d39239928c689ea5d0a9a1 (diff) | |
download | monitoring-plugins-8b6d3138337997b266720518c7b0dfd42462f482.tar.gz |
Move snprintf into lib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@382 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | lib/Makefile.am | 2 | ||||
-rw-r--r-- | lib/snprintf.c (renamed from plugins/snprintf.c) | 0 | ||||
-rw-r--r-- | plugins/Makefile.am | 9 |
3 files changed, 2 insertions, 9 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 7826a286..846eeae9 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -4,7 +4,7 @@ noinst_LIBRARIES = libnagiosplug.a noinst_HEADERS = getopt.h getaddrinfo.h gethostbyname.h -libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c +libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c snprintf.c INCLUDES = -I$(srcdir) diff --git a/plugins/snprintf.c b/lib/snprintf.c index 3de2a96f..3de2a96f 100644 --- a/plugins/snprintf.c +++ b/lib/snprintf.c diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 851745a7..bd5b5500 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -16,8 +16,7 @@ EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \ check_tcp_programs = check_ftp check_imap check_nntp check_pop -EXTRA_DIST = t utils.c netutils.c popen.c \ - snprintf.c +EXTRA_DIST = t utils.c netutils.c popen.c PLUGINHDRS = common.h config.h @@ -118,12 +117,6 @@ utils.o: utils.c utils.h $(PLUGINHDRS) netutils.o: netutils.c netutils.h $(PLUGINHDRS) -snprintf.o: snprintf.c - $(COMPILE) @NEED_VA_LIST@ -c $(srcdir)/snprintf.c -o $@ - -libsnprintf.a: snprintf.o - $(AR) -r $@ snprintf.o - all-local: $(check_tcp_programs) $(check_tcp_programs): check_tcp |