Generate python import tabs for windows client

This commit is contained in:
Oleksii Shevchuk 2017-04-25 16:24:28 +03:00
parent 6b4c39d870
commit 843511a05c
1 changed files with 9 additions and 0 deletions

View File

@ -59,6 +59,11 @@ revision.h:
pupy.c: resources_library_compressed_string_txt.c revision.h
pupy_load.c: resources_msvcr90_dll.c resources_python27_dll.c resources_bootloader_pyc.c revision.h
import-tab.c import-tab.h: mktab.py
$(HOST_PYTHON) $(PFLAGS) $<
Python-dynload.obj: import-tab.c import-tab.h
resources/library_compressed_string.txt: ../gen_library_compressed_string.py resources/library.zip $(BUILDENV_READY)
$(HOST_PYTHON) ../gen_library_compressed_string.py
@ -117,6 +122,8 @@ clean:
rm -f *_pyc.c
rm -f *_dll.c
rm -f revision.h
rm -f import-tab.c
rm -f import-tab.h
rm -f resources/*.pyo
rm -f resources/*.pyc
rm -f resources/*.txt
@ -125,3 +132,5 @@ clean:
rm -f resources/python27.dll
rm -f resources/msvcr90.dll
rm -f $(PYOBJS) $(COMMON_OBJS)
$(COMMON_OBJS) $(PYOBJS): import-tab.h