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