diff options
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r-- | plugins/Makefile.am | 20 |
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 | ||
12 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' | 12 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' |
13 | 13 | ||
14 | VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t | 14 | VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t |
15 | 15 | ||
16 | INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ | 16 | AM_CPPFLAGS = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl \ |
17 | @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ | ||
17 | 18 | ||
18 | localedir = $(datadir)/locale | 19 | localedir = $(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 | |||
48 | libnpcommon_a_SOURCES = utils.c netutils.c sslutils.c runcmd.c \ | 49 | libnpcommon_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 | ||
51 | BASEOBJS = libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a | 52 | BASEOBJS = libnpcommon.a ../lib/libmonitoringplug.a ../gl/libgnu.a |
52 | NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS) | 53 | NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS) |
53 | NETLIBS = $(NETOBJS) $(SOCKETLIBS) | 54 | NETLIBS = $(NETOBJS) $(SOCKETLIBS) |
54 | SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS) | 55 | SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS) |
@@ -81,11 +82,11 @@ check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) | |||
81 | check_load_LDADD = $(BASEOBJS) | 82 | check_load_LDADD = $(BASEOBJS) |
82 | check_mrtg_LDADD = $(BASEOBJS) | 83 | check_mrtg_LDADD = $(BASEOBJS) |
83 | check_mrtgtraf_LDADD = $(BASEOBJS) | 84 | check_mrtgtraf_LDADD = $(BASEOBJS) |
84 | check_mysql_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' | 85 | check_mysql_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS) |
85 | check_mysql_CPPFLAGS = $(MYSQLINCLUDE) | 86 | check_mysql_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE) |
86 | check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) | 87 | check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) |
87 | check_mysql_query_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' | 88 | check_mysql_query_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS) |
88 | check_mysql_query_CPPFLAGS = $(MYSQLINCLUDE) | 89 | check_mysql_query_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE) |
89 | check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS) | 90 | check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS) |
90 | check_nagios_LDADD = $(BASEOBJS) | 91 | check_nagios_LDADD = $(BASEOBJS) |
91 | check_nt_LDADD = $(NETLIBS) | 92 | check_nt_LDADD = $(NETLIBS) |
@@ -106,7 +107,7 @@ check_tcp_LDADD = $(SSLOBJS) | |||
106 | check_time_LDADD = $(NETLIBS) | 107 | check_time_LDADD = $(NETLIBS) |
107 | check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS) | 108 | check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS) |
108 | check_ups_LDADD = $(NETLIBS) | 109 | check_ups_LDADD = $(NETLIBS) |
109 | check_users_LDADD = $(BASEOBJS) | 110 | check_users_LDADD = $(BASEOBJS) $(WTSAPI32LIBS) |
110 | check_by_ssh_LDADD = $(NETLIBS) | 111 | check_by_ssh_LDADD = $(NETLIBS) |
111 | check_ide_smart_LDADD = $(BASEOBJS) | 112 | check_ide_smart_LDADD = $(BASEOBJS) |
112 | negate_LDADD = $(BASEOBJS) | 113 | negate_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 | ||
133 | clean-local: | 134 | clean-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 | ||
137 | uninstall-local: | 138 | uninstall-local: |
138 | cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs) | 139 | cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs) |
139 | |||