summaryrefslogtreecommitdiff
path: root/src/stroke/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/stroke/Android.mk')
-rw-r--r--src/stroke/Android.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/stroke/Android.mk b/src/stroke/Android.mk
new file mode 100644
index 000000000..69b3e54ca
--- /dev/null
+++ b/src/stroke/Android.mk
@@ -0,0 +1,27 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+# copy-n-paste from Makefile.am
+LOCAL_SRC_FILES := \
+stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
+
+# build stroke -----------------------------------------------------------------
+
+LOCAL_C_INCLUDES += \
+ $(libvstr_PATH) \
+ $(strongswan_PATH)/src/libstrongswan
+
+LOCAL_CFLAGS := $(strongswan_CFLAGS)
+
+LOCAL_MODULE := stroke
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_ARM_MODE := arm
+
+LOCAL_PRELINK_MODULE := false
+
+LOCAL_SHARED_LIBRARIES += libstrongswan
+
+include $(BUILD_EXECUTABLE)
+