diff options
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r-- | plugins/Makefile.am | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 2ffb5fd0..192a2549 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -27,7 +27,7 @@ MATHLIBS = @MATHLIBS@ | |||
27 | #AM_CFLAGS = -Wall | 27 | #AM_CFLAGS = -Wall |
28 | 28 | ||
29 | libexec_PROGRAMS = check_apt check_cluster check_disk check_dummy check_http check_load \ | 29 | libexec_PROGRAMS = check_apt check_cluster check_disk check_dummy check_http check_load \ |
30 | check_mrtg check_mrtgtraf check_ntp check_ntp_peer check_nwstat check_overcr check_ping \ | 30 | check_mrtg check_mrtgtraf check_ntp check_ntp_peer check_ping \ |
31 | check_real check_smtp check_ssh check_tcp check_time check_ntp_time \ | 31 | check_real check_smtp check_ssh check_tcp check_time check_ntp_time \ |
32 | check_ups check_users negate \ | 32 | check_ups check_users negate \ |
33 | urlize @EXTRAS@ | 33 | urlize @EXTRAS@ |
@@ -40,21 +40,49 @@ EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \ | |||
40 | check_nagios check_by_ssh check_dns check_nt check_ide_smart \ | 40 | check_nagios check_by_ssh check_dns check_nt check_ide_smart \ |
41 | check_procs check_mysql_query check_apt check_dbi check_curl \ | 41 | check_procs check_mysql_query check_apt check_dbi check_curl \ |
42 | \ | 42 | \ |
43 | tests/test_check_swap | 43 | tests/test_check_swap \ |
44 | tests/test_check_disk | ||
44 | 45 | ||
45 | SUBDIRS = picohttpparser | 46 | SUBDIRS = picohttpparser |
46 | 47 | ||
47 | np_test_scripts = tests/test_check_swap.t | 48 | np_test_scripts = tests/test_check_swap.t \ |
49 | tests/test_check_disk.t | ||
48 | 50 | ||
49 | EXTRA_DIST = t \ | 51 | EXTRA_DIST = t \ |
50 | tests \ | 52 | tests \ |
51 | $(np_test_scripts) \ | 53 | $(np_test_scripts) \ |
54 | negate.d \ | ||
52 | check_swap.d \ | 55 | check_swap.d \ |
56 | check_ldap.d \ | ||
57 | check_hpjd.d \ | ||
53 | check_game.d \ | 58 | check_game.d \ |
59 | check_radius.d \ | ||
60 | check_disk.d \ | ||
61 | check_time.d \ | ||
62 | check_load.d \ | ||
63 | check_nagios.d \ | ||
54 | check_dbi.d \ | 64 | check_dbi.d \ |
65 | check_tcp.d \ | ||
66 | check_real.d \ | ||
55 | check_ssh.d \ | 67 | check_ssh.d \ |
68 | check_nt.d \ | ||
56 | check_dns.d \ | 69 | check_dns.d \ |
57 | check_apt.d | 70 | check_mrtgtraf.d \ |
71 | check_mysql_query.d \ | ||
72 | check_mrtg.d \ | ||
73 | check_ntp_peer.d \ | ||
74 | check_apt.d \ | ||
75 | check_pgsql.d \ | ||
76 | check_procs.d \ | ||
77 | check_ping.d \ | ||
78 | check_by_ssh.d \ | ||
79 | check_smtp.d \ | ||
80 | check_mysql.d \ | ||
81 | check_ntp_time.d \ | ||
82 | check_dig.d \ | ||
83 | check_cluster.d \ | ||
84 | check_ups.d \ | ||
85 | check_fping.d | ||
58 | 86 | ||
59 | PLUGINHDRS = common.h | 87 | PLUGINHDRS = common.h |
60 | 88 | ||
@@ -96,6 +124,7 @@ check_curl_LDADD = $(NETLIBS) $(LIBCURLLIBS) $(SSLOBJS) $(URIPARSERLIBS) picohtt | |||
96 | check_dbi_LDADD = $(NETLIBS) $(DBILIBS) | 124 | check_dbi_LDADD = $(NETLIBS) $(DBILIBS) |
97 | check_dig_LDADD = $(NETLIBS) | 125 | check_dig_LDADD = $(NETLIBS) |
98 | check_disk_LDADD = $(BASEOBJS) | 126 | check_disk_LDADD = $(BASEOBJS) |
127 | check_disk_SOURCES = check_disk.c check_disk.d/utils_disk.c | ||
99 | check_dns_LDADD = $(NETLIBS) | 128 | check_dns_LDADD = $(NETLIBS) |
100 | check_dummy_LDADD = $(BASEOBJS) | 129 | check_dummy_LDADD = $(BASEOBJS) |
101 | check_fping_LDADD = $(NETLIBS) | 130 | check_fping_LDADD = $(NETLIBS) |
@@ -116,8 +145,6 @@ check_nagios_LDADD = $(BASEOBJS) | |||
116 | check_nt_LDADD = $(NETLIBS) | 145 | check_nt_LDADD = $(NETLIBS) |
117 | check_ntp_LDADD = $(NETLIBS) $(MATHLIBS) | 146 | check_ntp_LDADD = $(NETLIBS) $(MATHLIBS) |
118 | check_ntp_peer_LDADD = $(NETLIBS) $(MATHLIBS) | 147 | check_ntp_peer_LDADD = $(NETLIBS) $(MATHLIBS) |
119 | check_nwstat_LDADD = $(NETLIBS) | ||
120 | check_overcr_LDADD = $(NETLIBS) | ||
121 | check_pgsql_LDADD = $(NETLIBS) $(PGLIBS) | 148 | check_pgsql_LDADD = $(NETLIBS) $(PGLIBS) |
122 | check_ping_LDADD = $(NETLIBS) | 149 | check_ping_LDADD = $(NETLIBS) |
123 | check_procs_LDADD = $(BASEOBJS) | 150 | check_procs_LDADD = $(BASEOBJS) |
@@ -144,6 +171,8 @@ endif | |||
144 | 171 | ||
145 | tests_test_check_swap_LDADD = $(BASEOBJS) $(tap_ldflags) -ltap | 172 | tests_test_check_swap_LDADD = $(BASEOBJS) $(tap_ldflags) -ltap |
146 | tests_test_check_swap_SOURCES = tests/test_check_swap.c check_swap.d/swap.c | 173 | tests_test_check_swap_SOURCES = tests/test_check_swap.c check_swap.d/swap.c |
174 | tests_test_check_disk_LDADD = $(BASEOBJS) $(tap_ldflags) check_disk.d/utils_disk.c -ltap | ||
175 | tests_test_check_disk_SOURCES = tests/test_check_disk.c | ||
147 | 176 | ||
148 | ############################################################################## | 177 | ############################################################################## |
149 | # secondary dependencies | 178 | # secondary dependencies |