Merge branch 'android-ndk'
[strongswan.git] / src / libipsec / 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 ipsec.c ipsec.h
7
8 # build libipsec ---------------------------------------------------------------
9
10 LOCAL_C_INCLUDES += \
11 $(libvstr_PATH) \
12 $(strongswan_PATH)/src/include \
13 $(strongswan_PATH)/src/libhydra \
14 $(strongswan_PATH)/src/libstrongswan
15
16 LOCAL_CFLAGS := $(strongswan_CFLAGS)
17
18 LOCAL_MODULE := libipsec
19
20 LOCAL_MODULE_TAGS := optional
21
22 LOCAL_ARM_MODE := arm
23
24 LOCAL_PRELINK_MODULE := false
25
26 LOCAL_SHARED_LIBRARIES += libstrongswan libhydra
27
28 include $(BUILD_SHARED_LIBRARY)
29