charon-cmd: add a connection object and its initiation to charon-cmd
[strongswan.git] / src / charon-cmd / Makefile.am
1 sbin_PROGRAMS = charon-cmd
2
3 charon_cmd_SOURCES = \
4         cmd/cmd_options.h cmd/cmd_options.c \
5         cmd/cmd_connection.h cmd/cmd_connection.c \
6         charon-cmd.c
7
8 charon-cmd.o :  $(top_builddir)/config.status
9
10 INCLUDES = \
11         -I$(top_srcdir)/src/libstrongswan \
12         -I$(top_srcdir)/src/libhydra \
13         -I$(top_srcdir)/src/libcharon
14
15 AM_CFLAGS = \
16         -DIPSEC_DIR=\"${ipsecdir}\" \
17         -DIPSEC_PIDDIR=\"${piddir}\" \
18         -DPLUGINS=\""${cmd_plugins}\""
19
20 charon_cmd_LDADD = \
21         $(top_builddir)/src/libstrongswan/libstrongswan.la \
22         $(top_builddir)/src/libhydra/libhydra.la \
23         $(top_builddir)/src/libcharon/libcharon.la \
24         -lm $(PTHREADLIB) $(DLLIB)