Merge branch 'charon-cmd'
[strongswan.git] / src / checksum / Makefile.am
index 1405fcd..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
@@ -84,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