summaryrefslogtreecommitdiff
path: root/project/common.mk
blob: ef0339df8a6d981e48431dcad76be25d284e60e2 (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
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/config.c \
	core/Modules/gcmodule.c \
	core/Modules/getbuildinfo.c \
	core/Modules/getpath.c \
	core/Modules/main.c \

OBJECT_SRCS = \
	core/Objects/abstract.c \
	core/Objects/boolobject.c \
	core/Objects/bufferobject.c \
	core/Objects/bytearrayobject.c \
	core/Objects/bytes_methods.c \
	core/Objects/capsule.c \
	core/Objects/cellobject.c \
	core/Objects/classobject.c \
	core/Objects/cobject.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/intobject.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/object.c \
	core/Objects/obmalloc.c \
	core/Objects/rangeobject.c \
	core/Objects/setobject.c \
	core/Objects/sliceobject.c \
	core/Objects/stringobject.c \
	core/Objects/structseq.c \
	core/Objects/tupleobject.c \
	core/Objects/typeobject.c \
	core/Objects/unicodeobject.c \
	core/Objects/unicodectype.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/bltinmodule.c \
	core/Python/ceval.c \
	core/Python/codecs.c \
	core/Python/compile.c \
	core/Python/dtoa.c \
	core/Python/errors.c \
	core/Python/formatter_string.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/import.c \
	core/Python/importdl.c \
	core/Python/marshal.c \
	core/Python/modsupport.c \
	core/Python/mysnprintf.c \
	core/Python/mystrtoul.c \
	core/Python/peephole.c \
	core/Python/pyarena.c \
	core/Python/pyctype.c \
	core/Python/pyfpe.c \
	core/Python/pymath.c \
	core/Python/pystate.c \
	core/Python/pystrcmp.c \
	core/Python/pystrtod.c \
	core/Python/pythonrun.c \
	core/Python/random.c \
	core/Python/structmember.c \
	core/Python/symtable.c \
	core/Python/sysmodule.c \
	core/Python/thread.c \
	core/Python/traceback.c \

APP_SRCS = \
	core/Modules/python.c \

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