Build libtncif on Android.
[strongswan.git] / src / libtncif / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am
5 LOCAL_SRC_FILES := \
6 tncif.h tncifimc.h tncifimv.h tncif_names.h tncif_names.c \
7 tncif_pa_subtypes.h tncif_pa_subtypes.c
8
9 # build libtncif ---------------------------------------------------------------
10
11 LOCAL_C_INCLUDES += \
12 $(libvstr_PATH) \
13 $(strongswan_PATH)/src/libstrongswan
14
15 LOCAL_CFLAGS := $(strongswan_CFLAGS)
16
17 LOCAL_MODULE := libtncif
18
19 LOCAL_ARM_MODE := arm
20
21 LOCAL_PRELINK_MODULE := false
22
23 LOCAL_SHARED_LIBRARIES += libstrongswan
24
25 include $(BUILD_SHARED_LIBRARY)
26