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