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