diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index e01ad84b4..913099c23 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = include +SUBDIRS = . include if USE_FILE_CONFIG SUBDIRS += libfreeswan starter ipsec _copyright @@ -11,6 +11,7 @@ endif if USE_PLUTO SUBDIRS += libcrypto pluto whack endif + if USE_CHARON SUBDIRS += charon endif @@ -19,32 +20,32 @@ if USE_STROKE SUBDIRS += stroke endif -if USE_PLUTO_OR_CHARON +if USE_UPDOWN SUBDIRS += _updown _updown_espmark endif if USE_TOOLS - SUBDIRS += openac scepclient + SUBDIRS += libcrypto openac scepclient endif -if USE_UML +if USE_DUMM SUBDIRS += dumm endif +if USE_FAST + SUBDIRS += libfast +endif + if USE_MANAGER SUBDIRS += manager endif -if USE_FILE_CONFIG -install-exec-local : - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d/cacerts - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d/ocspcerts - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d/certs - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d/acerts - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d/aacerts - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d/crls - mkdir -p -m 755 $(DESTDIR)$(confdir)/ipsec.d/reqs - mkdir -p -m 700 $(DESTDIR)$(confdir)/ipsec.d/private +if USE_MEDSRV + SUBDIRS += medsrv endif +EXTRA_DIST = strongswan.conf + +install-exec-local : + test -e "$(DESTDIR)${sysconfdir}" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)" + test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -o ${ipsecuser} -g ${ipsecgroup} -m 640 strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true |