X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins-root%2FMakefile.am;h=b5f55197024cd0403962bbc0aaa5f2d29c737c41;hb=a179737771ece982e1840d480b10cb6ed1792619;hp=dcab4cc77f3e84a40ebcb03735f2b1ea9ca63948;hpb=399f0770b2773a5e4864c41efb92a5857e6e45c6;p=nagiosplug.git diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index dcab4cc..b5f5519 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in if RELEASE_PRESENT -NP_VERSION = $(PACKAGE_VERSION) +NP_VERSION = @NP_RELEASE@ else NP-VERSION-FILE: .FORCE-NP-VERSION-FILE @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN @@ -13,7 +13,7 @@ AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t $(srcdir) -INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins @SSLINCLUDE@ +AM_CPPFLAGS = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins @SSLINCLUDE@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @@ -79,9 +79,12 @@ install-exec-local: $(noinst_PROGRAMS) # the actual targets check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS) check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS) + # -m64 needed at compiler and linker phase pst3_CFLAGS = @PST3CFLAGS@ pst3_LDFLAGS = @PST3CFLAGS@ +# pst3 must not use nagiosplug/gnulib includes! +pst3_CPPFLAGS = check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) check_icmp_DEPENDENCIES = check_icmp.c $(NETOBJS)