blob: 0509f98a3d2c19734d0bc44a09b3f4932db88777 [file] [log] [blame]
Dan Pasanenc6e37862014-10-02 14:08:59 -05001LOCAL_PATH:= $(call my-dir)
2
3# ========================================================
4# libhistory.a
5# ========================================================
6include $(CLEAR_VARS)
7
8LOCAL_SRC_FILES:= \
9 history.c \
10 histexpand.c \
11 histfile.c \
12 histsearch.c \
13 shell.c \
14 savestring.c \
15 mbutil.c \
16 xmalloc.c
17
18LOCAL_C_INCLUDES += \
19 $(LOCAL_PATH)/../.. \
20 $(LOCAL_PATH)/../../include \
21 $(LOCAL_PATH)/../../lib
22
23LOCAL_CFLAGS += \
24 -DHAVE_CONFIG_H
25
26LOCAL_MODULE := libhistory
27
28LOCAL_MODULE_TAGS := eng
29
30include $(BUILD_STATIC_LIBRARY)
31
32# ========================================================
33# libreadline.a
34# ========================================================
35include $(CLEAR_VARS)
36
37LOCAL_SRC_FILES:= \
38 readline.c \
39 vi_mode.c \
40 funmap.c \
41 keymaps.c \
42 parens.c \
43 search.c \
44 rltty.c \
45 colors.c \
46 parse-colors.c \
47 complete.c \
48 bind.c \
49 isearch.c \
50 display.c \
51 signals.c \
52 util.c \
53 kill.c \
54 undo.c \
55 macro.c \
56 input.c \
57 callback.c \
58 terminal.c \
59 text.c \
60 nls.c \
61 misc.c \
62 history.c \
63 histexpand.c \
64 histfile.c \
65 histsearch.c \
66 shell.c \
67 savestring.c \
68 mbutil.c \
69 tilde.c \
70 xmalloc.c \
71 compat.c
72
73LOCAL_C_INCLUDES += \
74 $(LOCAL_PATH)/../.. \
75 $(LOCAL_PATH)/../../include \
76 $(LOCAL_PATH)/../../lib
77
78LOCAL_CFLAGS += \
79 -DHAVE_CONFIG_H
80
81LOCAL_MODULE := libreadline
82
83LOCAL_MODULE_TAGS := eng
84
85include $(BUILD_STATIC_LIBRARY)
86
87# ========================================================
88include $(call all-makefiles-under,$(LOCAL_PATH))