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/sh | |
| 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/sh')
| -rw-r--r-- | lib/sh/Android.mk | 36 |
1 files changed, 36 insertions, 0 deletions
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)) |
