aboutsummaryrefslogtreecommitdiffstats
path: root/lib/readline/Android.mk
diff options
context:
space:
mode:
authorDan Pasanen <dan.pasanen@gmail.com>2014-10-02 14:08:59 -0500
committerDan Pasanen <dan.pasanen@gmail.com>2014-10-02 14:25:19 -0500
commitc6e37862a742387dafd6e175c6d9cb38df5f81e3 (patch)
tree00623bbab3f1c1fe7fd8a3f85823333663d7c71e /lib/readline/Android.mk
parent90a39f32de629ce849276388300f718db331c8b8 (diff)
downloadandroid_external_bash-c6e37862a742387dafd6e175c6d9cb38df5f81e3.tar.gz
android_external_bash-c6e37862a742387dafd6e175c6d9cb38df5f81e3.tar.bz2
android_external_bash-c6e37862a742387dafd6e175c6d9cb38df5f81e3.zip
Set up build for android
Diffstat (limited to 'lib/readline/Android.mk')
-rw-r--r--lib/readline/Android.mk88
1 files changed, 88 insertions, 0 deletions
diff --git a/lib/readline/Android.mk b/lib/readline/Android.mk
new file mode 100644
index 0000000..0509f98
--- /dev/null
+++ b/lib/readline/Android.mk
@@ -0,0 +1,88 @@
+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 \
+ colors.c \
+ parse-colors.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))