Merge branch 'charon-cmd'
[strongswan.git] / src / checksum / Makefile.am
index ae9690b..aabd96e 100644 (file)
@@ -18,7 +18,7 @@ INCLUDES = \
        -I$(top_srcdir)/src/libhydra \
        -I$(top_srcdir)/src/libcharon
 AM_CFLAGS = \
-       -DPLUGINDIR=\"${plugindir}\" \
+       -DPLUGINDIR=\"${DESTDIR}${plugindir}\" \
        -rdynamic
 
 # we keep track of build dependencies in deps and use libs to store the paths
@@ -39,6 +39,20 @@ if !MONOLITHIC
   AM_CFLAGS += -DH_PLUGINS=\""${h_plugins}\""
 endif
 endif
+
+if USE_LIBIPSEC
+  deps += $(top_builddir)/src/libipsec/libipsec.la
+  libs += $(DESTDIR)$(ipseclibdir)/libipsec.so
+endif
+
+if USE_TLS
+  deps += $(top_builddir)/src/libtls/libtls.la
+  libs += $(DESTDIR)$(ipseclibdir)/libtls.so
+endif
+
+if USE_RADIUS
+  deps += $(top_builddir)/src/libradius/libradius.la
+  libs += $(DESTDIR)$(ipseclibdir)/libradius.so
 endif
 
 if USE_LIBTNCCS
@@ -47,7 +61,18 @@ if USE_LIBTNCCS
 endif
 
 if USE_SIMAKA
-  checksum_builder_LDADD += $(top_builddir)/src/libsimaka/libsimaka.la
+  deps += $(top_builddir)/src/libsimaka/libsimaka.la
+  libs += $(DESTDIR)$(ipseclibdir)/libsimaka.so
+endif
+
+if USE_IMCV
+  deps += $(top_builddir)/src/libimcv/libimcv.la
+  libs += $(DESTDIR)$(ipseclibdir)/libimcv.so
+endif
+
+if USE_PTS
+  deps += $(top_builddir)/src/libpts/libpts.la
+  libs += $(DESTDIR)$(ipseclibdir)/libpts.so
 endif
 
 if USE_CHARON
@@ -59,9 +84,8 @@ if !MONOLITHIC
 endif
 endif
 
-if USE_PLUTO
-  exes += $(top_builddir)/src/pluto/.libs/pluto
-  AM_CFLAGS += -DP_PLUGINS=\""${p_plugins}\""
+if USE_CMD
+  exes += $(top_builddir)/src/charon-cmd/.libs/charon-cmd
 endif
 
 if USE_TOOLS
@@ -74,6 +98,10 @@ if USE_ATTR_SQL
   exes += $(top_builddir)/src/libhydra/plugins/attr_sql/.libs/pool
 endif
 
+if USE_IMV_ATTESTATION
+  exes += $(top_builddir)/src/libpts/plugins/imv_attestation/.libs/attest
+endif
+
 checksum.c : checksum_builder $(deps) $(exes)
                ./checksum_builder $(libs) $(exes) > checksum.c