diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-23 11:59:43 +0000 |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-23 11:59:43 +0000 |
commit | 4c77862ce3dacfad980977490d4dec76fdbdf3d8 (patch) | |
tree | f7656bf1a65c9ff9e434cdbf4cfee6fc5e073b58 /plugins/Makefile.am | |
parent | cf66a717e9e8f55315d50b3b33a70b8a6f140981 (diff) | |
download | monitoring-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.am | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index beefb32f..92227712 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 \ check_nagios check_by_ssh check_dns check_nt check_ide_smart \ check_procs -EXTRA_DIST = t utils.c netutils.c popen.c utils.h netutils.h popen.h common.h \ - getaddrinfo.c getaddrinfo.h gethostbyname.c gethostbyname.h +EXTRA_DIST = t utils.c netutils.c sslutils.c popen.c utils.h netutils.h \ + popen.h common.h getaddrinfo.c getaddrinfo.h \ + gethostbyname.c gethostbyname.h PLUGINHDRS = common.h BASEOBJS = utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a NETOBJS = netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) +SSLOBJS = sslutils.o NETLIBS = $(NETOBJS) $(SOCKETLIBS) TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir) @@ -51,7 +53,7 @@ check_dns_LDADD = $(NETLIBS) popen.o check_dummy_LDADD = $(BASEOBJS) check_fping_LDADD = $(NETLIBS) popen.o check_game_LDADD = $(BASEOBJS) popen.o -check_http_LDADD = $(NETLIBS) +check_http_LDADD = $(SSLOBJS) $(NETLIBS) check_hpjd_LDADD = $(NETLIBS) popen.o check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) check_load_LDADD = $(BASEOBJS) popen.o @@ -68,12 +70,12 @@ check_procs_LDADD = $(BASEOBJS) popen.o check_radius_LDADD = $(NETLIBS) $(RADIUSLIBS) check_real_LDADD = $(NETLIBS) check_snmp_LDADD = $(BASEOBJS) popen.o -check_smtp_LDADD = $(NETLIBS) +check_smtp_LDADD = $(SSLOBJS) $(NETLIBS) check_ssh_LDADD = $(NETLIBS) check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) popen.o -check_tcp_LDADD = $(NETLIBS) +check_tcp_LDADD = $(SSLOBJS) $(NETLIBS) check_time_LDADD = $(NETLIBS) -check_udp_LDADD = $(NETLIBS) +check_udp_LDADD = $(SSLOBJS) $(NETLIBS) check_ups_LDADD = $(NETLIBS) check_users_LDADD = $(BASEOBJS) popen.o check_by_ssh_LDADD = $(NETLIBS) popen.o @@ -87,7 +89,7 @@ check_dns_DEPENDENCIES = check_dns.c $(NETOBJS) popen.o $(DEPLIBS) check_dummy_DEPENDENCIES = check_dummy.c $(DEPLIBS) check_fping_DEPENDENCIES = check_fping.c $(NETOBJS) popen.o $(DEPLIBS) check_game_DEPENDENCIES = check_game.c $(DEPLIBS) -check_http_DEPENDENCIES = check_http.c $(NETOBJS) $(DEPLIBS) +check_http_DEPENDENCIES = check_http.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) check_hpjd_DEPENDENCIES = check_hpjd.c $(NETOBJS) popen.o $(DEPLIBS) check_ide_smart_DEPENDENCIES = check_ide_smart.c $(BASEOBJS) $(DEPLIBS) check_ldap_DEPENDENCIES = check_ldap.c $(NETOBJS) $(DEPLIBS) @@ -105,12 +107,12 @@ check_procs_DEPENDENCIES = check_procs.c $(BASEOBJS) popen.o $(DEPLIBS) check_radius_DEPENDENCIES = check_radius.c $(NETOBJS) $(DEPLIBS) check_real_DEPENDENCIES = check_real.c $(NETOBJS) $(DEPLIBS) check_snmp_DEPENDENCIES = check_snmp.c $(BASEOBJS) popen.o $(DEPLIBS) -check_smtp_DEPENDENCIES = check_smtp.c $(NETOBJS) $(DEPLIBS) +check_smtp_DEPENDENCIES = check_smtp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) check_ssh_DEPENDENCIES = check_ssh.c $(NETOBJS) $(DEPLIBS) check_swap_DEPENDENCIES = check_swap.c $(BASEOBJS) popen.o $(DEPLIBS) -check_tcp_DEPENDENCIES = check_tcp.c $(NETOBJS) $(DEPLIBS) +check_tcp_DEPENDENCIES = check_tcp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) check_time_DEPENDENCIES = check_time.c $(NETOBJS) $(DEPLIBS) -check_udp_DEPENDENCIES = check_udp.c $(NETOBJS) $(DEPLIBS) +check_udp_DEPENDENCIES = check_udp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS) check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS) check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) popen.o $(DEPLIBS) @@ -125,6 +127,7 @@ popen.o: popen.c popen.h $(PLUGINHDRS) utils.o: utils.c utils.h $(PLUGINHDRS) netutils.o: netutils.c netutils.h $(PLUGINHDRS) +sslutils.o: sslutils.c netutils.h $(PLUGINHDRS) getaddrinfo.o: getaddrinfo.h $(PLUGINHDRS) |