forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroid.mk
More file actions
26 lines (18 loc) · 932 Bytes
/
Copy pathAndroid.mk
File metadata and controls
26 lines (18 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := intl
APP_SUBDIRS := src
# Add more subdirs here, like src/subdir1 src/subdir2
LOCAL_CFLAGS := -I$(LOCAL_PATH)/src -DBUILDING_LIBINTL -DBUILDING_DLL \
-DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY \
-Dset_relocation_prefix=libintl_set_relocation_prefix \
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 \
-DNO_XMALLOC -DHAVE_CONFIG_H \
-DLOCALEDIR=\"/usr/local/share/locale\" \
-DLIBDIR=\"/usr/local/lib\" \
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" \
-DINSTALLDIR=\"/usr/local/lib\"
# -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" \
# -DINSTALLDIR=\"/usr/local/lib\"
LOCAL_SRC_FILES := $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wildcard $(LOCAL_PATH)/$(F)/*.c))))
include $(BUILD_SHARED_LIBRARY)