Move processor_t (thread-pool) 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 processing/jobs/job.h \
10 processing/processor.c processing/processor.h
11
12 libhydra_la_LIBADD =
13
14 INCLUDES = -I$(top_srcdir)/src/libstrongswan
15 AM_CFLAGS = \
16 -DIPSEC_DIR=\"${ipsecdir}\" \
17 -DPLUGINDIR=\"${plugindir}\" \
18 -DSTRONGSWAN_CONF=\"${strongswan_conf}\"
19
20 EXTRA_DIST = Android.mk
21
22 # build optional plugins
23 ########################
24
25 if MONOLITHIC
26 SUBDIRS =
27 else
28 SUBDIRS = .
29 endif
30
31 if USE_ATTR
32   SUBDIRS += plugins/attr
33 if MONOLITHIC
34   libhydra_la_LIBADD += plugins/attr/libstrongswan-attr.la
35 endif
36 endif
37
38 if USE_ATTR_SQL
39   SUBDIRS += plugins/attr_sql
40 if MONOLITHIC
41   libhydra_la_LIBADD += plugins/attr_sql/libstrongswan-attr-sql.la
42 endif
43 endif
44
45 if USE_RESOLVE
46   SUBDIRS += plugins/resolve
47 if MONOLITHIC
48   libhydra_la_LIBADD += plugins/resolve/libstrongswan-resolve.la
49 endif
50 endif
51