Correctly check buffer length in netlink_add_attribute()
[strongswan.git] / Makefile.am
index af437a6..8a558c1 100644 (file)
@@ -1 +1,35 @@
-SUBDIRS = src
+SUBDIRS = src man init testing
+
+if USE_SCRIPTS
+  SUBDIRS += scripts
+endif
+
+ACLOCAL_AMFLAGS = -I m4/config
+
+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