libhydra: Move all kernel plugins to libcharon
[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 # build libhydra ---------------------------------------------------------------
17
18 LOCAL_C_INCLUDES += \
19 $(strongswan_PATH)/src/libstrongswan
20
21 LOCAL_CFLAGS := $(strongswan_CFLAGS)
22
23 LOCAL_MODULE := libhydra
24
25 LOCAL_MODULE_TAGS := optional
26
27 LOCAL_ARM_MODE := arm
28
29 LOCAL_PRELINK_MODULE := false
30
31 LOCAL_SHARED_LIBRARIES += libstrongswan
32
33 include $(BUILD_SHARED_LIBRARY)