summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-18 14:22:24 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-18 14:22:24 (GMT)
commit506ef9ec817c3f5b3dfca03e563048b4a8b0e61f (patch)
tree1bbf27599cb976322e8e1779fb303dc25fe3ba86 /Makefile.in
parent0393e18b18b21e4f113f5d4a507ae01e5074afc2 (diff)
downloadcpython-506ef9ec817c3f5b3dfca03e563048b4a8b0e61f.zip
cpython-506ef9ec817c3f5b3dfca03e563048b4a8b0e61f.tar.gz
cpython-506ef9ec817c3f5b3dfca03e563048b4a8b0e61f.tar.bz2
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 14d7ef4..304c0d9 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); \