Blob Blame History Raw
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)     \