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