mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-03 18:49:29 -05:00
This commit moves the state retention logic to check_snmp as it is only used there and I do not want it to be used at all, so it doesn't get a place in the lib. Otherwise this adapts tests and fixes the rate computing in the refactored version of check_snmp. Also fixes some bugs detected with the tests
30 lines
681 B
Makefile
30 lines
681 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = . tests
|
|
|
|
noinst_LIBRARIES = libmonitoringplug.a
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
|
|
|
|
libmonitoringplug_a_SOURCES = utils_base.c utils_tcp.c utils_cmd.c maxfd.c output.c perfdata.c output.c thresholds.c vendor/cJSON/cJSON.c
|
|
|
|
EXTRA_DIST = utils_base.h \
|
|
utils_tcp.h \
|
|
utils_cmd.h \
|
|
parse_ini.h \
|
|
extra_opts.h \
|
|
maxfd.h \
|
|
perfdata.h \
|
|
output.h \
|
|
thresholds.h \
|
|
states.h \
|
|
vendor/cJSON/cJSON.h \
|
|
monitoringplug.h
|
|
|
|
if USE_PARSE_INI
|
|
libmonitoringplug_a_SOURCES += parse_ini.c extra_opts.c
|
|
endif USE_PARSE_INI
|
|
|
|
test test-debug:
|
|
cd tests && make $@
|