From: Antoine Pitrou Date: Mon, 16 Apr 2012 16:29:28 +0000 (+0200) Subject: Avoid rebuilding all C files when importlib.h is updated. X-Git-Tag: v3.3.0a3~197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a49323537b6edb6f2b3142d48de14ca83cf46b8c;p=python Avoid rebuilding all C files when importlib.h is updated. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 3133720524..3f43837cf3 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -702,6 +702,8 @@ Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \ $(BYTESTR_DEPS) +Python/frozen.o: $(srcdir)/Python/importlib.h + Objects/typeobject.o: $(srcdir)/Objects/typeslots.inc $(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 @@ -792,7 +794,6 @@ PYTHON_HEADERS= \ $(srcdir)/Include/unicodeobject.h \ $(srcdir)/Include/warnings.h \ $(srcdir)/Include/weakrefobject.h \ - $(srcdir)/Python/importlib.h \ pyconfig.h \ $(PARSER_HEADERS)