summaryrefslogtreecommitdiff
path: root/Android.common.mk.in
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2013-08-25 15:37:26 +0200
committerYves-Alexis Perez <corsac@debian.org>2013-08-25 15:37:26 +0200
commit6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349 (patch)
tree009fc492961e13860d2a4bc2de8caf2bbe2975e7 /Android.common.mk.in
parentc83921a2b566aa9d55d8ccc7258f04fca6292ee6 (diff)
downloadvyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.tar.gz
vyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.zip
Imported Upstream version 5.1.0
Diffstat (limited to 'Android.common.mk.in')
-rw-r--r--Android.common.mk.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Android.common.mk.in b/Android.common.mk.in
index 1bc8a8304..9f8849d7e 100644
--- a/Android.common.mk.in
+++ b/Android.common.mk.in
@@ -13,6 +13,17 @@ add_plugin = $(if $(call plugin_enabled,$(1)), \
) \
) \
)
+add_plugin_subdirs = $(if $(call plugin_enabled,$(1)), \
+ $(patsubst $(LOCAL_PATH)/%,%, \
+ $(wildcard \
+ $(subst %,$(subst -,_,$(strip $(1))), \
+ $(addprefix $(LOCAL_PATH)/plugins/%/,$(addsuffix /*.c, \
+ $(strip $(2)) \
+ )) \
+ ) \
+ ) \
+ ) \
+ )
# strongSwan version, replaced by top Makefile
strongswan_VERSION := "@PACKAGE_VERSION@"