47 lines
783 B
Makefile
47 lines
783 B
Makefile
SUBDIRS = . include
|
|
|
|
if USE_FILE_CONFIG
|
|
SUBDIRS += libfreeswan starter ipsec _copyright
|
|
endif
|
|
|
|
if USE_LIBSTRONGSWAN
|
|
SUBDIRS += libstrongswan
|
|
endif
|
|
|
|
if USE_PLUTO
|
|
SUBDIRS += libcrypto pluto whack
|
|
endif
|
|
if USE_CHARON
|
|
SUBDIRS += charon
|
|
endif
|
|
|
|
if USE_STROKE
|
|
SUBDIRS += stroke
|
|
endif
|
|
|
|
if USE_PLUTO_OR_CHARON
|
|
SUBDIRS += _updown _updown_espmark
|
|
endif
|
|
|
|
if USE_TOOLS
|
|
SUBDIRS += openac scepclient
|
|
endif
|
|
|
|
if USE_DUMM
|
|
SUBDIRS += dumm
|
|
endif
|
|
|
|
if USE_FAST
|
|
SUBDIRS += libfast
|
|
endif
|
|
|
|
if USE_MANAGER
|
|
SUBDIRS += manager
|
|
endif
|
|
|
|
EXTRA_DIST = strongswan.conf
|
|
|
|
install-exec-local :
|
|
test -e "$(DESTDIR)${sysconfdir}" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
|
|
test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -m 600 strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf
|