Build all shared libraries with -no-undefined and link them properly
[strongswan.git] / src / libipsec / Makefile.am
1 ipseclib_LTLIBRARIES = libipsec.la
2
3 libipsec_la_SOURCES = \
4 ipsec.c ipsec.h \
5 esp_context.c esp_context.h \
6 esp_packet.c esp_packet.h \
7 ip_packet.c ip_packet.h \
8 ipsec_event_listener.h \
9 ipsec_event_relay.c ipsec_event_relay.h \
10 ipsec_policy.c ipsec_policy.h \
11 ipsec_policy_mgr.c ipsec_policy_mgr.h \
12 ipsec_processor.c ipsec_processor.h \
13 ipsec_sa.c ipsec_sa.h \
14 ipsec_sa_mgr.c ipsec_sa_mgr.h
15
16 libipsec_la_LIBADD = \
17         $(top_builddir)/src/libstrongswan/libstrongswan.la
18
19 AM_CPPFLAGS = \
20         -I$(top_srcdir)/src/libstrongswan
21
22 AM_LDFLAGS = \
23         -no-undefined
24
25 EXTRA_DIST = Android.mk
26
27 # build optional plugins
28 ########################
29
30 if MONOLITHIC
31 SUBDIRS =
32 else
33 SUBDIRS = .
34 endif