2008-04-18 12:52:47 +00:00
|
|
|
SUBDIRS = . include
|
2007-12-03 14:47:15 +00:00
|
|
|
|
|
|
|
if USE_LIBSTRONGSWAN
|
|
|
|
SUBDIRS += libstrongswan
|
|
|
|
endif
|
|
|
|
|
2010-03-24 09:37:01 +00:00
|
|
|
if USE_LIBHYDRA
|
|
|
|
SUBDIRS += libhydra
|
|
|
|
endif
|
|
|
|
|
2009-10-19 13:37:36 +00:00
|
|
|
if USE_SIMAKA
|
|
|
|
SUBDIRS += libsimaka
|
|
|
|
endif
|
|
|
|
|
2009-04-24 03:30:50 +00:00
|
|
|
if USE_FILE_CONFIG
|
|
|
|
SUBDIRS += libfreeswan starter ipsec _copyright
|
|
|
|
endif
|
|
|
|
|
2007-12-13 10:54:29 +00:00
|
|
|
if USE_PLUTO
|
2009-05-14 23:28:48 +00:00
|
|
|
SUBDIRS += pluto whack
|
2007-12-13 10:54:29 +00:00
|
|
|
endif
|
2008-06-11 14:13:24 +00:00
|
|
|
|
2007-12-03 14:47:15 +00:00
|
|
|
if USE_CHARON
|
2010-03-12 15:56:54 +00:00
|
|
|
SUBDIRS += libcharon charon
|
2007-12-03 14:47:15 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_STROKE
|
|
|
|
SUBDIRS += stroke
|
|
|
|
endif
|
|
|
|
|
2008-06-06 08:24:39 +00:00
|
|
|
if USE_UPDOWN
|
2007-12-03 14:47:15 +00:00
|
|
|
SUBDIRS += _updown _updown_espmark
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_TOOLS
|
2010-03-05 07:52:09 +00:00
|
|
|
SUBDIRS += libfreeswan openac scepclient pki
|
2007-12-03 14:47:15 +00:00
|
|
|
endif
|
2007-08-08 14:24:25 +00:00
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
if USE_DUMM
|
2007-08-08 14:24:25 +00:00
|
|
|
SUBDIRS += dumm
|
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_FAST
|
|
|
|
SUBDIRS += libfast
|
|
|
|
endif
|
|
|
|
|
2007-09-13 07:45:04 +00:00
|
|
|
if USE_MANAGER
|
|
|
|
SUBDIRS += manager
|
|
|
|
endif
|
|
|
|
|
2008-06-11 14:13:24 +00:00
|
|
|
if USE_MEDSRV
|
|
|
|
SUBDIRS += medsrv
|
|
|
|
endif
|
|
|
|
|
2009-06-22 10:47:09 +00:00
|
|
|
if USE_INTEGRITY_TEST
|
|
|
|
SUBDIRS += checksum
|
|
|
|
endif
|
|
|
|
|
2008-04-18 12:52:47 +00:00
|
|
|
EXTRA_DIST = strongswan.conf
|
|
|
|
|
2009-09-07 09:46:16 +00:00
|
|
|
install-exec-local :
|
2008-05-08 10:58:04 +00:00
|
|
|
test -e "$(DESTDIR)${sysconfdir}" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)"
|
2009-07-20 19:13:45 +00:00
|
|
|
test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -o ${ipsecuid} -g ${ipsecgid} -m 640 $(srcdir)/strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true
|