Global charonservice_t object added to libandroidbridge
[strongswan.git] / src / frontends / android / jni / libandroidbridge / Android.mk
index 7f25a54..fe6cd6c 100644 (file)
@@ -3,12 +3,14 @@ include $(CLEAR_VARS)
 
 # copy-n-paste from Makefile.am
 LOCAL_SRC_FILES := \
-charonservice.c
+android_jni.c android_jni.h \
+charonservice.c charonservice.h
 
 # build libandroidbridge -------------------------------------------------------
 
 LOCAL_C_INCLUDES += \
        $(libvstr_PATH) \
+       $(strongswan_PATH)/src/libipsec \
        $(strongswan_PATH)/src/libhydra \
        $(strongswan_PATH)/src/libcharon \
        $(strongswan_PATH)/src/libstrongswan
@@ -26,7 +28,7 @@ LOCAL_PRELINK_MODULE := false
 
 LOCAL_LDLIBS := -llog
 
-LOCAL_SHARED_LIBRARIES := libstrongswan libhydra libcharon
+LOCAL_SHARED_LIBRARIES := libstrongswan libhydra libipsec libcharon
 
 include $(BUILD_SHARED_LIBRARY)