diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-09-18 19:22:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 19:22:29 (GMT) |
commit | 79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b (patch) | |
tree | 024dfc74ad7bd5290180638b1290301ef928426f /Makefile.pre.in | |
parent | 4ba3b50bfe6d50cd82d208023ea23e203ab50589 (diff) | |
download | cpython-79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b.zip cpython-79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b.tar.gz cpython-79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b.tar.bz2 |
bpo-25711: Rewrite zipimport in pure Python. (GH-6809)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index d60d48e..d2e7377 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -713,16 +713,22 @@ Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FRO regen-importlib: Programs/_freeze_importlib # Regenerate Python/importlib_external.h # from Lib/importlib/_bootstrap_external.py using _freeze_importlib - ./Programs/_freeze_importlib \ + ./Programs/_freeze_importlib importlib._bootstrap_external \ $(srcdir)/Lib/importlib/_bootstrap_external.py \ $(srcdir)/Python/importlib_external.h.new $(UPDATE_FILE) $(srcdir)/Python/importlib_external.h $(srcdir)/Python/importlib_external.h.new # Regenerate Python/importlib.h from Lib/importlib/_bootstrap.py # using _freeze_importlib - ./Programs/_freeze_importlib \ + ./Programs/_freeze_importlib importlib._bootstrap \ $(srcdir)/Lib/importlib/_bootstrap.py \ $(srcdir)/Python/importlib.h.new $(UPDATE_FILE) $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib.h.new + # Regenerate Python/importlib_zipimport.h from Lib/zipimport.py + # using _freeze_importlib + ./Programs/_freeze_importlib zipimport \ + $(srcdir)/Lib/zipimport.py \ + $(srcdir)/Python/importlib_zipimport.h.new + $(UPDATE_FILE) $(srcdir)/Python/importlib_zipimport.h $(srcdir)/Python/importlib_zipimport.h.new ############################################################################ @@ -897,7 +903,8 @@ regen-opcode-targets: Python/ceval.o: $(srcdir)/Python/opcode_targets.h $(srcdir)/Python/ceval_gil.h -Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_external.h +Python/frozen.o: $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib_external.h \ + $(srcdir)/Python/importlib_zipimport.h # Generate DTrace probe macros, then rename them (PYTHON_ -> PyDTrace_) to # follow our naming conventions. dtrace(1) uses the output filename to generate |