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