summaryrefslogtreecommitdiff
path: root/jni/ruby.mk
blob: b4064012596e0c8bde2c5a25c6887948405ac8f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)