Blame project/variants/3.7.2/common.mk

5a6632
core/%.lo:		CFLAGS_SHARED += -DPy_BUILD_CORE
5a6632
core/%.o:		CFLAGS_STATIC += -DPy_BUILD_CORE
5a6632
core/%.o:		CFLAGS_APP    += -DPy_BUILD_CORE
5a6632
5a6632
core/Modules/config.lo:	build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
5a6632
			$(CC) -c -o $@ $< $(CFLAGS_SHARED)
5a6632
5a6632
core/Modules/config.o:	build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
5a6632
			$(CC) -c -o $@ $< $(CFLAGS_STATIC)
5a6632
5a6632
core/%.lo:		$(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
5a6632
			$(CC) -c -o $@ $< $(CFLAGS_SHARED)
5a6632
5a6632
core/%.o:		$(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
5a6632
			$(CC) -c -o $@ $< $(CFLAGS_STATIC)
5a6632
5a6632
5a6632
MODULE_SRCS = \
5a6632
	core/Modules/_abc.c \
5a6632
	core/Modules/_codecsmodule.c \
5a6632
	core/Modules/_collectionsmodule.c \
5a6632
	core/Modules/_functoolsmodule.c \
5a6632
	core/Modules/_localemodule.c \
5a6632
	core/Modules/_operator.c \
5a6632
	core/Modules/_sre.c \
5a6632
	core/Modules/_stat.c \
5a6632
	core/Modules/_threadmodule.c \
5a6632
	core/Modules/_tracemalloc.c \
5a6632
	core/Modules/_weakref.c \
5a6632
	core/Modules/atexitmodule.c \
5a6632
	core/Modules/config.c \
5a6632
	core/Modules/errnomodule.c \
5a6632
	core/Modules/faulthandler.c \
5a6632
	core/Modules/gcmodule.c \
5a6632
	core/Modules/getbuildinfo.c \
5a6632
	core/Modules/getpath.c \
5a6632
	core/Modules/hashtable.c \
5a6632
	core/Modules/itertoolsmodule.c \
5a6632
	core/Modules/main.c \
5a6632
	core/Modules/posixmodule.c \
5a6632
	core/Modules/pwdmodule.c \
5a6632
	core/Modules/signalmodule.c \
5a6632
	core/Modules/symtablemodule.c \
5a6632
	core/Modules/timemodule.c \
5a6632
	core/Modules/xxsubtype.c \
5a6632
	core/Modules/zipimport.c \
5a6632
	core/Modules/_io/_iomodule.c \
5a6632
	core/Modules/_io/bufferedio.c \
5a6632
	core/Modules/_io/bytesio.c \
5a6632
	core/Modules/_io/fileio.c \
5a6632
	core/Modules/_io/iobase.c \
5a6632
	core/Modules/_io/stringio.c \
5a6632
	core/Modules/_io/textio.c \
5a6632
5a6632
OBJECT_SRCS = \
5a6632
	core/Objects/abstract.c \
5a6632
	core/Objects/accu.c \
5a6632
	core/Objects/boolobject.c \
5a6632
	core/Objects/bytearrayobject.c \
5a6632
	core/Objects/bytes_methods.c \
5a6632
	core/Objects/bytesobject.c \
5a6632
	core/Objects/call.c \
5a6632
	core/Objects/capsule.c \
5a6632
	core/Objects/cellobject.c \
5a6632
	core/Objects/classobject.c \
5a6632
	core/Objects/codeobject.c \
5a6632
	core/Objects/complexobject.c \
5a6632
	core/Objects/descrobject.c \
5a6632
	core/Objects/dictobject.c \
5a6632
	core/Objects/enumobject.c \
5a6632
	core/Objects/exceptions.c \
5a6632
	core/Objects/fileobject.c \
5a6632
	core/Objects/floatobject.c \
5a6632
	core/Objects/frameobject.c \
5a6632
	core/Objects/funcobject.c \
5a6632
	core/Objects/genobject.c \
5a6632
	core/Objects/iterobject.c \
5a6632
	core/Objects/listobject.c \
5a6632
	core/Objects/longobject.c \
5a6632
	core/Objects/memoryobject.c \
5a6632
	core/Objects/methodobject.c \
5a6632
	core/Objects/moduleobject.c \
5a6632
	core/Objects/namespaceobject.c \
5a6632
	core/Objects/object.c \
5a6632
	core/Objects/obmalloc.c \
5a6632
	core/Objects/odictobject.c \
5a6632
	core/Objects/rangeobject.c \
5a6632
	core/Objects/setobject.c \
5a6632
	core/Objects/sliceobject.c \
5a6632
	core/Objects/structseq.c \
5a6632
	core/Objects/tupleobject.c \
5a6632
	core/Objects/typeobject.c \
5a6632
	core/Objects/unicodectype.c \
5a6632
	core/Objects/unicodeobject.c \
5a6632
	core/Objects/weakrefobject.c \
5a6632
5a6632
PARSER_SRCS = \
5a6632
	core/Parser/acceler.c \
5a6632
	core/Parser/bitset.c \
5a6632
	core/Parser/firstsets.c \
5a6632
	core/Parser/grammar.c \
5a6632
	core/Parser/grammar1.c \
5a6632
	core/Parser/listnode.c \
5a6632
	core/Parser/metagrammar.c \
5a6632
	core/Parser/myreadline.c \
5a6632
	core/Parser/node.c \
5a6632
	core/Parser/parser.c \
5a6632
	core/Parser/parsetok.c \
5a6632
	core/Parser/pgen.c \
5a6632
	core/Parser/tokenizer.c \
5a6632
5a6632
PYTHON_SRCS = \
5a6632
	core/Python/Python-ast.c \
5a6632
	core/Python/_warnings.c \
5a6632
	core/Python/asdl.c \
5a6632
	core/Python/ast.c \
5a6632
	core/Python/ast_opt.c \
5a6632
	core/Python/ast_unparse.c \
5a6632
	core/Python/bltinmodule.c \
5a6632
	core/Python/bootstrap_hash.c \
5a6632
	core/Python/ceval.c \
5a6632
	core/Python/codecs.c \
5a6632
	core/Python/compile.c \
5a6632
	core/Python/context.c \
5a6632
	core/Python/dtoa.c \
5a6632
	core/Python/dynamic_annotations.c \
5a6632
	core/Python/errors.c \
5a6632
	core/Python/fileutils.c \
5a6632
	core/Python/formatter_unicode.c \
5a6632
	core/Python/frozen.c \
5a6632
	core/Python/frozenmain.c \
5a6632
	core/Python/future.c \
5a6632
	core/Python/getargs.c \
5a6632
	core/Python/getcompiler.c \
5a6632
	core/Python/getcopyright.c \
5a6632
	core/Python/getopt.c \
5a6632
	core/Python/getplatform.c \
5a6632
	core/Python/getversion.c \
5a6632
	core/Python/graminit.c \
5a6632
	core/Python/hamt.c \
5a6632
	core/Python/import.c \
5a6632
	core/Python/importdl.c \
5a6632
	core/Python/marshal.c \
5a6632
	core/Python/modsupport.c \
5a6632
	core/Python/mysnprintf.c \
5a6632
	core/Python/mystrtoul.c \
5a6632
	core/Python/pathconfig.c \
5a6632
	core/Python/peephole.c \
5a6632
	core/Python/pyarena.c \
5a6632
	core/Python/pyctype.c \
5a6632
	core/Python/pyfpe.c \
5a6632
	core/Python/pyhash.c \
5a6632
	core/Python/pylifecycle.c \
5a6632
	core/Python/pymath.c \
5a6632
	core/Python/pystate.c \
5a6632
	core/Python/pystrcmp.c \
5a6632
	core/Python/pystrhex.c \
5a6632
	core/Python/pystrtod.c \
5a6632
	core/Python/pythonrun.c \
5a6632
	core/Python/pytime.c \
5a6632
	core/Python/structmember.c \
5a6632
	core/Python/symtable.c \
5a6632
	core/Python/sysmodule.c \
5a6632
	core/Python/thread.c \
5a6632
	core/Python/traceback.c \
5a6632
5a6632
APP_SRCS = \
5a6632
	core/Programs/python.c \
5a6632
5a6632
COMMON_SRCS = \
5a6632
	$(CONFIG_SRCS)     \
5a6632
	$(MODULE_SRCS)     \
5a6632
	$(OBJECT_SRCS)     \
5a6632
	$(PARSER_SRCS)     \
5a6632
	$(PYTHON_SRCS)     \