Avoid rebuilding all C files when importlib.h is updated.
This commit is contained in:
parent
75babfa886
commit
a49323537b
|
@ -702,6 +702,8 @@ Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h
|
||||||
Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \
|
Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \
|
||||||
$(BYTESTR_DEPS)
|
$(BYTESTR_DEPS)
|
||||||
|
|
||||||
|
Python/frozen.o: $(srcdir)/Python/importlib.h
|
||||||
|
|
||||||
Objects/typeobject.o: $(srcdir)/Objects/typeslots.inc
|
Objects/typeobject.o: $(srcdir)/Objects/typeslots.inc
|
||||||
$(srcdir)/Objects/typeslots.inc: $(srcdir)/Include/typeslots.h $(srcdir)/Objects/typeslots.py
|
$(srcdir)/Objects/typeslots.inc: $(srcdir)/Include/typeslots.h $(srcdir)/Objects/typeslots.py
|
||||||
$(PYTHON) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typeslots.h > $(srcdir)/Objects/typeslots.inc
|
$(PYTHON) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typeslots.h > $(srcdir)/Objects/typeslots.inc
|
||||||
|
@ -792,7 +794,6 @@ PYTHON_HEADERS= \
|
||||||
$(srcdir)/Include/unicodeobject.h \
|
$(srcdir)/Include/unicodeobject.h \
|
||||||
$(srcdir)/Include/warnings.h \
|
$(srcdir)/Include/warnings.h \
|
||||||
$(srcdir)/Include/weakrefobject.h \
|
$(srcdir)/Include/weakrefobject.h \
|
||||||
$(srcdir)/Python/importlib.h \
|
|
||||||
pyconfig.h \
|
pyconfig.h \
|
||||||
$(PARSER_HEADERS)
|
$(PARSER_HEADERS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue