summaryrefslogtreecommitdiff
path: root/src/charon-cmd/Makefile.am
blob: 1d4bf70cc36a96b61a963904290238a116a9db79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
sbin_PROGRAMS = charon-cmd
man8_MANS = charon-cmd.8
CLEANFILES = $(man8_MANS)

charon_cmd_SOURCES = \
	cmd/cmd_options.h cmd/cmd_options.c \
	cmd/cmd_connection.h cmd/cmd_connection.c \
	cmd/cmd_creds.h cmd/cmd_creds.c \
	charon-cmd.c

charon-cmd.o :	$(top_builddir)/config.status

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/libstrongswan \
	-I$(top_srcdir)/src/libcharon \
	-DIPSEC_DIR=\"${ipsecdir}\" \
	-DIPSEC_PIDDIR=\"${piddir}\" \
	-DPLUGINS=\""${cmd_plugins}\""

charon_cmd_LDADD = \
	$(top_builddir)/src/libstrongswan/libstrongswan.la \
	$(top_builddir)/src/libcharon/libcharon.la \
	-lm $(PTHREADLIB) $(ATOMICLIB) $(DLLIB)