summaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 031dd251..0ddf9bd1 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -11,9 +11,10 @@ endif
11 11
12AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' 12AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'
13 13
14VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t 14VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t
15 15
16INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ 16AM_CPPFLAGS = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl \
17 @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@
17 18
18localedir = $(datadir)/locale 19localedir = $(datadir)/locale
19# gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this 20# gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this
@@ -48,7 +49,7 @@ noinst_LIBRARIES = libnpcommon.a
48libnpcommon_a_SOURCES = utils.c netutils.c sslutils.c runcmd.c \ 49libnpcommon_a_SOURCES = utils.c netutils.c sslutils.c runcmd.c \
49 popen.c utils.h netutils.h popen.h common.h runcmd.c runcmd.h 50 popen.c utils.h netutils.h popen.h common.h runcmd.c runcmd.h
50 51
51BASEOBJS = libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a 52BASEOBJS = libnpcommon.a ../lib/libmonitoringplug.a ../gl/libgnu.a
52NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS) 53NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS)
53NETLIBS = $(NETOBJS) $(SOCKETLIBS) 54NETLIBS = $(NETOBJS) $(SOCKETLIBS)
54SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS) 55SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS)
@@ -81,11 +82,11 @@ check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS)
81check_load_LDADD = $(BASEOBJS) 82check_load_LDADD = $(BASEOBJS)
82check_mrtg_LDADD = $(BASEOBJS) 83check_mrtg_LDADD = $(BASEOBJS)
83check_mrtgtraf_LDADD = $(BASEOBJS) 84check_mrtgtraf_LDADD = $(BASEOBJS)
84check_mysql_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' 85check_mysql_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS)
85check_mysql_CPPFLAGS = $(MYSQLINCLUDE) 86check_mysql_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE)
86check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) 87check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS)
87check_mysql_query_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' 88check_mysql_query_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS)
88check_mysql_query_CPPFLAGS = $(MYSQLINCLUDE) 89check_mysql_query_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE)
89check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS) 90check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS)
90check_nagios_LDADD = $(BASEOBJS) 91check_nagios_LDADD = $(BASEOBJS)
91check_nt_LDADD = $(NETLIBS) 92check_nt_LDADD = $(NETLIBS)
@@ -106,7 +107,7 @@ check_tcp_LDADD = $(SSLOBJS)
106check_time_LDADD = $(NETLIBS) 107check_time_LDADD = $(NETLIBS)
107check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS) 108check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS)
108check_ups_LDADD = $(NETLIBS) 109check_ups_LDADD = $(NETLIBS)
109check_users_LDADD = $(BASEOBJS) 110check_users_LDADD = $(BASEOBJS) $(WTSAPI32LIBS)
110check_by_ssh_LDADD = $(NETLIBS) 111check_by_ssh_LDADD = $(NETLIBS)
111check_ide_smart_LDADD = $(BASEOBJS) 112check_ide_smart_LDADD = $(BASEOBJS)
112negate_LDADD = $(BASEOBJS) 113negate_LDADD = $(BASEOBJS)
@@ -129,11 +130,10 @@ install-exec-hook:
129 cd $(DESTDIR)$(libexecdir) && \ 130 cd $(DESTDIR)$(libexecdir) && \
130 for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done ;\ 131 for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done ;\
131 if [ -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi 132 if [ -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi
132 133
133clean-local: 134clean-local:
134 rm -f $(check_tcp_programs) 135 rm -f $(check_tcp_programs)
135 rm -f NP-VERSION-FILE 136 rm -f NP-VERSION-FILE
136 137
137uninstall-local: 138uninstall-local:
138 cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs) 139 cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs)
139