libhydra: Move kernel interface to libcharon
[strongswan.git] / src / libhydra / Makefile.am
1 ipseclib_LTLIBRARIES = libhydra.la
2
3 libhydra_la_SOURCES = \
4 hydra.c hydra.h
5
6 libhydra_la_LIBADD = \
7   $(top_builddir)/src/libstrongswan/libstrongswan.la
8
9 if USE_WINDOWS
10   libhydra_la_LIBADD += -lws2_32
11 endif
12
13 AM_CPPFLAGS = \
14         -I$(top_srcdir)/src/libstrongswan \
15         -DIPSEC_DIR=\"${ipsecdir}\" \
16         -DPLUGINDIR=\"${plugindir}\"
17
18 AM_LDFLAGS = \
19   -no-undefined
20
21 EXTRA_DIST = Android.mk
22
23 # build optional plugins
24 ########################
25
26 if MONOLITHIC
27 SUBDIRS =
28 else
29 SUBDIRS = .
30 endif
31
32 if MONOLITHIC
33   SUBDIRS += .
34 endif
35 SUBDIRS += tests