summaryrefslogtreecommitdiff
path: root/project/common.mk
blob: fe089defa844ebf4aeadf4e2d2e16be668337d68 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Objects/%.lo:	$(SOURCE_DIR)/Objects/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
		$(CC) -c -o $@ $< $(CFLAGS_SHARED)

Objects/%.o:	$(SOURCE_DIR)/Objects/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
		$(CC) -c -o $@ $< $(CFLAGS_STATIC)

Parser/%.lo:	$(SOURCE_DIR)/Parser/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
		$(CC) -c -o $@ $< $(CFLAGS_SHARED)

Parser/%.o:	$(SOURCE_DIR)/Parser/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
		$(CC) -c -o $@ $< $(CFLAGS_STATIC)

Python/%.lo:	$(SOURCE_DIR)/Python/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
		$(CC) -c -o $@ $< $(CFLAGS_SHARED)

Python/%.o:	$(SOURCE_DIR)/Python/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
		$(CC) -c -o $@ $< $(CFLAGS_STATIC)


OBJECT_SRCS = \
	Objects/abstract.c \
	Objects/boolobject.c \
	Objects/bufferobject.c \
	Objects/bytearrayobject.c \
	Objects/bytes_methods.c \
	Objects/capsule.c \
	Objects/cellobject.c \
	Objects/classobject.c \
	Objects/cobject.c \
	Objects/codeobject.c \
	Objects/complexobject.c \
	Objects/descrobject.c \
	Objects/dictobject.c \
	Objects/enumobject.c \
	Objects/exceptions.c \
	Objects/fileobject.c \
	Objects/floatobject.c \
	Objects/frameobject.c \
	Objects/funcobject.c \
	Objects/genobject.c \
	Objects/intobject.c \
	Objects/iterobject.c \
	Objects/listobject.c \
	Objects/longobject.c \
	Objects/memoryobject.c \
	Objects/methodobject.c \
	Objects/moduleobject.c \
	Objects/object.c \
	Objects/obmalloc.c \
	Objects/rangeobject.c \
	Objects/setobject.c \
	Objects/sliceobject.c \
	Objects/stringobject.c \
	Objects/structseq.c \
	Objects/tupleobject.c \
	Objects/typeobject.c \
	Objects/unicodeobject.c \
	Objects/unicodectype.c \
	Objects/weakrefobject.c \

PARSER_SRCS = \
	Parser/acceler.c \
	Parser/bitset.c \
	Parser/firstsets.c \
	Parser/grammar.c \
	Parser/grammar1.c \
	Parser/listnode.c \
	Parser/metagrammar.c \
	Parser/myreadline.c \
	Parser/node.c \
	Parser/parser.c \
	Parser/parsetok.c \
	Parser/pgen.c \
	Parser/tokenizer.c \

PYTHON_SRCS = \
	Python/Python-ast.c \
	Python/_warnings.c \
	Python/asdl.c \
	Python/ast.c \
	Python/bltinmodule.c \
	Python/ceval.c \
	Python/codecs.c \
	Python/compile.c \
	Python/dtoa.c \
	Python/errors.c \
	Python/formatter_string.c \
	Python/formatter_unicode.c \
	Python/frozen.c \
	Python/frozenmain.c \
	Python/future.c \
	Python/getargs.c \
	Python/getcompiler.c \
	Python/getcopyright.c \
	Python/getopt.c \
	Python/getplatform.c \
	Python/getversion.c \
	Python/graminit.c \
	Python/import.c \
	Python/importdl.c \
	Python/marshal.c \
	Python/modsupport.c \
	Python/mysnprintf.c \
	Python/mystrtoul.c \
	Python/peephole.c \
	Python/pyarena.c \
	Python/pyctype.c \
	Python/pyfpe.c \
	Python/pymath.c \
	Python/pystate.c \
	Python/pystrcmp.c \
	Python/pystrtod.c \
	Python/pythonrun.c \
	Python/random.c \
	Python/structmember.c \
	Python/symtable.c \
	Python/sysmodule.c \
	Python/thread.c \
	Python/traceback.c \

APP_SRCS = \

COMMON_SRCS = \
	$(OBJECT_SRCS)     \
	$(PARSER_SRCS)     \
	$(PYTHON_SRCS)     \