summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorT. Wouters <thomas@python.org>2019-09-09 12:17:18 (GMT)
committerGitHub <noreply@github.com>2019-09-09 12:17:18 (GMT)
commitb4612f5d54aced5bc37f1b85bf50b4cafa2480f0 (patch)
treeaec6c8f206176eac755475942e6a359855690995
parent3a0ddbcdfcbc0f4372905fabf81e093f1b043e99 (diff)
downloadcpython-b4612f5d54aced5bc37f1b85bf50b4cafa2480f0.zip
cpython-b4612f5d54aced5bc37f1b85bf50b4cafa2480f0.tar.gz
cpython-b4612f5d54aced5bc37f1b85bf50b4cafa2480f0.tar.bz2
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.
-rw-r--r--Makefile.pre.in18
1 files changed, 11 insertions, 7 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 363a4eb..dbf95fd 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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 \