Build dedicated plugin lists for each strongSwan component
[strongswan.git] / src / openac / Makefile.am
index 2890c75..0be040e 100644 (file)
@@ -3,7 +3,8 @@ openac_SOURCES = openac.c
 dist_man_MANS = openac.8
 
 INCLUDES = -I$(top_srcdir)/src/libstrongswan
-AM_CFLAGS = -DIPSEC_CONFDIR=\"${confdir}\" \
-  -DIPSEC_PLUGINDIR=\"${plugindir}\" -DPLUGINS=\""${libstrongswan_plugins}\""
-openac_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lgmp
-
+AM_CFLAGS = \
+  -DIPSEC_CONFDIR=\"${sysconfdir}\" \
+  -DPLUGINS=\""${openac_plugins}\""
+openac_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
+openac.o :             $(top_builddir)/config.status