Link all enabled libstrongswan plugins into the library, link all enabled charon plugins into libcharon.

This commit is contained in:
Tobias Brunner
2010-03-02 10:38:52 +01:00
parent 3724668b3d
commit 6ec60bb92b
61 changed files with 536 additions and 116 deletions
+7 -1
View File
@@ -3,11 +3,17 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon
AM_CFLAGS = -rdynamic
if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-android.la
libstrongswan_android_la_LIBADD =
else
plugin_LTLIBRARIES = libstrongswan-android.la
libstrongswan_android_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_android_la_SOURCES = \
android_plugin.c android_plugin.h \
android_handler.c android_handler.h
libstrongswan_android_la_LDFLAGS = -module -avoid-version
libstrongswan_android_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lcutils
libstrongswan_android_la_LIBADD += -lcutils