diff options
Diffstat (limited to 'Android.mk.in')
-rw-r--r-- | Android.mk.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Android.mk.in b/Android.mk.in index 4b6d485e8..efb4f42cf 100644 --- a/Android.mk.in +++ b/Android.mk.in @@ -3,10 +3,18 @@ include $(CLEAR_VARS) # this is the list of plugins that are built into libstrongswan and charon # also these plugins are loaded by default (if not changed in strongswan.conf) -strongswan_PLUGINS := openssl fips-prf random pubkey pkcs1 \ +strongswan_CHARON_PLUGINS := openssl fips-prf random pubkey pkcs1 \ pem xcbc hmac kernel-netlink socket-default android \ stroke eap-identity eap-mschapv2 eap-md5 +# plugins loaded by pluto +strongswan_PLUTO_PLUGINS := openssl fips-prf random pubkey pkcs1 \ + pem xcbc hmac kernel-netlink xauth + +# list of all plugins - used to enable them with the function below +strongswan_PLUGINS := $(sort $(strongswan_CHARON_PLUGINS) \ + $(strongswan_PLUTO_PLUGINS)) + # helper macros to only add source files for plugins included in the list above # source files are relative to the android.mk that called the macro plugin_enabled = $(findstring $(1), $(strongswan_PLUGINS)) @@ -64,7 +72,6 @@ strongswan_CFLAGS := \ -DROUTING_TABLE=0 \ -DROUTING_TABLE_PRIO=220 \ -DVERSION=\"$(strongswan_VERSION)\" \ - -DPLUGINS='"$(strongswan_PLUGINS)"' \ -DPLUGINDIR=\"$(strongswan_PLUGINDIR)\" \ -DIPSEC_DIR=\"$(strongswan_DIR)\" \ -DIPSEC_PIDDIR=\"$(strongswan_PIDDIR)\" \ |