35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# File: Android.mk
|
|
#use current directory
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_LDLIBS := -landroid -llog
|
|
LOCAL_MODULE := yap0
|
|
LOCAL_SRC_FILES += @GMPDIR@/lib/libgmp.so
|
|
include $(PREBUILT_SHARED_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := yap1
|
|
LOCAL_SRC_FILES += @abs_top_builddir@/libYap.a
|
|
include $(PREBUILT_STATIC_LIBRARY)
|
|
|
|
|
|
include $(LOCAL_PATH)/sqlite/Android.mk
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
NDK_TOOLCHAIN_VERSION := @GCC_VERSION@
|
|
LOCAL_LDLIBS := -landroid -llog
|
|
LOCAL_MODULE := example
|
|
LOCAL_SHARED_LIBRARIES := yap0 yap1 sqliteX
|
|
LOCAL_STATIC_LIBRARIES := @abs_top_builddir@/libYap.ar
|
|
LOCAL_SRC_FILES += @abs_top_builddir@/packages/swig/android/jni/yap_wrap.cpp
|
|
LOCAL_SRC_FILES += @srcdir@/../prosqlite/c/prosqlite.c
|
|
LOCAL_C_INCLUDES := @abs_top_builddir@ @GMPDIR@/include @srcdir@/../../H @srcdir@/../../include @srcdir@/../../os @srcdir@/../../OPTYap @srcdir@/../../BEAM @srcdir@/../../CXX sqlite
|
|
LOCAL_CFLAGS := @YAP_EXTRAS@ @DEFS@ -D_YAP_NOT_INSTALLED_=1 -DDESTDIR=\"\"
|
|
LOCAL_CPP_FEATURES := rtti
|
|
# LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
|
|
include $(BUILD_SHARED_LIBRARY)
|