diff --git a/lib/Makefile.am b/lib/Makefile.am
index 7727b2821f46a7963ec47e1d5440c19e9ae2e0fb..5d65bed639fb24ff68b2bec93be84abac1431842 100644 (file)
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
## Process this file with automake to produce Makefile.in
+SUBDIRS = tests
+
noinst_LIBRARIES = libnagiosplug.a
-noinst_HEADERS = getopt.h
-libnagiosplug_a_SOURCES = getopt.c getopt1.c
+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
+
+INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
-INCLUDES = -I$(srcdir)
+test test-debug:
+ cd tests && make $@