Code

utils_disk: fixed handling if check_disk -p is a device (np_set_best_match())
[nagiosplug.git] / lib / Makefile.am
index afa91a6d00af3d644e64025374ef3f358ecf5f63..3909bb9bf0a54fc307988d9800d4c7827f028efb 100644 (file)
@@ -1,12 +1,15 @@
 ## Process this file with automake to produce Makefile.in
 
-EXTRA_DIST = getloadavg.m4
+SUBDIRS = tests
 
 noinst_LIBRARIES = libnagiosplug.a
 
-noinst_HEADERS = getopt.h
 
-libnagiosplug_a_SOURCES = getopt.c getopt1.c getloadavg.c
+libnagiosplug_a_SOURCES = utils_base.c utils_disk.c
+EXTRA_DIST = utils_base.h utils_disk.h
 
-INCLUDES = -I$(srcdir)
+INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
+
+test:
+       cd tests && make test