summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-18 14:22:24 +0000
committerGuido van Rossum <guido@python.org>1997-08-18 14:22:24 +0000
commitc75bc8cc443fc6cb1848c67718ff9de573868d73 (patch)
treef49125439a455e7fecc9b3a6f1b9b0b7101bc6cb /Makefile.in
parente376d59cba615e06fbd0420435e1b14d6642bc75 (diff)
downloadcpython-c75bc8cc443fc6cb1848c67718ff9de573868d73.tar.gz
Change the order in which things are built -- build the shared modules
after the main interpreter. Needed for AIX.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 14d7ef4b24..304c0d9d7b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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); \