| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b30b660 commit 328232e
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -288,6 +288,8 @@ LIBRARY_DEPS= @LIBRARY_DEPS@ | |||
| 288 | 288 | LINK_PYTHON_DEPS=@LINK_PYTHON_DEPS@ | |
| 289 | 289 | PY_ENABLE_SHARED= @PY_ENABLE_SHARED@ | |
| 290 | 290 | STATIC_LIBPYTHON= @STATIC_LIBPYTHON@ | |
| 291 | + ABI3DLLLIBRARY= libpython3$(ABIFLAGS).dll | ||
| 292 | + ABI3LDLIBRARY= libpython3$(ABIFLAGS).dll.a | ||
| 291 | 293 | ||
| 292 | 294 | ||
| 293 | 295 | LIBS= @LIBS@ | |
@@ -710,7 +712,7 @@ list-targets: | |||
| 710 | 712 | ||
| 711 | 713 | .PHONY: build_all | |
| 712 | 714 | build_all: check-clean-src check-app-store-compliance $(BUILDPYTHON) $(BUILDPYTHONW) $(BUILDVENVLAUNCHER) $(BUILDVENVWLAUNCHER) platform sharedmods \ | |
| 713 | - gdbhooks Programs/_testembed scripts checksharedmods rundsymutil | ||
| 715 | + gdbhooks Programs/_testembed scripts checksharedmods rundsymutil $(ABI3DLLLIBRARY) $(ABI3LDLIBRARY) | ||
| 714 | 716 | ||
| 715 | 717 | .PHONY: build_wasm | |
| 716 | 718 | build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \ | |
@@ -899,6 +901,9 @@ pythonw_exe.o: $(srcdir)/PC/pythonw_exe.rc | |||
| 899 | 901 | python_nt.o: $(srcdir)/PC/python_nt.rc | |
| 900 | 902 | $(WINDRES) $(RCFLAGS) -DORIGINAL_FILENAME=\\\"$(DLLLIBRARY)\\\" -I$(srcdir)/Include -I$(srcdir)/PC -I. $(srcdir)/PC/python_nt.rc $@ | |
| 901 | 903 | ||
| 904 | + python3dll_nt.o: $(srcdir)/PC/python_nt.rc | ||
| 905 | + $(WINDRES) $(RCFLAGS) -DORIGINAL_FILENAME=\\\"$(ABI3DLLLIBRARY)\\\" -I$(srcdir)/Include -I$(srcdir)/PC -I. $(srcdir)/PC/python_nt.rc $@ | ||
| 906 | + | ||
| 902 | 907 | venvlauncher.o: $(srcdir)/PC/pylauncher.rc | |
| 903 | 908 | $(WINDRES) $(RCFLAGS) -DPY_ICON -I$(srcdir)/Include -I$(srcdir)/PC -I. $(srcdir)/PC/pylauncher.rc $@ | |
| 904 | 909 | ||
@@ -1029,6 +1034,10 @@ $(DLLLIBRARY) libpython$(LDVERSION).dll.a: $(LIBRARY_OBJS) python_nt.o | |||
| 1029 | 1034 | else true; \ | |
| 1030 | 1035 | fi | |
| 1031 | 1036 | ||
| 1037 | + $(ABI3DLLLIBRARY) $(ABI3LDLIBRARY): python3dll_nt.o $(srcdir)/PC/launcher.c | ||
| 1038 | + $(LDSHARED) -DPYTHON_DLL_NAME=\"$(DLLLIBRARY)\" $(srcdir)/PC/python3dll.c -Wl,--out-implib=$(ABI3LDLIBRARY) -o $(ABI3DLLLIBRARY) python3dll_nt.o \ | ||
| 1039 | + $(LDFLAGS_NODIST); | ||
| 1040 | + | ||
| 1032 | 1041 | # wasm32-emscripten browser build | |
| 1033 | 1042 | # wasm assets directory is relative to current build dir, e.g. "./usr/local". | |
| 1034 | 1043 | # --preload-file turns a relative asset path into an absolute path. | |
@@ -2257,6 +2266,7 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORKPYTHONW@ | |||
| 2257 | 2266 | if test -f $(LDLIBRARY) && test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \ | |
| 2258 | 2267 | if test -n "$(DLLLIBRARY)" ; then \ | |
| 2259 | 2268 | $(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \ | |
| 2269 | + $(INSTALL_SHARED) $(ABI3DLLLIBRARY) $(DESTDIR)$(BINDIR); \ | ||
| 2260 | 2270 | else \ | |
| 2261 | 2271 | $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \ | |
| 2262 | 2272 | if test $(LDLIBRARY) != $(INSTSONAME); then \ | |
@@ -2741,6 +2751,7 @@ libainstall: all scripts | |||
| 2741 | 2751 | if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ | |
| 2742 | 2752 | if test "$(SHLIB_SUFFIX)" = .dll -o "$(SHLIB_SUFFIX)" = .pyd; then \ | |
| 2743 | 2753 | $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBDIR) ; \ | |
| 2754 | + $(INSTALL_DATA) $(ABI3LDLIBRARY) $(DESTDIR)$(LIBDIR) ; \ | ||
| 2744 | 2755 | else \ | |
| 2745 | 2756 | $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ | |
| 2746 | 2757 | fi; \ | |
@@ -3049,7 +3060,7 @@ clean: clean-retain-profile clean-bolt | |||
| 3049 | 3060 | ||
| 3050 | 3061 | .PHONY: clobber | |
| 3051 | 3062 | clobber: clean | |
| 3052 | - -rm -f $(BUILDPYTHON) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \ | ||
| 3063 | + -rm -f $(BUILDPYTHON) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) $(ABI3LDLIBRARY) $(ABI3DLLLIBRARY) \ | ||
| 3053 | 3064 | tags TAGS \ | |
| 3054 | 3065 | config.cache config.log pyconfig.h Modules/config.c | |
| 3055 | 3066 | -rm -rf build platform | |
| Back | FazBrowse Home | New Git URL |
0 commit comments