if available link libsimaka to checksum_builder
[strongswan.git] / src / checksum / Makefile.am
index fc48438..303f0b3 100644 (file)
@@ -30,6 +30,17 @@ if !MONOLITHIC
 endif
 endif
 
+if USE_LIBTNCCS
+  libs += $(top_builddir)/src/libtnccs/.libs/libtnccs.so
+  checksum_builder_LDADD += $(top_builddir)/src/libtnccs/libtnccs.la
+  INCLUDES += -I$(top_srcdir)/src/libtncif -I$(top_srcdir)/src/libtnccs
+  AM_CFLAGS += -DHAS_TNC
+endif
+
+if USE_SIMAKA
+  checksum_builder_LDADD += $(top_builddir)/src/libsimaka/libsimaka.la
+endif
+
 if USE_CHARON
   libs += $(top_builddir)/src/libcharon/.libs/libcharon.so
   libs += $(top_builddir)/src/charon/.libs/charon