94d3968de54eacc6e9fc296c2174418fc91d0bb1
[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
9 libhydra_la_LIBADD =
10
11 INCLUDES = -I$(top_srcdir)/src/libstrongswan
12 AM_CFLAGS = \
13 -DIPSEC_DIR=\"${ipsecdir}\" \
14 -DPLUGINDIR=\"${plugindir}\" \
15 -DSTRONGSWAN_CONF=\"${strongswan_conf}\"
16
17 #EXTRA_DIST = Android.mk
18
19 # build optional plugins
20 ########################
21
22 if MONOLITHIC
23 SUBDIRS =
24 else
25 SUBDIRS = .
26 endif
27
28 if USE_ATTR_SQL
29   SUBDIRS += plugins/attr_sql
30 if MONOLITHIC
31   libhydra_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
32 endif
33 endif
34