Code

Change the variable names `true' and `false' (which are keywords in C99)
[nagiosplug.git] / lib / Makefile.am
index e625d29b94f1eef5cb770ff3597c54221baabdce..3909bb9bf0a54fc307988d9800d4c7827f028efb 100644 (file)
@@ -1,18 +1,15 @@
 ## Process this file with automake to produce Makefile.in
 
+SUBDIRS = tests
+
 noinst_LIBRARIES = libnagiosplug.a
 
-noinst_HEADERS = getopt.h gettext.h fsusage.h mountlist.h
 
-libnagiosplug_a_SOURCES = getopt.c getopt1.c snprintf.c fsusage.c mountlist.c xmalloc.c
+libnagiosplug_a_SOURCES = utils_base.c utils_disk.c
+EXTRA_DIST = utils_base.h utils_disk.h
 
-libnagiosplug_a_LIBADD = @LIBOBJS@
-libnagiosplug_a_DEPENDENCIES = $(libnagiosplug_a_LIBADD)
+INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
 
-EXTRA_DIST = ulonglong.m4 codeset.m4 getloadavg.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
-               inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 \
-               lib-link.m4 lib-prefix.m4 progtest.m4 stdint_h.m4 uintmax_t.m4 afs.m4 \
-               fstypename.m4 fsusage.m4 ls-mntd-fs.m4 \
-               malloc.c realloc.c strtod.c
+test:
+       cd tests && make test
 
-INCLUDES = -I$(srcdir)