TNCCS plugins don't depend on EAP-TNC, but can be used by other transports, too
[strongswan.git] / Makefile.am
index c2467a7..8a558c1 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = src testing
+SUBDIRS = src man init testing
 
 if USE_SCRIPTS
   SUBDIRS += scripts
@@ -6,14 +6,30 @@ endif
 
 ACLOCAL_AMFLAGS = -I m4/config
 
-EXTRA_DIST = Doxyfile.in CREDITS
-CLEANFILES = apidoc Doxyfile
+EXTRA_DIST = Doxyfile.in LICENSE Android.common.mk.in Android.common.mk Android.mk
+CLEANFILES = Doxyfile
+BUILT_SOURCES = Android.common.mk
+MAINTAINERCLEANFILES = Android.common.mk
+
+if USE_DEV_HEADERS
+config_includedir = $(ipseclibdir)/include
+nodist_config_include_HEADERS = config.h
+endif
+
+Android.common.mk :    Android.common.mk.in configure.in
+               sed \
+               -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
+               $(srcdir)/$@.in > $@
 
 Doxyfile :     Doxyfile.in
                sed \
                -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
                -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
+               -e "s:\@SRC_DIR\@:$(srcdir):" \
                $(srcdir)/$@.in > $@
 
 apidoc :       Doxyfile
                doxygen
+
+clean-local:
+               rm -rf apidoc