diff options
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r-- | plugins/Makefile.am | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 9222771..569199d 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -26,7 +26,7 @@ EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \ | |||
26 | 26 | ||
27 | EXTRA_DIST = t utils.c netutils.c sslutils.c popen.c utils.h netutils.h \ | 27 | EXTRA_DIST = t utils.c netutils.c sslutils.c popen.c utils.h netutils.h \ |
28 | popen.h common.h getaddrinfo.c getaddrinfo.h \ | 28 | popen.h common.h getaddrinfo.c getaddrinfo.h \ |
29 | gethostbyname.c gethostbyname.h | 29 | gethostbyname.c gethostbyname.h runcmd.c runcmd.h |
30 | 30 | ||
31 | PLUGINHDRS = common.h | 31 | PLUGINHDRS = common.h |
32 | 32 | ||
@@ -47,12 +47,12 @@ AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@ | |||
47 | ############################################################################## | 47 | ############################################################################## |
48 | # the actual targets | 48 | # the actual targets |
49 | 49 | ||
50 | check_dig_LDADD = $(NETLIBS) popen.o | 50 | check_dig_LDADD = $(NETLIBS) runcmd.o |
51 | check_disk_LDADD = $(BASEOBJS) popen.o | 51 | check_disk_LDADD = $(BASEOBJS) popen.o |
52 | check_dns_LDADD = $(NETLIBS) popen.o | 52 | check_dns_LDADD = $(NETLIBS) runcmd.o |
53 | check_dummy_LDADD = $(BASEOBJS) | 53 | check_dummy_LDADD = $(BASEOBJS) |
54 | check_fping_LDADD = $(NETLIBS) popen.o | 54 | check_fping_LDADD = $(NETLIBS) popen.o |
55 | check_game_LDADD = $(BASEOBJS) popen.o | 55 | check_game_LDADD = $(BASEOBJS) runcmd.o |
56 | check_http_LDADD = $(SSLOBJS) $(NETLIBS) | 56 | check_http_LDADD = $(SSLOBJS) $(NETLIBS) |
57 | check_hpjd_LDADD = $(NETLIBS) popen.o | 57 | check_hpjd_LDADD = $(NETLIBS) popen.o |
58 | check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) | 58 | check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) |
@@ -60,7 +60,7 @@ check_load_LDADD = $(BASEOBJS) popen.o | |||
60 | check_mrtg_LDADD = $(BASEOBJS) | 60 | check_mrtg_LDADD = $(BASEOBJS) |
61 | check_mrtgtraf_LDADD = $(BASEOBJS) | 61 | check_mrtgtraf_LDADD = $(BASEOBJS) |
62 | check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) | 62 | check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) |
63 | check_nagios_LDADD = $(BASEOBJS) popen.o | 63 | check_nagios_LDADD = $(BASEOBJS) runcmd.o |
64 | check_nt_LDADD = $(NETLIBS) | 64 | check_nt_LDADD = $(NETLIBS) |
65 | check_nwstat_LDADD = $(NETLIBS) | 65 | check_nwstat_LDADD = $(NETLIBS) |
66 | check_overcr_LDADD = $(NETLIBS) | 66 | check_overcr_LDADD = $(NETLIBS) |
@@ -78,17 +78,17 @@ check_time_LDADD = $(NETLIBS) | |||
78 | check_udp_LDADD = $(SSLOBJS) $(NETLIBS) | 78 | check_udp_LDADD = $(SSLOBJS) $(NETLIBS) |
79 | check_ups_LDADD = $(NETLIBS) | 79 | check_ups_LDADD = $(NETLIBS) |
80 | check_users_LDADD = $(BASEOBJS) popen.o | 80 | check_users_LDADD = $(BASEOBJS) popen.o |
81 | check_by_ssh_LDADD = $(NETLIBS) popen.o | 81 | check_by_ssh_LDADD = $(NETLIBS) runcmd.o |
82 | check_ide_smart_LDADD = $(BASEOBJS) | 82 | check_ide_smart_LDADD = $(BASEOBJS) |
83 | negate_LDADD = $(BASEOBJS) popen.o | 83 | negate_LDADD = $(BASEOBJS) popen.o |
84 | urlize_LDADD = $(BASEOBJS) popen.o | 84 | urlize_LDADD = $(BASEOBJS) popen.o |
85 | 85 | ||
86 | check_dig_DEPENDENCIES = check_dig.c $(NETOBJS) popen.o $(DEPLIBS) | 86 | check_dig_DEPENDENCIES = check_dig.c $(NETOBJS) runcmd.o $(DEPLIBS) |
87 | check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS) | 87 | check_disk_DEPENDENCIES = check_disk.c $(BASEOBJS) popen.o $(DEPLIBS) |
88 | check_dns_DEPENDENCIES = check_dns.c $(NETOBJS) popen.o $(DEPLIBS) | 88 | check_dns_DEPENDENCIES = check_dns.c $(NETOBJS) runcmd.o $(DEPLIBS) |
89 | check_dummy_DEPENDENCIES = check_dummy.c $(DEPLIBS) | 89 | check_dummy_DEPENDENCIES = check_dummy.c $(DEPLIBS) |
90 | check_fping_DEPENDENCIES = check_fping.c $(NETOBJS) popen.o $(DEPLIBS) | 90 | check_fping_DEPENDENCIES = check_fping.c $(NETOBJS) popen.o $(DEPLIBS) |
91 | check_game_DEPENDENCIES = check_game.c $(DEPLIBS) | 91 | check_game_DEPENDENCIES = check_game.c $(DEPLIBS) runcmd.o |
92 | check_http_DEPENDENCIES = check_http.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) | 92 | check_http_DEPENDENCIES = check_http.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) |
93 | check_hpjd_DEPENDENCIES = check_hpjd.c $(NETOBJS) popen.o $(DEPLIBS) | 93 | check_hpjd_DEPENDENCIES = check_hpjd.c $(NETOBJS) popen.o $(DEPLIBS) |
94 | check_ide_smart_DEPENDENCIES = check_ide_smart.c $(BASEOBJS) $(DEPLIBS) | 94 | check_ide_smart_DEPENDENCIES = check_ide_smart.c $(BASEOBJS) $(DEPLIBS) |
@@ -97,7 +97,7 @@ check_load_DEPENDENCIES = check_load.c $(BASEOBJS) popen.o $(DEPLIBS) | |||
97 | check_mrtg_DEPENDENCIES = check_mrtg.c $(DEPLIBS) | 97 | check_mrtg_DEPENDENCIES = check_mrtg.c $(DEPLIBS) |
98 | check_mrtgtraf_DEPENDENCIES = check_mrtgtraf.c $(DEPLIBS) | 98 | check_mrtgtraf_DEPENDENCIES = check_mrtgtraf.c $(DEPLIBS) |
99 | check_mysql_DEPENDENCIES = check_mysql.c $(NETOBJS) $(DEPLIBS) | 99 | check_mysql_DEPENDENCIES = check_mysql.c $(NETOBJS) $(DEPLIBS) |
100 | check_nagios_DEPENDENCIES = check_nagios.c $(BASEOBJS) popen.o $(DEPLIBS) | 100 | check_nagios_DEPENDENCIES = check_nagios.c $(BASEOBJS) runcmd.o $(DEPLIBS) |
101 | check_nt_DEPENDENCIES = check_nt.c $(NETOBJS) $(DEPLIBS) | 101 | check_nt_DEPENDENCIES = check_nt.c $(NETOBJS) $(DEPLIBS) |
102 | check_nwstat_DEPENDENCIES = check_nwstat.c $(NETOBJS) $(DEPLIBS) | 102 | check_nwstat_DEPENDENCIES = check_nwstat.c $(NETOBJS) $(DEPLIBS) |
103 | check_overcr_DEPENDENCIES = check_overcr.c $(NETOBJS) $(DEPLIBS) | 103 | check_overcr_DEPENDENCIES = check_overcr.c $(NETOBJS) $(DEPLIBS) |
@@ -115,7 +115,7 @@ check_time_DEPENDENCIES = check_time.c $(NETOBJS) $(DEPLIBS) | |||
115 | check_udp_DEPENDENCIES = check_udp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) | 115 | check_udp_DEPENDENCIES = check_udp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) |
116 | check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS) | 116 | check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS) |
117 | check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS) | 117 | check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS) |
118 | check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) popen.o $(DEPLIBS) | 118 | check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) runcmd.o $(DEPLIBS) |
119 | negate_DEPENDENCIES = negate.c $(BASEOBJS) popen.o $(DEPLIBS) | 119 | negate_DEPENDENCIES = negate.c $(BASEOBJS) popen.o $(DEPLIBS) |
120 | urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS) | 120 | urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS) |
121 | 121 | ||
@@ -124,6 +124,8 @@ urlize_DEPENDENCIES = urlize.c $(BASEOBJS) popen.o $(DEPLIBS) | |||
124 | 124 | ||
125 | popen.o: popen.c popen.h $(PLUGINHDRS) | 125 | popen.o: popen.c popen.h $(PLUGINHDRS) |
126 | 126 | ||
127 | runcmd.o: runcmd.c runcmd.h $(PLUGINHDRS) | ||
128 | |||
127 | utils.o: utils.c utils.h $(PLUGINHDRS) | 129 | utils.o: utils.c utils.h $(PLUGINHDRS) |
128 | 130 | ||
129 | netutils.o: netutils.c netutils.h $(PLUGINHDRS) | 131 | netutils.o: netutils.c netutils.h $(PLUGINHDRS) |