diff options
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r-- | plugins/Makefile.am | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 0a2a91aa..5994b405 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_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,24 +40,30 @@ 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 \ |
53 | check_ldap.d \ | 56 | check_ldap.d \ |
54 | check_hpjd.d \ | 57 | check_hpjd.d \ |
55 | check_game.d \ | 58 | check_game.d \ |
56 | check_radius.d \ | 59 | check_radius.d \ |
60 | check_disk.d \ | ||
57 | check_time.d \ | 61 | check_time.d \ |
58 | check_users.d \ | 62 | check_users.d \ |
63 | check_load.d \ | ||
59 | check_nagios.d \ | 64 | check_nagios.d \ |
60 | check_dbi.d \ | 65 | check_dbi.d \ |
66 | check_tcp.d \ | ||
61 | check_real.d \ | 67 | check_real.d \ |
62 | check_ssh.d \ | 68 | check_ssh.d \ |
63 | check_nt.d \ | 69 | check_nt.d \ |
@@ -68,6 +74,7 @@ EXTRA_DIST = t \ | |||
68 | check_ntp_peer.d \ | 74 | check_ntp_peer.d \ |
69 | check_apt.d \ | 75 | check_apt.d \ |
70 | check_pgsql.d \ | 76 | check_pgsql.d \ |
77 | check_procs.d \ | ||
71 | check_ping.d \ | 78 | check_ping.d \ |
72 | check_by_ssh.d \ | 79 | check_by_ssh.d \ |
73 | check_smtp.d \ | 80 | check_smtp.d \ |
@@ -118,6 +125,7 @@ check_curl_LDADD = $(NETLIBS) $(LIBCURLLIBS) $(SSLOBJS) $(URIPARSERLIBS) picohtt | |||
118 | check_dbi_LDADD = $(NETLIBS) $(DBILIBS) | 125 | check_dbi_LDADD = $(NETLIBS) $(DBILIBS) |
119 | check_dig_LDADD = $(NETLIBS) | 126 | check_dig_LDADD = $(NETLIBS) |
120 | check_disk_LDADD = $(BASEOBJS) | 127 | check_disk_LDADD = $(BASEOBJS) |
128 | check_disk_SOURCES = check_disk.c check_disk.d/utils_disk.c | ||
121 | check_dns_LDADD = $(NETLIBS) | 129 | check_dns_LDADD = $(NETLIBS) |
122 | check_dummy_LDADD = $(BASEOBJS) | 130 | check_dummy_LDADD = $(BASEOBJS) |
123 | check_fping_LDADD = $(NETLIBS) | 131 | check_fping_LDADD = $(NETLIBS) |
@@ -138,7 +146,6 @@ check_nagios_LDADD = $(BASEOBJS) | |||
138 | check_nt_LDADD = $(NETLIBS) | 146 | check_nt_LDADD = $(NETLIBS) |
139 | check_ntp_LDADD = $(NETLIBS) $(MATHLIBS) | 147 | check_ntp_LDADD = $(NETLIBS) $(MATHLIBS) |
140 | check_ntp_peer_LDADD = $(NETLIBS) $(MATHLIBS) | 148 | check_ntp_peer_LDADD = $(NETLIBS) $(MATHLIBS) |
141 | check_nwstat_LDADD = $(NETLIBS) | ||
142 | check_pgsql_LDADD = $(NETLIBS) $(PGLIBS) | 149 | check_pgsql_LDADD = $(NETLIBS) $(PGLIBS) |
143 | check_ping_LDADD = $(NETLIBS) | 150 | check_ping_LDADD = $(NETLIBS) |
144 | check_procs_LDADD = $(BASEOBJS) | 151 | check_procs_LDADD = $(BASEOBJS) |
@@ -166,6 +173,8 @@ endif | |||
166 | 173 | ||
167 | tests_test_check_swap_LDADD = $(BASEOBJS) $(tap_ldflags) -ltap | 174 | tests_test_check_swap_LDADD = $(BASEOBJS) $(tap_ldflags) -ltap |
168 | tests_test_check_swap_SOURCES = tests/test_check_swap.c check_swap.d/swap.c | 175 | tests_test_check_swap_SOURCES = tests/test_check_swap.c check_swap.d/swap.c |
176 | tests_test_check_disk_LDADD = $(BASEOBJS) $(tap_ldflags) check_disk.d/utils_disk.c -ltap | ||
177 | tests_test_check_disk_SOURCES = tests/test_check_disk.c | ||
169 | 178 | ||
170 | ############################################################################## | 179 | ############################################################################## |
171 | # secondary dependencies | 180 | # secondary dependencies |