aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
blob: f232172c7ac6ffccb30b9a52fc8a71d4be8a04bb (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
73
74
75
76
77
78
79
80
81
82
83
84
# 
# Copyright 2006 The Android Open Source Project
#
# Android Asset Packaging Tool
#

ifeq ($(HOST_OS),linux)

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	lib/abitset.c \
	lib/argmatch.c \
	lib/basename.c \
	lib/bitset.c \
	lib/bitset_stats.c \
	lib/bitsetv-print.c \
	lib/bitsetv.c \
	lib/dirname.c \
	lib/dup-safer.c \
	lib/ebitset.c \
	lib/exitfail.c \
	lib/fd-safer.c \
	lib/fopen-safer.c \
	lib/get-errno.c \
	lib/hard-locale.c \
	lib/hash.c \
	lib/lbitset.c \
	lib/mbswidth.c \
	lib/pipe-safer.c \
	lib/quote.c \
	lib/quotearg.c \
	lib/stripslash.c \
	lib/subpipe.c \
	lib/timevar.c \
	lib/vbitset.c \
	lib/xalloc-die.c \
	lib/xmalloc.c \
	lib/xstrndup.c \
	\
	src/LR0.c \
	src/assoc.c \
	src/closure.c \
	src/complain.c \
	src/conflicts.c \
	src/derives.c \
	src/files.c \
	src/getargs.c \
	src/gram.c \
	src/lalr.c \
	src/location.c \
	src/main.c \
	src/muscle_tab.c \
	src/nullable.c \
	src/output.c \
	src/parse-gram.c \
	src/print.c \
	src/print_graph.c \
	src/reader.c \
	src/reduce.c \
	src/relation.c \
	src/scan-gram-c.c \
	src/scan-skel-c.c \
	src/state.c \
	src/symlist.c \
	src/symtab.c \
	src/tables.c \
	src/uniqstr.c \
	src/vcg.c

LOCAL_MODULE := bison
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_IS_HOST_MODULE := true
intermediates := $(call local-intermediates-dir)

LOCAL_CFLAGS := -DHAVE_CONFIG_H -DPKGDATADIR=\"$(PWD)/$(LOCAL_PATH)/data\"

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/lib

include $(BUILD_HOST_EXECUTABLE)

endif