diff --git a/lib/Makefile.am b/lib/Makefile.am
index 9a26e419be607ecb68aaf47585c8a1956634ba18..3909bb9bf0a54fc307988d9800d4c7827f028efb 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 getloadavg.c snprintf.c
+libnagiosplug_a_SOURCES = utils_base.c utils_disk.c
+EXTRA_DIST = utils_base.h utils_disk.h
+
+INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
+
+test:
+ cd tests && make test
-INCLUDES = -I$(srcdir)