7f25a540a30e5aba403166b59c89d6d8e0f4abab
[strongswan.git] / src / frontends / android / jni / libandroidbridge / 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 charonservice.c
7
8 # build libandroidbridge -------------------------------------------------------
9
10 LOCAL_C_INCLUDES += \
11 $(libvstr_PATH) \
12 $(strongswan_PATH)/src/libhydra \
13 $(strongswan_PATH)/src/libcharon \
14 $(strongswan_PATH)/src/libstrongswan
15
16 LOCAL_CFLAGS := $(strongswan_CFLAGS) \
17 -DPLUGINS='"$(strongswan_CHARON_PLUGINS)"'
18
19 LOCAL_MODULE := libandroidbridge
20
21 LOCAL_MODULE_TAGS := optional
22
23 LOCAL_ARM_MODE := arm
24
25 LOCAL_PRELINK_MODULE := false
26
27 LOCAL_LDLIBS := -llog
28
29 LOCAL_SHARED_LIBRARIES := libstrongswan libhydra libcharon
30
31 include $(BUILD_SHARED_LIBRARY)
32
33