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