summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-01-17 18:54:54 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-01-17 18:54:54 (GMT)
commitba77fc8cf093722b2905963f263fb572ebdb38df (patch)
tree806245b3aafc01e1a863afc623b9f8f2d6b33c66 /Makefile.in
parenta544ea2354b9ce7f20f4fc44535ffae91eafa960 (diff)
downloadcpython-ba77fc8cf093722b2905963f263fb572ebdb38df.zip
cpython-ba77fc8cf093722b2905963f263fb572ebdb38df.tar.gz
cpython-ba77fc8cf093722b2905963f263fb572ebdb38df.tar.bz2
Patch #102588 / PEP 229:
The final piece of this change... Run setup.py to build shared modules and to install them.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in35
1 files changed, 20 insertions, 15 deletions
diff --git a/Makefile.in b/Makefile.in
index 211c242..79e28d7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -157,9 +157,11 @@ buildno:
# Build the shared modules
sharedmods: python$(EXE)
- cd Modules; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
- prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
- sharedmods
+ ./python$(EXE) $(srcdir)/setup.py build
+# Old rules for building shared modules using makesetup
+# cd Modules; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
+# prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
+# sharedmods
# Build the library
$(LIBRARY): $(SUBDIRS)
@@ -422,17 +424,19 @@ libainstall: all
# Install the dynamically loadable modules
# This goes into $(exec_prefix)
sharedinstall:
- cd Modules; $(MAKE) \
- OPT="$(OPT)" \
- VERSION="$(VERSION)" \
- SO="$(SO)" \
- LDSHARED="$(LDSHARED)" \
- CCSHARED="$(CCSHARED)" \
- LINKFORSHARED="$(LINKFORSHARED)" \
- DESTSHARED="$(DESTSHARED)" \
- prefix="$(prefix)" \
- exec_prefix="$(exec_prefix)" \
- sharedinstall
+ ./python$(EXE) $(srcdir)/setup.py install
+# Old rules for installing shared modules built using makesetup
+# cd Modules; $(MAKE) \
+# OPT="$(OPT)" \
+# VERSION="$(VERSION)" \
+# SO="$(SO)" \
+# LDSHARED="$(LDSHARED)" \
+# CCSHARED="$(CCSHARED)" \
+# LINKFORSHARED="$(LINKFORSHARED)" \
+# DESTSHARED="$(DESTSHARED)" \
+# prefix="$(prefix)" \
+# exec_prefix="$(exec_prefix)" \
+# sharedinstall
# Build the sub-Makefiles
Makefiles: config.status Modules/Makefile.pre
@@ -515,7 +519,8 @@ clean: localclean
localclobber: localclean
-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
-for i in $(SUBDIRS); do \