libsimaka: Link against Winsock2 on Windows
[strongswan.git] / src / libsimaka / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan \
3         -I$(top_srcdir)/src/libhydra \
4         -I$(top_srcdir)/src/libcharon
5
6 AM_LDFLAGS = \
7         -no-undefined
8
9 ipseclib_LTLIBRARIES = libsimaka.la
10
11 libsimaka_la_LIBADD = \
12         $(top_builddir)/src/libstrongswan/libstrongswan.la
13
14 if USE_WINDOWS
15   libsimaka_la_LIBADD += -lws2_32
16 endif
17
18 libsimaka_la_SOURCES = simaka_message.h simaka_message.c \
19   simaka_crypto.h simaka_crypto.c simaka_manager.h simaka_manager.c \
20   simaka_card.h simaka_provider.h simaka_hooks.h