aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/Android.mk
blob: 2088a7e22c91017a20789e03e8c7d11468e55208 (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
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 \
	fdprintf.c input_avail.c mbscasecmp.c fnxform.c mbschr.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

include $(BUILD_STATIC_LIBRARY)

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