summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: e01ad84b4b2096426ef7b7acb91b9105a50aa1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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_UML
  SUBDIRS += dumm
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
endif