Annotation of embedaddon/strongswan/src/swanctl/Makefile.am, revision 1.1.1.1
1.1 misho 1: sbin_PROGRAMS = swanctl
2:
3: swanctl_SOURCES = \
4: command.c command.h \
5: commands/counters.c \
6: commands/initiate.c \
7: commands/terminate.c \
8: commands/rekey.c \
9: commands/redirect.c \
10: commands/install.c \
11: commands/list_sas.c \
12: commands/list_pols.c \
13: commands/list_authorities.c \
14: commands/list_conns.c \
15: commands/list_certs.c \
16: commands/list_pools.c \
17: commands/list_algs.c \
18: commands/flush_certs.c \
19: commands/load_all.c \
20: commands/load_authorities.h commands/load_authorities.c \
21: commands/load_conns.c commands/load_conns.h \
22: commands/load_creds.c commands/load_creds.h \
23: commands/load_pools.c commands/load_pools.h \
24: commands/log.c \
25: commands/version.c \
26: commands/stats.c \
27: commands/reload_settings.c \
28: swanctl.c swanctl.h
29:
30: swanctl_LDADD = \
31: $(top_builddir)/src/libcharon/plugins/vici/libvici.la \
32: $(top_builddir)/src/libstrongswan/libstrongswan.la \
33: $(PTHREADLIB) $(ATOMICLIB) $(DLLIB)
34:
35: swanctl.o : $(top_builddir)/config.status
36:
37: AM_CPPFLAGS = \
38: -I$(top_srcdir)/src/libstrongswan \
39: -I$(top_srcdir)/src/libcharon/plugins/vici \
40: -DSWANCTLDIR=\""${swanctldir}\"" \
41: -DPLUGINS=\""${s_plugins}\""
42:
43: man_MANS = \
44: swanctl.8 \
45: swanctl.conf.5
46:
47: BUILT_SOURCES = swanctl.conf swanctl.conf.5.main
48: EXTRA_DIST = swanctl.opt swanctl.conf swanctl.conf.5.main
49: CLEANFILES = $(man_MANS)
50:
51: .opt.conf:
52: $(AM_V_GEN) \
53: $(PYTHON) $(top_srcdir)/conf/format-options.py -n -f conf $< > $(srcdir)/$@
54:
55: swanctl.conf.5.main: swanctl.opt
56: $(AM_V_GEN) \
57: cd $(srcdir) && $(PYTHON) $(abs_top_srcdir)/conf/format-options.py -n -f man swanctl.opt > $@
58:
59: swanctl.conf.5: swanctl.conf.5.head swanctl.conf.5.main swanctl.conf.5.tail
60: $(AM_V_GEN) \
61: cat swanctl.conf.5.head $(srcdir)/swanctl.conf.5.main swanctl.conf.5.tail > $@
62:
63: maintainer-clean-local:
64: cd $(srcdir) && rm -f swanctl.conf swanctl.conf.5.main
65:
66: install-data-local: swanctl.conf
67: test -e "$(DESTDIR)$(swanctldir)" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)" || true
68: test -e "$(DESTDIR)$(swanctldir)/conf.d" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/conf.d" || true
69: test -e "$(DESTDIR)$(swanctldir)/x509" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509" || true
70: test -e "$(DESTDIR)$(swanctldir)/x509ca" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509ca" || true
71: test -e "$(DESTDIR)$(swanctldir)/x509aa" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509aa" || true
72: test -e "$(DESTDIR)$(swanctldir)/x509ocsp" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509ocsp" || true
73: test -e "$(DESTDIR)$(swanctldir)/x509crl" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509crl" || true
74: test -e "$(DESTDIR)$(swanctldir)/x509ac" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509ac" || true
75: test -e "$(DESTDIR)$(swanctldir)/pubkey" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/pubkey" || true
76: test -e "$(DESTDIR)$(swanctldir)/private" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/private" || true
77: test -e "$(DESTDIR)$(swanctldir)/rsa" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/rsa" || true
78: test -e "$(DESTDIR)$(swanctldir)/ecdsa" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/ecdsa" || true
79: test -e "$(DESTDIR)$(swanctldir)/bliss" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/bliss" || true
80: test -e "$(DESTDIR)$(swanctldir)/pkcs8" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/pkcs8" || true
81: test -e "$(DESTDIR)$(swanctldir)/pkcs12" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/pkcs12" || true
82: test -e "$(DESTDIR)$(swanctldir)/swanctl.conf" || $(INSTALL) -m 640 $(srcdir)/swanctl.conf $(DESTDIR)$(swanctldir)/swanctl.conf || true
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>