Blame project/common.mk

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