summaryrefslogtreecommitdiffstats
path: root/lib/Makefile.am
blob: 99fa591aeb95d450976ea912d70605e3643661dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## Process this file with automake to produce Makefile.in

SUBDIRS = . tests

noinst_LIBRARIES = libnagiosplug.a

AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\"

libnagiosplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c
EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h

if USE_PARSE_INI
libnagiosplug_a_SOURCES += parse_ini.c extra_opts.c
endif USE_PARSE_INI

INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins

test test-debug:
	cd tests && make $@