xpc: add a description of the basic XPC protocol to README
[strongswan.git] / src / libhydra / Makefile.am
1 ipseclib_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 kernel/kernel_interface.c kernel/kernel_interface.h \
10 kernel/kernel_ipsec.c kernel/kernel_ipsec.h \
11 kernel/kernel_net.c kernel/kernel_net.h \
12 kernel/kernel_listener.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_KERNEL_PFKEY
48   SUBDIRS += plugins/kernel_pfkey
49 if MONOLITHIC
50   libhydra_la_LIBADD += plugins/kernel_pfkey/libstrongswan-kernel-pfkey.la
51 endif
52 endif
53
54 if USE_KERNEL_PFROUTE
55   SUBDIRS += plugins/kernel_pfroute
56 if MONOLITHIC
57   libhydra_la_LIBADD += plugins/kernel_pfroute/libstrongswan-kernel-pfroute.la
58 endif
59 endif
60
61 if USE_KERNEL_KLIPS
62   SUBDIRS += plugins/kernel_klips
63 if MONOLITHIC
64   libhydra_la_LIBADD += plugins/kernel_klips/libstrongswan-kernel-klips.la
65 endif
66 endif
67
68 if USE_KERNEL_NETLINK
69   SUBDIRS += plugins/kernel_netlink
70 if MONOLITHIC
71   libhydra_la_LIBADD += plugins/kernel_netlink/libstrongswan-kernel-netlink.la
72 endif
73 endif
74
75 if USE_RESOLVE
76   SUBDIRS += plugins/resolve
77 if MONOLITHIC
78   libhydra_la_LIBADD += plugins/resolve/libstrongswan-resolve.la
79 endif
80 endif
81