Merge branch 'charon-cmd'
[strongswan.git] / src / checksum / Makefile.am
index 0d0da5a..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
@@ -40,6 +40,11 @@ if !MONOLITHIC
 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
@@ -79,6 +84,10 @@ if !MONOLITHIC
 endif
 endif
 
+if USE_CMD
+  exes += $(top_builddir)/src/charon-cmd/.libs/charon-cmd
+endif
+
 if USE_TOOLS
   exes += $(top_builddir)/src/openac/.libs/openac
   exes += $(top_builddir)/src/pki/.libs/pki