aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/kernel_pfkey
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-01 16:15:08 +0100
committerTobias Brunner <tobias@strongswan.org>2010-03-02 10:38:52 +0100
commit6ec60bb92bf2c6e4e564d5b55b25436c74485c56 (patch)
treecca93e37da5e8ef922c126230d2b7b4c3e721e39 /src/charon/plugins/kernel_pfkey
parent3724668b3d37df67f687cb718ded7fa87c748deb (diff)
downloadstrongswan-6ec60bb92bf2c6e4e564d5b55b25436c74485c56.tar.bz2
strongswan-6ec60bb92bf2c6e4e564d5b55b25436c74485c56.tar.xz
Link all enabled libstrongswan plugins into the library, link all enabled charon plugins into libcharon.
Diffstat (limited to 'src/charon/plugins/kernel_pfkey')
-rw-r--r--src/charon/plugins/kernel_pfkey/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/charon/plugins/kernel_pfkey/Makefile.am b/src/charon/plugins/kernel_pfkey/Makefile.am
index 967f97dbc..e9fe358c0 100644
--- a/src/charon/plugins/kernel_pfkey/Makefile.am
+++ b/src/charon/plugins/kernel_pfkey/Makefile.am
@@ -3,9 +3,13 @@ INCLUDES = -I${linux_headers} -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/
AM_CFLAGS = -rdynamic
+if MONOLITHIC
+noinst_LTLIBRARIES = libstrongswan-kernel-pfkey.la
+else
plugin_LTLIBRARIES = libstrongswan-kernel-pfkey.la
+libstrongswan_kernel_pfkey_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
+endif
libstrongswan_kernel_pfkey_la_SOURCES = kernel_pfkey_plugin.h kernel_pfkey_plugin.c \
kernel_pfkey_ipsec.h kernel_pfkey_ipsec.c
libstrongswan_kernel_pfkey_la_LDFLAGS = -module -avoid-version
-libstrongswan_kernel_pfkey_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la