aboutsummaryrefslogtreecommitdiffstats
path: root/builtins/Android.mk
blob: ad04399373c5ab1f45037550a9e8742d19ba6308 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
LOCAL_PATH:= $(call my-dir)

# ========================================================
# libbuiltins.a
# ========================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	alias.c \
	bashgetopt.c \
	bind.c \
	break.c \
	builtin.c \
	builtins.c \
	caller.c \
	cd.c \
	colon.c \
	command.c \
	common.c \
	complete.c \
	declare.c \
	echo.c \
	enable.c \
	eval.c \
	evalfile.c \
	evalstring.c \
	exec.c \
	exit.c \
	fc.c \
	fg_bg.c \
	getopt.c \
	getopts.c \
	hash.c \
	help.c \
	history.c \
	jobs.c \
	kill.c \
	let.c \
	mapfile.c \
	printf.c \
	pushd.c \
	read.c \
	return.c \
	setattr.c \
	set.c \
	shift.c \
	shopt.c \
	source.c \
	suspend.c \
	test.c \
	times.c \
	trap.c \
	type.c \
	ulimit.c \
	umask.c \
	wait.c
LOCAL_C_INCLUDES += \
	$(LOCAL_PATH)/../ \
	$(LOCAL_PATH)/../include \
	$(LOCAL_PATH)/../lib
LOCAL_CFLAGS += \
	-DHAVE_CONFIG_H \
	-DPROGRAM=\"bash\" \
	-DCONF_HOSTTYPE=\"arm\" \
	-DCONF_OSTYPE=\"android-eabi\" \
	-DCONF_MACHTYPE=\"arm-android-eabi\" \
	-DCONF_VENDOR=\"unknown\"
LOCAL_MODULE := libbuiltins
include $(BUILD_STATIC_LIBRARY)

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