Make integrity tests compatible with libcharon.
[strongswan.git] / src / checksum / Makefile.am
index f9c1be2..4533eb8 100644 (file)
@@ -12,10 +12,11 @@ CLEANFILES = checksum.c
 INCLUDES = -I$(top_srcdir)/src/libstrongswan
 AM_CFLAGS = -rdynamic
 
 INCLUDES = -I$(top_srcdir)/src/libstrongswan
 AM_CFLAGS = -rdynamic
 
-libs = $(shell find $(top_builddir)/src/libstrongswan $(top_builddir)/src/charon \
+libs = $(shell find $(top_builddir)/src/libstrongswan $(top_builddir)/src/libcharon \
                        -name 'libstrongswan*.so')
 
 if USE_CHARON
                        -name 'libstrongswan*.so')
 
 if USE_CHARON
+  libs += $(top_builddir)/src/libcharon/.libs/libcharon.so
   libs += $(top_builddir)/src/charon/.libs/charon
 endif
 
   libs += $(top_builddir)/src/charon/.libs/charon
 endif
 
@@ -23,5 +24,15 @@ if USE_PLUTO
   libs += $(top_builddir)/src/pluto/.libs/pluto
 endif
 
   libs += $(top_builddir)/src/pluto/.libs/pluto
 endif
 
+if USE_TOOLS
+  libs += $(top_builddir)/src/openac/.libs/openac
+  libs += $(top_builddir)/src/pki/.libs/pki
+  libs += $(top_builddir)/src/scepclient/.libs/scepclient
+endif
+
+if USE_ATTR_SQL
+  libs += $(top_builddir)/src/libstrongswan/plugins/attr_sql/.libs/pool
+endif
+
 checksum.c : checksum_builder $(libs)
                ./checksum_builder $(libs) > checksum.c
 checksum.c : checksum_builder $(libs)
                ./checksum_builder $(libs) > checksum.c