]> granicus.if.org Git - python/commitdiff
Change the order in which things are built -- build the shared modules
authorGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 14:22:24 +0000 (14:22 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 14:22:24 +0000 (14:22 +0000)
after the main interpreter.  Needed for AIX.

Makefile.in

index 14d7ef4b24fdeb4dbdbd4947cbdf394584b2d009..304c0d9d7b7f5e82248c27929293171453198263 100644 (file)
@@ -147,7 +147,7 @@ CFLAGS=             $(OPT) -I. $(DEFS)
 LIBRARY=       libpython$(VERSION).a
 
 # Default target
-all:           $(LIBRARY) python
+all:           $(LIBRARY) python sharedmods
 
 # Build the interpreter
 python:                $(LIBRARY) buildno
@@ -164,6 +164,12 @@ python:            $(LIBRARY) buildno
 buildno:
                echo 0 >buildno
 
+# Build the shared modules
+sharedmods:    python
+               cd Modules;  $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
+                       prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
+                       sharedmods
+
 # Build the library
 $(LIBRARY):    $(SUBDIRS)
                if test ! -f $(LIBRARY); \