Build all shared libraries with -no-undefined and link them properly
[strongswan.git] / src / libtls / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan
3
4 AM_LDFLAGS = \
5         -no-undefined
6
7 ipseclib_LTLIBRARIES = libtls.la
8 libtls_la_SOURCES = \
9         tls_protection.c tls_compression.c tls_fragmentation.c tls_alert.c \
10         tls_crypto.c tls_prf.c tls_socket.c tls_eap.c tls_cache.c tls_peer.c \
11         tls_server.c tls.c
12
13 libtls_la_LIBADD = \
14         $(top_builddir)/src/libstrongswan/libstrongswan.la
15
16 if USE_DEV_HEADERS
17 tls_includedir = ${dev_headers}/tls
18 nobase_tls_include_HEADERS = \
19         tls_protection.h tls_compression.h tls_fragmentation.h tls_alert.h \
20         tls_crypto.h tls_prf.h tls_socket.h tls_eap.h tls_cache.h tls_peer.h \
21         tls_server.h tls_handshake.h tls_application.h tls.h
22 endif