Added a small libcharon wrapper intended to directly host the nm plugin.

For this reason it reclaims the --enable-nm configure option.
This commit is contained in:
Tobias Brunner
2012-05-03 13:38:14 +02:00
parent 94b48e071a
commit 1c7a733e36
4 changed files with 382 additions and 46 deletions
+20
View File
@@ -0,0 +1,20 @@
ipsec_PROGRAMS = charon-nm
charon_nm_SOURCES = \
charon-nm.c
INCLUDES = \
-I$(top_srcdir)/src/libstrongswan \
-I$(top_srcdir)/src/libhydra \
-I$(top_srcdir)/src/libcharon
AM_CFLAGS = \
-DIPSEC_DIR=\"${ipsecdir}\" \
-DIPSEC_PIDDIR=\"${piddir}\" \
-DPLUGINS=\""${nm_plugins}\""
charon_nm_LDADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la \
$(top_builddir)/src/libhydra/libhydra.la \
$(top_builddir)/src/libcharon/libcharon.la \
-lm $(PTHREADLIB) $(DLLIB)