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