]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/libipsec/Android.mk
libipsec: Fix ip_packet_create_from_data() version field in IPv6 header
[thirdparty/strongswan.git] / src / libipsec / Android.mk
CommitLineData
b70139fb
TB
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4# copy-n-paste from Makefile.am
e5d819b6 5libipsec_la_SOURCES := \
64004973 6ipsec.c ipsec.h \
47eb8943 7esp_context.c esp_context.h \
f9b0c054 8esp_packet.c esp_packet.h \
2dd47c24 9ip_packet.c ip_packet.h \
b50f56f3
TB
10ipsec_event_listener.h \
11ipsec_event_relay.c ipsec_event_relay.h \
9a11bc09 12ipsec_policy.c ipsec_policy.h \
7000cf11 13ipsec_policy_mgr.c ipsec_policy_mgr.h \
a113d7f2 14ipsec_processor.c ipsec_processor.h \
91447937
TB
15ipsec_sa.c ipsec_sa.h \
16ipsec_sa_mgr.c ipsec_sa_mgr.h
b70139fb 17
e5d819b6
TB
18LOCAL_SRC_FILES := $(filter %.c,$(libipsec_la_SOURCES))
19
b70139fb
TB
20# build libipsec ---------------------------------------------------------------
21
22LOCAL_C_INCLUDES += \
b70139fb
TB
23 $(strongswan_PATH)/src/libstrongswan
24
25LOCAL_CFLAGS := $(strongswan_CFLAGS)
26
27LOCAL_MODULE := libipsec
28
29LOCAL_MODULE_TAGS := optional
30
31LOCAL_ARM_MODE := arm
32
33LOCAL_PRELINK_MODULE := false
34
156f7e9b 35LOCAL_SHARED_LIBRARIES += libstrongswan
b70139fb
TB
36
37include $(BUILD_SHARED_LIBRARY)
38