3cd798648b01a8ed7d03fe4ab7fa7a274710a916
[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.common.mk.in Android.common.mk Android.mk
10 CLEANFILES = Doxyfile
11 BUILT_SOURCES = Android.common.mk
12 MAINTAINERCLEANFILES = Android.common.mk
13
14 if USE_DEV_HEADERS
15 config_includedir = $(ipseclibdir)/include
16 nodist_config_include_HEADERS = config.h
17 endif
18
19 Android.common.mk :     Android.common.mk.in configure.in
20                 $(AM_V_GEN) \
21                 sed \
22                 -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
23                 $(srcdir)/$@.in > $@
24
25 Doxyfile :      Doxyfile.in
26                 $(AM_V_GEN) \
27                 sed \
28                 -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
29                 -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
30                 -e "s:\@SRC_DIR\@:$(srcdir):" \
31                 $(srcdir)/$@.in > $@
32
33 apidoc :        Doxyfile
34                 doxygen
35
36 clean-local:
37                 rm -rf apidoc