]> git.ipfire.org Git - thirdparty/strongswan.git/blob - src/Makefile.am
tolerating chown failures on installation, required to build some packages
[thirdparty/strongswan.git] / src / Makefile.am
1 SUBDIRS = . include
2
3 if USE_FILE_CONFIG
4 SUBDIRS += libfreeswan starter ipsec _copyright
5 endif
6
7 if USE_LIBSTRONGSWAN
8 SUBDIRS += libstrongswan
9 endif
10
11 if USE_PLUTO
12 SUBDIRS += libcrypto pluto whack
13 endif
14 if USE_CHARON
15 SUBDIRS += charon
16 endif
17
18 if USE_STROKE
19 SUBDIRS += stroke
20 endif
21
22 if USE_PLUTO_OR_CHARON
23 SUBDIRS += _updown _updown_espmark
24 endif
25
26 if USE_TOOLS
27 SUBDIRS += openac scepclient
28 endif
29
30 if USE_DUMM
31 SUBDIRS += dumm
32 endif
33
34 if USE_FAST
35 SUBDIRS += libfast
36 endif
37
38 if USE_MANAGER
39 SUBDIRS += manager
40 endif
41
42 EXTRA_DIST = strongswan.conf
43
44 install-exec-local :
45 test -e "$(DESTDIR)${sysconfdir}" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)"
46 test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -o ${ipsecuser} -g ${ipsecgroup} -m 640 strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true