diff options
author | Dan Pasanen <dan.pasanen@gmail.com> | 2014-10-02 14:08:59 -0500 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2014-10-02 14:25:19 -0500 |
commit | c6e37862a742387dafd6e175c6d9cb38df5f81e3 (patch) | |
tree | 00623bbab3f1c1fe7fd8a3f85823333663d7c71e /lib | |
parent | 90a39f32de629ce849276388300f718db331c8b8 (diff) | |
download | android_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')
-rw-r--r-- | lib/Android.mk | 2 | ||||
-rw-r--r-- | lib/glob/Android.mk | 30 | ||||
-rw-r--r-- | lib/readline/Android.mk | 88 | ||||
-rw-r--r-- | lib/sh/Android.mk | 36 | ||||
-rw-r--r-- | lib/tilde/Android.mk | 26 |
5 files changed, 182 insertions, 0 deletions
diff --git a/lib/Android.mk b/lib/Android.mk new file mode 100644 index 0000000..cfd03be --- /dev/null +++ b/lib/Android.mk @@ -0,0 +1,2 @@ +LOCAL_PATH:= $(call my-dir) +include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/lib/glob/Android.mk b/lib/glob/Android.mk new file mode 100644 index 0000000..b22b8b5 --- /dev/null +++ b/lib/glob/Android.mk @@ -0,0 +1,30 @@ +LOCAL_PATH:= $(call my-dir) + +# ======================================================== +# libglob.a +# ======================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + glob.c \ + smatch.c \ + strmatch.c \ + xmbsrtowcs.c \ + gmisc.c + +LOCAL_C_INCLUDES += \ + $(LOCAL_PATH)/../.. \ + $(LOCAL_PATH)/../../include \ + $(LOCAL_PATH)/../../lib + +LOCAL_CFLAGS += \ + -DHAVE_CONFIG_H + +LOCAL_MODULE_TAGS := eng + +LOCAL_MODULE := libglob + +include $(BUILD_STATIC_LIBRARY) + +# ======================================================== +include $(call all-makefiles-under,$(LOCAL_PATH)) 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)) diff --git a/lib/sh/Android.mk b/lib/sh/Android.mk new file mode 100644 index 0000000..3e5bedd --- /dev/null +++ b/lib/sh/Android.mk @@ -0,0 +1,36 @@ +LOCAL_PATH:= $(call my-dir) + +# ======================================================== +# libsh.a +# ======================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + clktck.c clock.c getenv.c oslib.c setlinebuf.c strnlen.c \ + itos.c zread.c zwrite.c shtty.c shmatch.c eaccess.c \ + netconn.c netopen.c timeval.c makepath.c pathcanon.c \ + pathphys.c tmpfile.c stringlist.c stringvec.c spell.c shquote.c \ + strtrans.c snprintf.c mailstat.c fmtulong.c \ + fmtullong.c fmtumax.c zcatfd.c zmapfd.c winsize.c wcsdup.c \ + fpurge.c zgetline.c mbscmp.c uconvert.c ufuncs.c casemod.c \ + input_avail.c mbscasecmp.c fnxform.c mbschr.c \ + shmbchar.c unicode.c + +LOCAL_C_INCLUDES += \ + $(LOCAL_PATH)/../.. \ + $(LOCAL_PATH)/../../include \ + $(LOCAL_PATH)/../../lib \ + external/clearsilver \ + external/clearsilver/util/regex + +LOCAL_CFLAGS += \ + -DHAVE_CONFIG_H + +LOCAL_MODULE := libsh + +LOCAL_MODULE_TAGS := eng + +include $(BUILD_STATIC_LIBRARY) + +# ======================================================== +include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/lib/tilde/Android.mk b/lib/tilde/Android.mk new file mode 100644 index 0000000..34ddf75 --- /dev/null +++ b/lib/tilde/Android.mk @@ -0,0 +1,26 @@ +LOCAL_PATH:= $(call my-dir) + +# ======================================================== +# libtilde.a +# ======================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + tilde.c + +LOCAL_C_INCLUDES += \ + $(LOCAL_PATH)/../.. \ + $(LOCAL_PATH)/../../include \ + $(LOCAL_PATH)/../../lib + +LOCAL_CFLAGS += \ + -DHAVE_CONFIG_H + +LOCAL_MODULE := libtilde + +LOCAL_MODULE_TAGS := eng + +include $(BUILD_STATIC_LIBRARY) + +# ======================================================== +include $(call all-makefiles-under,$(LOCAL_PATH)) |