swanctl: Use a ./configure-able swanctl base directory
[strongswan.git] / src / swanctl / Makefile.am
1 sbin_PROGRAMS = swanctl
2
3 swanctl_SOURCES = \
4         command.c command.h \
5         commands/initiate.c \
6         commands/terminate.c \
7         commands/install.c \
8         commands/version.c \
9         commands/list_sas.c \
10         commands/list_pols.c \
11         commands/load_conns.c \
12         swanctl.c swanctl.h
13
14 swanctl_LDADD = \
15         $(top_builddir)/src/libcharon/plugins/vici/libvici.la \
16         $(top_builddir)/src/libstrongswan/libstrongswan.la
17
18 swanctl.o :             $(top_builddir)/config.status
19
20 AM_CPPFLAGS = \
21         -I$(top_srcdir)/src/libstrongswan \
22         -I$(top_srcdir)/src/libcharon/plugins/vici \
23         -DSWANCTLDIR=\""${swanctldir}\"" \
24         -DPLUGINS=\""${s_plugins}\""