summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb6811f)
raw | patch | inline | side by side (parent: fb6811f)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 10 Feb 2003 23:27:31 +0000 (23:27 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 10 Feb 2003 23:27:31 +0000 (23:27 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@310 f882894a-f735-0410-b71e-b25c423dba1c
plugins/Makefile.am | patch | blob | history |
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index d21a20d08e5050c054724e18316119a6dfbf6012..664ac5226cb25f060a7b18c51d0fb50ea131230a 100644 (file)
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
## Process this file with automake to produce Makefile.in
-VPATH = $(top_srcdir) $(top_srcdir)/plugins $(top_srcdir)/plugins/t
+VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t
-INCLUDES = @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@
+INCLUDES = -I.. -I$(top_srcdir)/lib @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@
libexec_PROGRAMS = check_disk check_dummy check_http check_load \
check_mrtg check_mrtgtraf check_nwstat check_overcr check_ping \
check_tcp_programs = check_ftp check_imap check_nntp check_pop
-EXTRA_DIST = t utils.c netutils.c popen.c getopt.h getopt.c getopt1.c \
+EXTRA_DIST = t utils.c netutils.c popen.c \
snprintf.c getloadavg.c
PLUGINHDRS = common.h config.h
-BASEOBJS = utils.o
+BASEOBJS = utils.o ../lib/libnagiosplug.a
NETOBJS = netutils.o $(BASEOBJS)
NETLIBS = $(NETOBJS) $(SOCKETLIBS)
netutils.o: netutils.c netutils.h $(PLUGINHDRS)
-getopt.o: getopt.c getopt.h
- $(COMPILE) -c $(srcdir)/getopt.c -o $@
-
-getopt1.o: getopt1.c getopt.h
- $(COMPILE) -c $(srcdir)/getopt1.c -o $@
-
snprintf.o: snprintf.c
$(COMPILE) @NEED_VA_LIST@ -c $(srcdir)/snprintf.c -o $@
-libgetopt.a: getopt.o getopt1.o
- $(AR) -r $@ getopt.o getopt1.o
- $(RANLIB) $@
-
libsnprintf.a: snprintf.o
$(AR) -r $@ snprintf.o