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,9 +3,15 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = -rdynamic
if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-ldap.la
libstrongswan_ldap_la_LIBADD =
else
plugin_LTLIBRARIES = libstrongswan-ldap.la
libstrongswan_ldap_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
endif
libstrongswan_ldap_la_SOURCES = ldap_plugin.h ldap_plugin.c ldap_fetcher.h ldap_fetcher.c
libstrongswan_ldap_la_LDFLAGS = -module -avoid-version
libstrongswan_ldap_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lldap -llber
libstrongswan_ldap_la_LIBADD += -lldap -llber