]> granicus.if.org Git - python/commitdiff
Make the original, makesetup-based, targets for building shared modules
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 18 Jan 2001 16:10:56 +0000 (16:10 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 18 Jan 2001 16:10:56 +0000 (16:10 +0000)
   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.

Makefile.in

index 0d6b4fe597887f68c0b3baa4e957c4baedc4bc76..48d3f0cc90c80c8932577fca17f4cbd1ae7d1605 100644 (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