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 EXTRA_DIST = swanctl.conf
34 install-data-local: swanctl.conf
35 test -e "$(DESTDIR)$(swanctldir)" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)"
36 test -e "$(DESTDIR)$(swanctldir)/swanctl.conf" || $(INSTALL) -m 640 $(srcdir)/swanctl.conf $(DESTDIR)$(swanctldir)/swanctl.conf || true