1 sbin_PROGRAMS = swanctl
10 commands/list_conns.c \
11 commands/list_certs.c \
12 commands/list_pools.c \
13 commands/load_conns.c \
14 commands/load_creds.c \
15 commands/load_pools.c \
21 $(top_builddir)/src/libcharon/plugins/vici/libvici.la \
22 $(top_builddir)/src/libstrongswan/libstrongswan.la
24 swanctl.o : $(top_builddir)/config.status
27 -I$(top_srcdir)/src/libstrongswan \
28 -I$(top_srcdir)/src/libcharon/plugins/vici \
29 -DSWANCTLDIR=\""${swanctldir}\"" \
30 -DPLUGINS=\""${s_plugins}\""
32 BUILT_SOURCES = swanctl.conf swanctl.conf.5.main
33 EXTRA_DIST = swanctl.opt swanctl.conf swanctl.conf.5.main
37 $(PYTHON) $(top_srcdir)/conf/format-options.py -f conf $< > $(srcdir)/$@
39 swanctl.conf.5.main: swanctl.opt
41 $(PYTHON) $(top_srcdir)/conf/format-options.py -f man $< > $(srcdir)/$@
43 maintainer-clean-local:
44 cd $(srcdir) && rm -f swanctl.conf swanctl.conf.5.main
46 install-data-local: swanctl.conf
47 test -e "$(DESTDIR)$(swanctldir)" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)"
48 test -e "$(DESTDIR)$(swanctldir)/swanctl.conf" || $(INSTALL) -m 640 $(srcdir)/swanctl.conf $(DESTDIR)$(swanctldir)/swanctl.conf || true