summaryrefslogtreecommitdiff
path: root/project/variants/3.7.2/common.mk
blob: add870513eb3a4be650eec0601b1db3a8f46aa91 (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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
core/%.ao:		CFLAGS_APP    += -DPy_BUILD_CORE
core/%.lo:		CFLAGS_SHARED += -DPy_BUILD_CORE
core/%.o:		CFLAGS_STATIC += -DPy_BUILD_CORE

core/Modules/config.lo:	build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
			$(CC) -c -o $@ $< $(CFLAGS_SHARED)

core/Modules/config.o:	build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
			$(CC) -c -o $@ $< $(CFLAGS_STATIC)

core/%.ao:		$(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
			$(CC) -c -o $@ $< $(CFLAGS_APP)

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

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


MODULE_SRCS = \
	core/Modules/_abc.c \
	core/Modules/_codecsmodule.c \
	core/Modules/_collectionsmodule.c \
	core/Modules/_functoolsmodule.c \
	core/Modules/_localemodule.c \
	core/Modules/_operator.c \
	core/Modules/_sre.c \
	core/Modules/_stat.c \
	core/Modules/_threadmodule.c \
	core/Modules/_tracemalloc.c \
	core/Modules/_weakref.c \
	core/Modules/atexitmodule.c \
	core/Modules/config.c \
	core/Modules/errnomodule.c \
	core/Modules/faulthandler.c \
	core/Modules/gcmodule.c \
	core/Modules/getbuildinfo.c \
	core/Modules/getpath.c \
	core/Modules/hashtable.c \
	core/Modules/itertoolsmodule.c \
	core/Modules/main.c \
	core/Modules/posixmodule.c \
	core/Modules/pwdmodule.c \
	core/Modules/signalmodule.c \
	core/Modules/symtablemodule.c \
	core/Modules/timemodule.c \
	core/Modules/xxsubtype.c \
	core/Modules/zipimport.c \
	core/Modules/_io/_iomodule.c \
	core/Modules/_io/bufferedio.c \
	core/Modules/_io/bytesio.c \
	core/Modules/_io/fileio.c \
	core/Modules/_io/iobase.c \
	core/Modules/_io/stringio.c \
	core/Modules/_io/textio.c \

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

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

PYTHON_SRCS = \
	core/Python/Python-ast.c \
	core/Python/_warnings.c \
	core/Python/asdl.c \
	core/Python/ast.c \
	core/Python/ast_opt.c \
	core/Python/ast_unparse.c \
	core/Python/bltinmodule.c \
	core/Python/bootstrap_hash.c \
	core/Python/ceval.c \
	core/Python/codecs.c \
	core/Python/compile.c \
	core/Python/context.c \
	core/Python/dtoa.c \
	core/Python/dynamic_annotations.c \
	core/Python/errors.c \
	core/Python/fileutils.c \
	core/Python/formatter_unicode.c \
	core/Python/frozen.c \
	core/Python/frozenmain.c \
	core/Python/future.c \
	core/Python/getargs.c \
	core/Python/getcompiler.c \
	core/Python/getcopyright.c \
	core/Python/getopt.c \
	core/Python/getplatform.c \
	core/Python/getversion.c \
	core/Python/graminit.c \
	core/Python/hamt.c \
	core/Python/import.c \
	core/Python/importdl.c \
	core/Python/marshal.c \
	core/Python/modsupport.c \
	core/Python/mysnprintf.c \
	core/Python/mystrtoul.c \
	core/Python/pathconfig.c \
	core/Python/peephole.c \
	core/Python/pyarena.c \
	core/Python/pyctype.c \
	core/Python/pyfpe.c \
	core/Python/pyhash.c \
	core/Python/pylifecycle.c \
	core/Python/pymath.c \
	core/Python/pystate.c \
	core/Python/pystrcmp.c \
	core/Python/pystrhex.c \
	core/Python/pystrtod.c \
	core/Python/pythonrun.c \
	core/Python/pytime.c \
	core/Python/structmember.c \
	core/Python/symtable.c \
	core/Python/sysmodule.c \
	core/Python/thread.c \
	core/Python/traceback.c \

APP_SRCS = \
	core/Programs/python.c \

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