b236f7667ca21d1925a604d19192094b5408c308
[strongswan.git] / Makefile.am
1 SUBDIRS = src man init testing
2
3 if USE_SCRIPTS
4   SUBDIRS += scripts
5 endif
6
7 ACLOCAL_AMFLAGS = -I m4/config
8
9 EXTRA_DIST = Doxyfile.in LICENSE Android.mk.in Android.mk
10 CLEANFILES = Doxyfile
11 BUILT_SOURCES = Android.mk
12 MAINTAINERCLEANFILES = Android.mk
13
14 config_includedir = $(ipseclibdir)/include
15 nodist_config_include_HEADERS = config.h
16
17 Android.mk :    Android.mk.in configure.in
18                 sed \
19                 -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
20                 $(srcdir)/$@.in > $@
21
22 Doxyfile :      Doxyfile.in
23                 sed \
24                 -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
25                 -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
26                 -e "s:\@SRC_DIR\@:$(srcdir):" \
27                 $(srcdir)/$@.in > $@
28
29 apidoc :        Doxyfile
30                 doxygen
31
32 clean-local:
33                 rm -rf apidoc