forked from CyanogenMod/android_external_libncurses
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAndroid.mk
33 lines (26 loc) · 1019 Bytes
/
Android.mk
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
27
28
29
30
31
32
33
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-c-files-under, ncurses/tty)
LOCAL_SRC_FILES += $(call all-c-files-under, ncurses/base)
LOCAL_SRC_FILES := $(filter-out ncurses/base/sigaction.c, $(LOCAL_SRC_FILES))
LOCAL_SRC_FILES += $(call all-c-files-under, ncurses/tinfo)
LOCAL_SRC_FILES := $(filter-out ncurses/tinfo/make_keys.c, $(LOCAL_SRC_FILES))
LOCAL_SRC_FILES += ncurses/trace/lib_trace.c \
ncurses/trace/varargs.c \
ncurses/trace/visbuf.c \
ncurses/codes.c \
ncurses/comp_captab.c \
ncurses/expanded.c \
ncurses/fallback.c \
ncurses/lib_gen.c \
ncurses/lib_keyname.c \
ncurses/names.c \
ncurses/unctrl.c \
LOCAL_SRC_FILES := $(sort $(LOCAL_SRC_FILES))
LOCAL_CFLAGS := -DHAVE_CONFIG_H -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -U_POSIX_C_SOURCE -D_POSIX_C_SOURCE=199506L -DNDEBUG
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
$(LOCAL_PATH)/include \
$(LOCAL_PATH)/ncurses \
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libncurses
include $(BUILD_SHARED_LIBRARY)