mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
bpo-37589: Add a few missing dependencies on .h files in the Makefile. (GH-15757)
The missing dependencies prevented incremental builds from working when you touched any of these files. Based on GH-14758 by @vemakereporter.
This commit is contained in:
parent
3a0ddbcdfc
commit
b4612f5d54
@ -305,8 +305,9 @@ POBJS= \
|
||||
PARSER_OBJS= $(POBJS) Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o
|
||||
|
||||
PARSER_HEADERS= \
|
||||
$(srcdir)/Parser/parser.h \
|
||||
$(srcdir)/Include/grammar.h \
|
||||
$(srcdir)/Include/parsetok.h \
|
||||
$(srcdir)/Parser/parser.h \
|
||||
$(srcdir)/Parser/tokenizer.h
|
||||
|
||||
##########################################################################
|
||||
@ -865,7 +866,7 @@ regen-symbol: $(srcdir)/Include/graminit.h
|
||||
$(srcdir)/Include/graminit.h \
|
||||
$(srcdir)/Lib/symbol.py
|
||||
|
||||
Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o: $(srcdir)/Include/graminit.h $(srcdir)/Include/Python-ast.h
|
||||
Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o Parser/parsetok.o: $(srcdir)/Include/graminit.h $(srcdir)/Include/Python-ast.h
|
||||
|
||||
Python/getplatform.o: $(srcdir)/Python/getplatform.c
|
||||
$(CC) -c $(PY_CORE_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
|
||||
@ -965,11 +966,11 @@ PYTHON_HEADERS= \
|
||||
$(srcdir)/Include/abstract.h \
|
||||
$(srcdir)/Include/asdl.h \
|
||||
$(srcdir)/Include/ast.h \
|
||||
$(srcdir)/Include/bltinmodule.h \
|
||||
$(srcdir)/Include/bitset.h \
|
||||
$(srcdir)/Include/bltinmodule.h \
|
||||
$(srcdir)/Include/boolobject.h \
|
||||
$(srcdir)/Include/bytes_methods.h \
|
||||
$(srcdir)/Include/bytearrayobject.h \
|
||||
$(srcdir)/Include/bytes_methods.h \
|
||||
$(srcdir)/Include/bytesobject.h \
|
||||
$(srcdir)/Include/cellobject.h \
|
||||
$(srcdir)/Include/ceval.h \
|
||||
@ -978,6 +979,7 @@ PYTHON_HEADERS= \
|
||||
$(srcdir)/Include/codecs.h \
|
||||
$(srcdir)/Include/compile.h \
|
||||
$(srcdir)/Include/complexobject.h \
|
||||
$(srcdir)/Include/context.h \
|
||||
$(srcdir)/Include/descrobject.h \
|
||||
$(srcdir)/Include/dictobject.h \
|
||||
$(srcdir)/Include/dtoa.h \
|
||||
@ -1007,6 +1009,7 @@ PYTHON_HEADERS= \
|
||||
$(srcdir)/Include/node.h \
|
||||
$(srcdir)/Include/object.h \
|
||||
$(srcdir)/Include/objimpl.h \
|
||||
$(srcdir)/Include/odictobject.h \
|
||||
$(srcdir)/Include/opcode.h \
|
||||
$(srcdir)/Include/osdefs.h \
|
||||
$(srcdir)/Include/osmodule.h \
|
||||
@ -1021,15 +1024,15 @@ PYTHON_HEADERS= \
|
||||
$(srcdir)/Include/pyfpe.h \
|
||||
$(srcdir)/Include/pyhash.h \
|
||||
$(srcdir)/Include/pylifecycle.h \
|
||||
$(srcdir)/Include/pymath.h \
|
||||
$(srcdir)/Include/pymacconfig.h \
|
||||
$(srcdir)/Include/pymacro.h \
|
||||
$(srcdir)/Include/pymath.h \
|
||||
$(srcdir)/Include/pymem.h \
|
||||
$(srcdir)/Include/pyport.h \
|
||||
$(srcdir)/Include/pystate.h \
|
||||
$(srcdir)/Include/context.h \
|
||||
$(srcdir)/Include/pystrcmp.h \
|
||||
$(srcdir)/Include/pystrtod.h \
|
||||
$(srcdir)/Include/pystrhex.h \
|
||||
$(srcdir)/Include/pystrtod.h \
|
||||
$(srcdir)/Include/pythonrun.h \
|
||||
$(srcdir)/Include/pythread.h \
|
||||
$(srcdir)/Include/pytime.h \
|
||||
@ -1040,6 +1043,7 @@ PYTHON_HEADERS= \
|
||||
$(srcdir)/Include/structseq.h \
|
||||
$(srcdir)/Include/symtable.h \
|
||||
$(srcdir)/Include/sysmodule.h \
|
||||
$(srcdir)/Include/token.h \
|
||||
$(srcdir)/Include/traceback.h \
|
||||
$(srcdir)/Include/tracemalloc.h \
|
||||
$(srcdir)/Include/tupleobject.h \
|
||||
|
Loading…
Reference in New Issue
Block a user