diff options
Diffstat (limited to 'jni/ruby.mk')
-rw-r--r-- | jni/ruby.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/jni/ruby.mk b/jni/ruby.mk new file mode 100644 index 0000000..b406401 --- /dev/null +++ b/jni/ruby.mk @@ -0,0 +1,19 @@ +include $(CLEAR_VARS) +LOCAL_MODULE:= ruby +LOCAL_CFLAGS:= -DRUBY_EXPORT -pthread +LOCAL_C_INCLUDES := jni/ruby/include jni/ruby +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES) +LOCAL_SRC_FILES := $(filter-out \ + %/id.c %/siphash.c %/lex.c %/vm_args.c %/sparc.c %/vm_exec.c %/vsnprintf.c %/eventids%.c %/goruby.c \ + %/eval_%.c %/thread_%.c %/vm_insnhelper.c %/vm_method.c %/vm_eval.c %/eval_error.c %/eval_jump.c,$(wildcard jni/ruby/*.c)) \ + jni/ruby/enc/ascii.c \ + jni/ruby/enc/us_ascii.c \ + jni/ruby/enc/unicode.c \ + jni/ruby/enc/utf_8.c \ + jni/ruby/ext/zlib/zlib.c \ + jni/ruby/missing/setproctitle.c \ + jni/ruby/missing/strlcat.c \ + jni/ruby/missing/strlcpy.c \ + jni/ruby/missing/ffs.c \ + jni/ruby/missing/crypt.c +include $(BUILD_STATIC_LIBRARY) |