a5d93dfc3eeff5c78afcc2c829f40c11b0b878f3
[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 esp_context.c esp_context.h \
8 esp_packet.c esp_packet.h \
9 ipsec_sa.c ipsec_sa.h \
10 ipsec_sa_mgr.c ipsec_sa_mgr.h
11
12 # build libipsec ---------------------------------------------------------------
13
14 LOCAL_C_INCLUDES += \
15 $(libvstr_PATH) \
16 $(strongswan_PATH)/src/include \
17 $(strongswan_PATH)/src/libstrongswan
18
19 LOCAL_CFLAGS := $(strongswan_CFLAGS)
20
21 LOCAL_MODULE := libipsec
22
23 LOCAL_MODULE_TAGS := optional
24
25 LOCAL_ARM_MODE := arm
26
27 LOCAL_PRELINK_MODULE := false
28
29 LOCAL_SHARED_LIBRARIES += libstrongswan
30
31 include $(BUILD_SHARED_LIBRARY)
32