]> granicus.if.org Git - python/commitdiff
Avoid rebuilding all C files when importlib.h is updated.
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 16 Apr 2012 16:29:28 +0000 (18:29 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 16 Apr 2012 16:29:28 +0000 (18:29 +0200)
Makefile.pre.in

index 3133720524ac64c88784782f4ae2151d1099b54c..3f43837cf393b6837f061203d4f8bbb91e991a72 100644 (file)
@@ -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)