32 lines
1.0 KiB
Makefile
32 lines
1.0 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 += @abs_top_builddir@/../../gmp/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 $(CLEAR_VARS)
|
|
|
|
|
|
NDK_TOOLCHAIN_VERSION := @GCC_VERSION@
|
|
LOCAL_LDLIBS := -landroid -llog
|
|
LOCAL_MODULE := example
|
|
LOCAL_SHARED_LIBRARIES := yap0 yap1
|
|
LOCAL_STATIC_LIBRARIES := @abs_top_builddir@/libYap.ar
|
|
LOCAL_SRC_FILES += @abs_top_builddir@/packages/swig/android/jni/yap_wrap.cpp
|
|
LOCAL_C_INCLUDES := @abs_top_builddir@ @abs_top_builddir@/../../gmp/include @srcdir@/../../H @srcdir@/../../include @srcdir@/../../os @srcdir@/../../OPTYap @srcdir@/../../BEAM @srcdir@/../../CXX
|
|
LOCAL_CFLAGS := @YAP_EXTRAS@ @DEFS@ -D_YAP_NOT_INSTALLED_=1 -DDESTDIR=\"\"
|
|
LOCAL_CPP_FEATURES := rtti
|
|
# LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
|
|
include $(BUILD_SHARED_LIBRARY)
|