mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Patch #102588 / PEP 229:
The final piece of this change... Run setup.py to build shared modules and to install them.
This commit is contained in:
parent
a544ea2354
commit
ba77fc8cf0
1 changed files with 20 additions and 15 deletions
35
Makefile.in
35
Makefile.in
|
@ -157,9 +157,11 @@ buildno:
|
||||||
|
|
||||||
# Build the shared modules
|
# Build the shared modules
|
||||||
sharedmods: python$(EXE)
|
sharedmods: python$(EXE)
|
||||||
cd Modules; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
|
./python$(EXE) $(srcdir)/setup.py build
|
||||||
prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
|
# Old rules for building shared modules using makesetup
|
||||||
sharedmods
|
# cd Modules; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
|
||||||
|
# prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
|
||||||
|
# sharedmods
|
||||||
|
|
||||||
# Build the library
|
# Build the library
|
||||||
$(LIBRARY): $(SUBDIRS)
|
$(LIBRARY): $(SUBDIRS)
|
||||||
|
@ -422,17 +424,19 @@ libainstall: all
|
||||||
# Install the dynamically loadable modules
|
# Install the dynamically loadable modules
|
||||||
# This goes into $(exec_prefix)
|
# This goes into $(exec_prefix)
|
||||||
sharedinstall:
|
sharedinstall:
|
||||||
cd Modules; $(MAKE) \
|
./python$(EXE) $(srcdir)/setup.py install
|
||||||
OPT="$(OPT)" \
|
# Old rules for installing shared modules built using makesetup
|
||||||
VERSION="$(VERSION)" \
|
# cd Modules; $(MAKE) \
|
||||||
SO="$(SO)" \
|
# OPT="$(OPT)" \
|
||||||
LDSHARED="$(LDSHARED)" \
|
# VERSION="$(VERSION)" \
|
||||||
CCSHARED="$(CCSHARED)" \
|
# SO="$(SO)" \
|
||||||
LINKFORSHARED="$(LINKFORSHARED)" \
|
# LDSHARED="$(LDSHARED)" \
|
||||||
DESTSHARED="$(DESTSHARED)" \
|
# CCSHARED="$(CCSHARED)" \
|
||||||
prefix="$(prefix)" \
|
# LINKFORSHARED="$(LINKFORSHARED)" \
|
||||||
exec_prefix="$(exec_prefix)" \
|
# DESTSHARED="$(DESTSHARED)" \
|
||||||
sharedinstall
|
# prefix="$(prefix)" \
|
||||||
|
# exec_prefix="$(exec_prefix)" \
|
||||||
|
# sharedinstall
|
||||||
|
|
||||||
# Build the sub-Makefiles
|
# Build the sub-Makefiles
|
||||||
Makefiles: config.status Modules/Makefile.pre
|
Makefiles: config.status Modules/Makefile.pre
|
||||||
|
@ -515,7 +519,8 @@ clean: localclean
|
||||||
|
|
||||||
localclobber: localclean
|
localclobber: localclean
|
||||||
-rm -f tags TAGS python$(EXE) $(LIBRARY) $(LDLIBRARY) *.o
|
-rm -f tags TAGS python$(EXE) $(LIBRARY) $(LDLIBRARY) *.o
|
||||||
-rm -f config.log config.cache config.h
|
-rm -f config.log config.cache config.h
|
||||||
|
-rm -rf build
|
||||||
|
|
||||||
clobber: localclobber
|
clobber: localclobber
|
||||||
-for i in $(SUBDIRS); do \
|
-for i in $(SUBDIRS); do \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue