Forgot to add Android.mk in ba5b559b41fa70261c4f181f516acee272379a71.
authorTobias Brunner <tobias@strongswan.org>
Wed, 26 Oct 2011 16:31:34 +0000 (18:31 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 26 Oct 2011 16:31:34 +0000 (18:31 +0200)
src/libtnccs/Android.mk [new file with mode: 0644]

diff --git a/src/libtnccs/Android.mk b/src/libtnccs/Android.mk
new file mode 100644 (file)
index 0000000..349aab7
--- /dev/null
@@ -0,0 +1,31 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+# copy-n-paste from Makefile.am
+LOCAL_SRC_FILES := \
+tnc/tnc.h tnc/tnc.c \
+tnc/imc/imc.h tnc/imc/imc_manager.h \
+tnc/imv/imv.h tnc/imv/imv_manager.h \
+tnc/imv/imv_recommendations.h tnc/imv/imv_recommendations.c \
+tnc/tnccs/tnccs.h tnc/tnccs/tnccs.c \
+tnc/tnccs/tnccs_manager.h tnc/tnccs/tnccs_manager.c
+
+# build libtncif ---------------------------------------------------------------
+
+LOCAL_C_INCLUDES += \
+       $(libvstr_PATH) \
+       $(strongswan_PATH)/src/libtncif
+       $(strongswan_PATH)/src/libstrongswan
+
+LOCAL_CFLAGS := $(strongswan_CFLAGS)
+
+LOCAL_MODULE := libtnccs
+
+LOCAL_ARM_MODE := arm
+
+LOCAL_PRELINK_MODULE := false
+
+LOCAL_SHARED_LIBRARIES += libstrongswan
+
+include $(BUILD_SHARED_LIBRARY)
+