daemon: Flush shunts before unloading plugins
[strongswan.git] / src / libhydra / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am
5 libhydra_la_SOURCES := \
6 hydra.c hydra.h \
7 kernel/kernel_interface.c kernel/kernel_interface.h \
8 kernel/kernel_ipsec.c kernel/kernel_ipsec.h \
9 kernel/kernel_net.c kernel/kernel_net.h \
10 kernel/kernel_listener.h
11
12 LOCAL_SRC_FILES := $(filter %.c,$(libhydra_la_SOURCES))
13
14 # adding the plugin source files
15
16 LOCAL_SRC_FILES += $(call add_plugin, kernel-pfkey)
17
18 LOCAL_SRC_FILES += $(call add_plugin, kernel-netlink)
19
20 # build libhydra ---------------------------------------------------------------
21
22 LOCAL_C_INCLUDES += \
23 $(strongswan_PATH)/src/include \
24 $(strongswan_PATH)/src/libstrongswan
25
26 LOCAL_CFLAGS := $(strongswan_CFLAGS)
27
28 LOCAL_MODULE := libhydra
29
30 LOCAL_MODULE_TAGS := optional
31
32 LOCAL_ARM_MODE := arm
33
34 LOCAL_PRELINK_MODULE := false
35
36 LOCAL_SHARED_LIBRARIES += libstrongswan
37
38 include $(BUILD_SHARED_LIBRARY)