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