(no commit message)
[libt2n] / Makefile.am
index 2f605d4..dec3f8a 100644 (file)
@@ -2,10 +2,16 @@
 # have all needed files, that a GNU package needs
 AUTOMAKE_OPTIONS = foreign 1.4
 
-SUBDIRS = src doc
+SUBDIRS = src doc test examples codegen example-codegen
 
 # Install the pkg-config file:
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libt2n.pc
 
 EXRA_DIST = COPYING COPYING.LIB
+
+if AUTOCHECK
+all: config.h
+       $(MAKE) $(AM_MAKEFLAGS) all-recursive
+       $(MAKE) $(AM_MAKEFLAGS) check
+endif