diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-09-04 11:56:47 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-09-04 11:56:47 +0000 |
| commit | 35a98594be9d6c946ffcc3821c8726556da9fc50 (patch) | |
| tree | 50f2ed48468b2f5dc810aa347e22efb902435dc9 /src/runtime/android | |
| parent | c837f3927e366ccee75d21427cfc741066d5e80d (diff) | |
added make file for compiling the C runtime for Android. The JIT compiler for Android is temporary disabled
Diffstat (limited to 'src/runtime/android')
| -rw-r--r-- | src/runtime/android/Android.mk | 14 | ||||
| -rw-r--r-- | src/runtime/android/Application.mk | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/runtime/android/Android.mk b/src/runtime/android/Android.mk new file mode 100644 index 000000000..3933ce767 --- /dev/null +++ b/src/runtime/android/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +jni_c_files := ../java/jpgf.c +pgf_c_files := data.c expr.c graphviz.c lexer.c linearizer.c literals.c parser.c parseval.c pgf.c printer.c reader.c reasoner.c +gu_c_files := assert.c choice.c dump.c exn.c fun.c in.c list.c map.c out.c read.c str.c type.c utf8.c write.c \ +bits.c defs.c enum.c file.c hash.c intern.c log.c mem.c prime.c seq.c string.c ucs.c variant.c yaml.c + +LOCAL_MODULE := jpgf +LOCAL_SRC_FILES := $(addprefix ../c/pgf/, $(pgf_c_files)) $(addprefix ../c/gu/, $(gu_c_files)) +LOCAL_C_INCLUDES := ../c + +include $(BUILD_SHARED_LIBRARY) diff --git a/src/runtime/android/Application.mk b/src/runtime/android/Application.mk new file mode 100644 index 000000000..1c6face0e --- /dev/null +++ b/src/runtime/android/Application.mk @@ -0,0 +1,2 @@ + +APP_CFLAGS := -std=gnu99 |
