aboutsummaryrefslogtreecommitdiffstats
path: root/lib/readline/Android.mk
blob: be5eceb842e06ff631bd63277c5c5f00851719c4 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
LOCAL_PATH:= $(call my-dir)

# ========================================================
# libhistory.a
# ========================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	history.c \
	histexpand.c \
	histfile.c \
	histsearch.c \
	shell.c \
	savestring.c \
	mbutil.c \
	xmalloc.c

LOCAL_C_INCLUDES += \
	$(LOCAL_PATH)/../.. \
	$(LOCAL_PATH)/../../include \
	$(LOCAL_PATH)/../../lib

LOCAL_CFLAGS += \
	-DHAVE_CONFIG_H

LOCAL_MODULE := libhistory

LOCAL_MODULE_TAGS := eng

include $(BUILD_STATIC_LIBRARY)

# ========================================================
# libreadline.a
# ========================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	readline.c \
	vi_mode.c \
	funmap.c \
	keymaps.c \
	parens.c \
	search.c \
	rltty.c \
	complete.c \
	bind.c \
	isearch.c \
	display.c \
	signals.c \
	util.c \
	kill.c \
	undo.c \
	macro.c \
	input.c \
	callback.c \
	terminal.c \
	text.c \
	nls.c \
	misc.c \
	history.c \
	histexpand.c \
	histfile.c \
	histsearch.c \
	shell.c \
	savestring.c \
	mbutil.c \
	tilde.c \
	xmalloc.c \
	compat.c

LOCAL_C_INCLUDES += \
	$(LOCAL_PATH)/../.. \
	$(LOCAL_PATH)/../../include \
	$(LOCAL_PATH)/../../lib

LOCAL_CFLAGS += \
	-DHAVE_CONFIG_H

LOCAL_MODULE := libreadline

LOCAL_MODULE_TAGS := eng

include $(BUILD_STATIC_LIBRARY)

# ========================================================
include $(call all-makefiles-under,$(LOCAL_PATH))