byteorder: Add 32-bit unaligned little-endian conversion functions
[strongswan.git] / src / libtnccs / Makefile.am
index 8d618c3..7a630fe 100644 (file)
@@ -3,9 +3,18 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtncif \
        -I$(top_srcdir)/src/libtls
 
        -I$(top_srcdir)/src/libtncif \
        -I$(top_srcdir)/src/libtls
 
+AM_LDFLAGS = \
+       -no-undefined
+
 ipseclib_LTLIBRARIES = libtnccs.la
 
 ipseclib_LTLIBRARIES = libtnccs.la
 
-libtnccs_la_LIBADD = $(top_builddir)/src/libtncif/libtncif.la
+libtnccs_la_LIBADD = \
+       $(top_builddir)/src/libstrongswan/libstrongswan.la \
+       $(top_builddir)/src/libtncif/libtncif.la
+
+if USE_WINDOWS
+  libtnccs_la_LIBADD += -lws2_32
+endif
 
 libtnccs_la_SOURCES = \
 tnc/tnc.h tnc/tnc.c \
 
 libtnccs_la_SOURCES = \
 tnc/tnc.h tnc/tnc.c \
@@ -40,6 +49,13 @@ if MONOLITHIC
 endif
 endif
 
 endif
 endif
 
+if USE_TNC_IMV
+  SUBDIRS += plugins/tnc_imv
+if MONOLITHIC
+  libtnccs_la_LIBADD += plugins/tnc_imv/libstrongswan-tnc-imv.la
+endif
+endif
+
 if USE_TNCCS_11
   SUBDIRS += plugins/tnccs_11
 if MONOLITHIC
 if USE_TNCCS_11
   SUBDIRS += plugins/tnccs_11
 if MONOLITHIC
@@ -60,5 +76,3 @@ if MONOLITHIC
   libtnccs_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la
 endif
 endif
   libtnccs_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la
 endif
 endif
-
-