diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-20 11:29:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-20 11:29:07 +0200 |
commit | b8580c18e354b9070adbf464df186442d55dc120 (patch) | |
tree | c5d126ae124b6c48d34384472304803a01f0a7af /plugins-root/Makefile.am | |
parent | 916d3a52a0f01f05bbf42008fa5dddcee6ad7522 (diff) | |
parent | d2735eecd4c44ba4a2504304963e861a427e393e (diff) | |
download | monitoring-plugins-master.tar.gz |
Refactor check_icmp:
- Far less global variables
- Proper IPv6/legacy IP dual stack functionality (allowed mixed v4/v6 hosts)
- Improved readability/understandability
- General cleanup
Diffstat (limited to 'plugins-root/Makefile.am')
-rw-r--r-- | plugins-root/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index a80229e2..fffc0575 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am | |||
@@ -24,7 +24,8 @@ noinst_PROGRAMS = check_dhcp check_icmp @EXTRAS_ROOT@ | |||
24 | 24 | ||
25 | EXTRA_PROGRAMS = pst3 | 25 | EXTRA_PROGRAMS = pst3 |
26 | 26 | ||
27 | EXTRA_DIST = t pst3.c | 27 | EXTRA_DIST = t pst3.c \ |
28 | check_icmp.d | ||
28 | 29 | ||
29 | BASEOBJS = ../plugins/utils.o ../lib/libmonitoringplug.a ../gl/libgnu.a | 30 | BASEOBJS = ../plugins/utils.o ../lib/libmonitoringplug.a ../gl/libgnu.a |
30 | NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) | 31 | NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) |
@@ -82,6 +83,7 @@ install-exec-local: $(noinst_PROGRAMS) | |||
82 | # the actual targets | 83 | # the actual targets |
83 | check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS) $(LIB_CRYPTO) | 84 | check_dhcp_LDADD = @LTLIBINTL@ $(NETLIBS) $(LIB_CRYPTO) |
84 | check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS) $(LIB_CRYPTO) | 85 | check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS) $(LIB_CRYPTO) |
86 | check_icmp_SOURCES = check_icmp.c check_icmp.d/check_icmp_helpers.c | ||
85 | 87 | ||
86 | # -m64 needed at compiler and linker phase | 88 | # -m64 needed at compiler and linker phase |
87 | pst3_CFLAGS = @PST3CFLAGS@ | 89 | pst3_CFLAGS = @PST3CFLAGS@ |
@@ -89,7 +91,7 @@ pst3_LDFLAGS = @PST3CFLAGS@ | |||
89 | # pst3 must not use monitoringplug/gnulib includes! | 91 | # pst3 must not use monitoringplug/gnulib includes! |
90 | pst3_CPPFLAGS = | 92 | pst3_CPPFLAGS = |
91 | 93 | ||
92 | check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) | 94 | check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) |
93 | check_icmp_DEPENDENCIES = check_icmp.c $(NETOBJS) | 95 | check_icmp_DEPENDENCIES = check_icmp.c $(NETOBJS) |
94 | 96 | ||
95 | clean-local: | 97 | clean-local: |