charon-nm: Set local address to %any so IPv6 may be used as outer address
[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 libipsec_la_SOURCES := \
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_processor.c ipsec_processor.h \
15 ipsec_sa.c ipsec_sa.h \
16 ipsec_sa_mgr.c ipsec_sa_mgr.h
17
18 LOCAL_SRC_FILES := $(filter %.c,$(libipsec_la_SOURCES))
19
20 # build libipsec ---------------------------------------------------------------
21
22 LOCAL_C_INCLUDES += \
23 $(strongswan_PATH)/src/libstrongswan
24
25 LOCAL_CFLAGS := $(strongswan_CFLAGS)
26
27 LOCAL_MODULE := libipsec
28
29 LOCAL_MODULE_TAGS := optional
30
31 LOCAL_ARM_MODE := arm
32
33 LOCAL_PRELINK_MODULE := false
34
35 LOCAL_SHARED_LIBRARIES += libstrongswan
36
37 include $(BUILD_SHARED_LIBRARY)
38