Blame project/variants/3.7.1/common.mk

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