Extracted in-memory IP address pool from stroke plugin to libhydra.
[strongswan.git] / src / libhydra / Makefile.am
1 lib_LTLIBRARIES = libhydra.la
2
3 libhydra_la_SOURCES = \
4 hydra.c hydra.h \
5 attributes/attributes.c attributes/attributes.h \
6 attributes/attribute_provider.h attributes/attribute_handler.h \
7 attributes/attribute_manager.c attributes/attribute_manager.h \
8 attributes/mem_pool.c attributes/mem_pool.h
9
10 libhydra_la_LIBADD =
11
12 INCLUDES = -I$(top_srcdir)/src/libstrongswan
13 AM_CFLAGS = \
14 -DIPSEC_DIR=\"${ipsecdir}\" \
15 -DPLUGINDIR=\"${plugindir}\" \
16 -DSTRONGSWAN_CONF=\"${strongswan_conf}\"
17
18 #EXTRA_DIST = Android.mk
19
20 # build optional plugins
21 ########################
22
23 if MONOLITHIC
24 SUBDIRS =
25 else
26 SUBDIRS = .
27 endif
28
29 if USE_ATTR_SQL
30   SUBDIRS += plugins/attr_sql
31 if MONOLITHIC
32   libhydra_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
33 endif
34 endif
35