Moved JNI helper macros to a separate file
[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 android_jni.c android_jni.h \
7 charonservice.c
8
9 # build libandroidbridge -------------------------------------------------------
10
11 LOCAL_C_INCLUDES += \
12 $(libvstr_PATH) \
13 $(strongswan_PATH)/src/libipsec \
14 $(strongswan_PATH)/src/libhydra \
15 $(strongswan_PATH)/src/libcharon \
16 $(strongswan_PATH)/src/libstrongswan
17
18 LOCAL_CFLAGS := $(strongswan_CFLAGS) \
19 -DPLUGINS='"$(strongswan_CHARON_PLUGINS)"'
20
21 LOCAL_MODULE := libandroidbridge
22
23 LOCAL_MODULE_TAGS := optional
24
25 LOCAL_ARM_MODE := arm
26
27 LOCAL_PRELINK_MODULE := false
28
29 LOCAL_LDLIBS := -llog
30
31 LOCAL_SHARED_LIBRARIES := libstrongswan libhydra libipsec libcharon
32
33 include $(BUILD_SHARED_LIBRARY)
34
35