Make the original, makesetup-based, targets for building shared modules

available as "oldsharedmods" and "oldsharedinstall".  You'll need
   to get a copy of the full Setup.dist out of the CVS for them to
   actually do much.
This commit is contained in:
Andrew M. Kuchling 2001-01-18 16:10:56 +00:00
parent 753a68e2cc
commit 1c2fb9ce29
1 changed files with 16 additions and 14 deletions

View File

@ -159,9 +159,10 @@ buildno:
sharedmods: python$(EXE)
./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
oldsharedmods:
cd Modules; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
sharedmods
# Build the library
$(LIBRARY): $(SUBDIRS)
@ -426,17 +427,18 @@ libainstall: all
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
oldsharedinstall:
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