Merge branch 'charon-cmd'
[strongswan.git] / src / checksum / Makefile.am
index a55891a..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,11 +40,21 @@ 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
 endif
 
+if USE_RADIUS
+  deps += $(top_builddir)/src/libradius/libradius.la
+  libs += $(DESTDIR)$(ipseclibdir)/libradius.so
+endif
+
 if USE_LIBTNCCS
   deps += $(top_builddir)/src/libtnccs/libtnccs.la
   libs += $(DESTDIR)$(ipseclibdir)/libtnccs.so
@@ -74,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