summaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-10-23 11:59:43 (GMT)
committerM. Sean Finney <seanius@users.sourceforge.net>2005-10-23 11:59:43 (GMT)
commit4c77862ce3dacfad980977490d4dec76fdbdf3d8 (patch)
treef7656bf1a65c9ff9e434cdbf4cfee6fc5e073b58 /plugins/Makefile.am
parentcf66a717e9e8f55315d50b3b33a70b8a6f140981 (diff)
downloadmonitoring-plugins-4c77862ce3dacfad980977490d4dec76fdbdf3d8.tar.gz
- compartmentalized ssl code into seperate sslutils.c
- ssl-related cleanups in configure.in, and now openssl/gnutls options automatically disable each other. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1258 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am23
1 files changed, 13 insertions, 10 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index beefb32..9222771 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -24,13 +24,15 @@ EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \
24 check_nagios check_by_ssh check_dns check_nt check_ide_smart \ 24 check_nagios check_by_ssh check_dns check_nt check_ide_smart \
25 check_procs 25 check_procs
26 26
27EXTRA_DIST = t utils.c netutils.c popen.c utils.h netutils.h popen.h common.h \ 27EXTRA_DIST = t utils.c netutils.c sslutils.c popen.c utils.h netutils.h \
28 getaddrinfo.c getaddrinfo.h gethostbyname.c gethostbyname.h 28 popen.h common.h getaddrinfo.c getaddrinfo.h \
29 gethostbyname.c gethostbyname.h
29 30
30PLUGINHDRS = common.h 31PLUGINHDRS = common.h
31 32
32BASEOBJS = utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a 33BASEOBJS = utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a
33NETOBJS = netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) 34NETOBJS = netutils.o $(BASEOBJS) $(EXTRA_NETOBJS)
35SSLOBJS = sslutils.o
34NETLIBS = $(NETOBJS) $(SOCKETLIBS) 36NETLIBS = $(NETOBJS) $(SOCKETLIBS)
35 37
36TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir) 38TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir)
@@ -51,7 +53,7 @@ check_dns_LDADD = $(NETLIBS) popen.o
51check_dummy_LDADD = $(BASEOBJS) 53check_dummy_LDADD = $(BASEOBJS)
52check_fping_LDADD = $(NETLIBS) popen.o 54check_fping_LDADD = $(NETLIBS) popen.o
53check_game_LDADD = $(BASEOBJS) popen.o 55check_game_LDADD = $(BASEOBJS) popen.o
54check_http_LDADD = $(NETLIBS) 56check_http_LDADD = $(SSLOBJS) $(NETLIBS)
55check_hpjd_LDADD = $(NETLIBS) popen.o 57check_hpjd_LDADD = $(NETLIBS) popen.o
56check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) 58check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS)
57check_load_LDADD = $(BASEOBJS) popen.o 59check_load_LDADD = $(BASEOBJS) popen.o
@@ -68,12 +70,12 @@ check_procs_LDADD = $(BASEOBJS) popen.o
68check_radius_LDADD = $(NETLIBS) $(RADIUSLIBS) 70check_radius_LDADD = $(NETLIBS) $(RADIUSLIBS)
69check_real_LDADD = $(NETLIBS) 71check_real_LDADD = $(NETLIBS)
70check_snmp_LDADD = $(BASEOBJS) popen.o 72check_snmp_LDADD = $(BASEOBJS) popen.o
71check_smtp_LDADD = $(NETLIBS) 73check_smtp_LDADD = $(SSLOBJS) $(NETLIBS)
72check_ssh_LDADD = $(NETLIBS) 74check_ssh_LDADD = $(NETLIBS)
73check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) popen.o 75check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) popen.o
74check_tcp_LDADD = $(NETLIBS) 76check_tcp_LDADD = $(SSLOBJS) $(NETLIBS)
75check_time_LDADD = $(NETLIBS) 77check_time_LDADD = $(NETLIBS)
76check_udp_LDADD = $(NETLIBS) 78check_udp_LDADD = $(SSLOBJS) $(NETLIBS)
77check_ups_LDADD = $(NETLIBS) 79check_ups_LDADD = $(NETLIBS)
78check_users_LDADD = $(BASEOBJS) popen.o 80check_users_LDADD = $(BASEOBJS) popen.o
79check_by_ssh_LDADD = $(NETLIBS) popen.o 81check_by_ssh_LDADD = $(NETLIBS) popen.o
@@ -87,7 +89,7 @@ check_dns_DEPENDENCIES = check_dns.c $(NETOBJS) popen.o $(DEPLIBS)
87check_dummy_DEPENDENCIES = check_dummy.c $(DEPLIBS) 89check_dummy_DEPENDENCIES = check_dummy.c $(DEPLIBS)
88check_fping_DEPENDENCIES = check_fping.c $(NETOBJS) popen.o $(DEPLIBS) 90check_fping_DEPENDENCIES = check_fping.c $(NETOBJS) popen.o $(DEPLIBS)
89check_game_DEPENDENCIES = check_game.c $(DEPLIBS) 91check_game_DEPENDENCIES = check_game.c $(DEPLIBS)
90check_http_DEPENDENCIES = check_http.c $(NETOBJS) $(DEPLIBS) 92check_http_DEPENDENCIES = check_http.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS)
91check_hpjd_DEPENDENCIES = check_hpjd.c $(NETOBJS) popen.o $(DEPLIBS) 93check_hpjd_DEPENDENCIES = check_hpjd.c $(NETOBJS) popen.o $(DEPLIBS)
92check_ide_smart_DEPENDENCIES = check_ide_smart.c $(BASEOBJS) $(DEPLIBS) 94check_ide_smart_DEPENDENCIES = check_ide_smart.c $(BASEOBJS) $(DEPLIBS)
93check_ldap_DEPENDENCIES = check_ldap.c $(NETOBJS) $(DEPLIBS) 95check_ldap_DEPENDENCIES = check_ldap.c $(NETOBJS) $(DEPLIBS)
@@ -105,12 +107,12 @@ check_procs_DEPENDENCIES = check_procs.c $(BASEOBJS) popen.o $(DEPLIBS)
105check_radius_DEPENDENCIES = check_radius.c $(NETOBJS) $(DEPLIBS) 107check_radius_DEPENDENCIES = check_radius.c $(NETOBJS) $(DEPLIBS)
106check_real_DEPENDENCIES = check_real.c $(NETOBJS) $(DEPLIBS) 108check_real_DEPENDENCIES = check_real.c $(NETOBJS) $(DEPLIBS)
107check_snmp_DEPENDENCIES = check_snmp.c $(BASEOBJS) popen.o $(DEPLIBS) 109check_snmp_DEPENDENCIES = check_snmp.c $(BASEOBJS) popen.o $(DEPLIBS)
108check_smtp_DEPENDENCIES = check_smtp.c $(NETOBJS) $(DEPLIBS) 110check_smtp_DEPENDENCIES = check_smtp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS)
109check_ssh_DEPENDENCIES = check_ssh.c $(NETOBJS) $(DEPLIBS) 111check_ssh_DEPENDENCIES = check_ssh.c $(NETOBJS) $(DEPLIBS)
110check_swap_DEPENDENCIES = check_swap.c $(BASEOBJS) popen.o $(DEPLIBS) 112check_swap_DEPENDENCIES = check_swap.c $(BASEOBJS) popen.o $(DEPLIBS)
111check_tcp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) 113check_tcp_DEPENDENCIES = check_tcp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS)
112check_time_DEPENDENCIES = check_time.c $(NETOBJS) $(DEPLIBS) 114check_time_DEPENDENCIES = check_time.c $(NETOBJS) $(DEPLIBS)
113check_udp_DEPENDENCIES = check_udp.c $(NETOBJS) $(DEPLIBS) 115check_udp_DEPENDENCIES = check_udp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS)
114check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS) 116check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS)
115check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS) 117check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS)
116check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) popen.o $(DEPLIBS) 118check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) popen.o $(DEPLIBS)
@@ -125,6 +127,7 @@ popen.o: popen.c popen.h $(PLUGINHDRS)
125utils.o: utils.c utils.h $(PLUGINHDRS) 127utils.o: utils.c utils.h $(PLUGINHDRS)
126 128
127netutils.o: netutils.c netutils.h $(PLUGINHDRS) 129netutils.o: netutils.c netutils.h $(PLUGINHDRS)
130sslutils.o: sslutils.c netutils.h $(PLUGINHDRS)
128 131
129getaddrinfo.o: getaddrinfo.h $(PLUGINHDRS) 132getaddrinfo.o: getaddrinfo.h $(PLUGINHDRS)
130 133