2011-06-08 13:49:15 +00:00
|
|
|
ipseclib_LTLIBRARIES = libhydra.la
|
2010-03-24 09:37:01 +00:00
|
|
|
|
2010-03-24 14:18:12 +00:00
|
|
|
libhydra_la_SOURCES = \
|
2010-03-24 16:40:15 +00:00
|
|
|
hydra.c hydra.h \
|
|
|
|
attributes/attributes.c attributes/attributes.h \
|
|
|
|
attributes/attribute_provider.h attributes/attribute_handler.h \
|
2010-03-26 14:49:34 +00:00
|
|
|
attributes/attribute_manager.c attributes/attribute_manager.h \
|
2010-07-05 11:46:04 +00:00
|
|
|
attributes/mem_pool.c attributes/mem_pool.h \
|
2010-07-12 08:57:46 +00:00
|
|
|
kernel/kernel_interface.c kernel/kernel_interface.h \
|
|
|
|
kernel/kernel_ipsec.c kernel/kernel_ipsec.h \
|
2011-10-13 09:22:03 +00:00
|
|
|
kernel/kernel_net.c kernel/kernel_net.h \
|
2010-07-15 12:26:19 +00:00
|
|
|
kernel/kernel_listener.h
|
2010-03-24 09:37:01 +00:00
|
|
|
|
2013-09-04 12:25:22 +00:00
|
|
|
libhydra_la_LIBADD = \
|
|
|
|
$(top_builddir)/src/libstrongswan/libstrongswan.la
|
2010-03-24 09:37:01 +00:00
|
|
|
|
2013-07-17 12:45:39 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/src/libstrongswan \
|
|
|
|
-DIPSEC_DIR=\"${ipsecdir}\" \
|
|
|
|
-DPLUGINDIR=\"${plugindir}\" \
|
|
|
|
-DSTRONGSWAN_CONF=\"${strongswan_conf}\"
|
2010-03-24 09:37:01 +00:00
|
|
|
|
2013-09-04 12:25:22 +00:00
|
|
|
AM_LDFLAGS = \
|
|
|
|
-no-undefined
|
|
|
|
|
2010-04-12 14:47:47 +00:00
|
|
|
EXTRA_DIST = Android.mk
|
2010-03-24 09:37:01 +00:00
|
|
|
|
|
|
|
# build optional plugins
|
|
|
|
########################
|
|
|
|
|
|
|
|
if MONOLITHIC
|
|
|
|
SUBDIRS =
|
|
|
|
else
|
|
|
|
SUBDIRS = .
|
|
|
|
endif
|
|
|
|
|
2010-03-31 11:55:12 +00:00
|
|
|
if USE_ATTR
|
|
|
|
SUBDIRS += plugins/attr
|
|
|
|
if MONOLITHIC
|
|
|
|
libhydra_la_LIBADD += plugins/attr/libstrongswan-attr.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-03-24 09:59:31 +00:00
|
|
|
if USE_ATTR_SQL
|
|
|
|
SUBDIRS += plugins/attr_sql
|
|
|
|
if MONOLITHIC
|
|
|
|
libhydra_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
|
|
|
|
endif
|
|
|
|
endif
|
2010-03-24 09:37:01 +00:00
|
|
|
|
2010-07-12 16:10:16 +00:00
|
|
|
if USE_KERNEL_PFKEY
|
|
|
|
SUBDIRS += plugins/kernel_pfkey
|
|
|
|
if MONOLITHIC
|
|
|
|
libhydra_la_LIBADD += plugins/kernel_pfkey/libstrongswan-kernel-pfkey.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_KERNEL_PFROUTE
|
|
|
|
SUBDIRS += plugins/kernel_pfroute
|
|
|
|
if MONOLITHIC
|
|
|
|
libhydra_la_LIBADD += plugins/kernel_pfroute/libstrongswan-kernel-pfroute.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_KERNEL_KLIPS
|
|
|
|
SUBDIRS += plugins/kernel_klips
|
|
|
|
if MONOLITHIC
|
|
|
|
libhydra_la_LIBADD += plugins/kernel_klips/libstrongswan-kernel-klips.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_KERNEL_NETLINK
|
|
|
|
SUBDIRS += plugins/kernel_netlink
|
|
|
|
if MONOLITHIC
|
|
|
|
libhydra_la_LIBADD += plugins/kernel_netlink/libstrongswan-kernel-netlink.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-05-04 21:52:44 +00:00
|
|
|
if USE_RESOLVE
|
|
|
|
SUBDIRS += plugins/resolve
|
|
|
|
if MONOLITHIC
|
|
|
|
libhydra_la_LIBADD += plugins/resolve/libstrongswan-resolve.la
|
|
|
|
endif
|
|
|
|
endif
|