summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-07 21:58:40 (GMT)
committerGuido van Rossum <guido@python.org>1995-08-07 21:58:40 (GMT)
commit6d47d0d07e4241b854c3c4fefe28fbd18da6fd94 (patch)
treebcd3e504cf47f3c2e6e9bb423b113788eeebee94 /Makefile.in
parent13833560390fec8ae5a09b634c6ea9fb5b4ffc51 (diff)
downloadcpython-6d47d0d07e4241b854c3c4fefe28fbd18da6fd94.zip
cpython-6d47d0d07e4241b854c3c4fefe28fbd18da6fd94.tar.gz
cpython-6d47d0d07e4241b854c3c4fefe28fbd18da6fd94.tar.bz2
pass prefix etc. on when making sharedinstall; install getpath.c
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 9319bad..2ec5142 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -84,7 +84,11 @@ all: python
# Build the interpreter
python: Makefiles
for i in $(SUBDIRS); do \
- (echo $$i; cd $$i; $(MAKE) OPT="$(OPT)" all); \
+ (echo $$i; cd $$i; \
+ $(MAKE) OPT="$(OPT)" \
+ prefix="$(prefix)" \
+ exec_prefix="$(exec_prefix)" \
+ all); \
done
# Test the interpreter (twice, once without .pyc files, once with)
@@ -110,7 +114,14 @@ libinstall:
cp -r $(srcdir)/Lib/* $(LIBDEST)
PYTHONPATH=$(LIBDEST) \
./python $(LIBDEST)/compileall.py $(LIBDEST)
- $(MAKE) sharedinstall
+ $(MAKE) \
+ OPT="$(OPT)" \
+ SO="$(SO)" \
+ LDSHARED="$(LDSHARED)" \
+ CCSHARED="$(CCSHARED)" \
+ LINKFORSHARED="$(LINKFORSHARED)" \
+ DESTSHARED="$(DESTSHARED)" \
+ sharedinstall
# install the manual page
maninstall:
@@ -140,6 +151,7 @@ libainstall: all
$(RANLIB) $(LIBPL)/lib$$i.a; \
done
$(INSTALL_DATA) Modules/config.c $(LIBPL)/config.c
+ $(INSTALL_DATA) $(srcdir)/Modules/getpath.c $(LIBPL)/getpath.c
$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(LIBPL)/config.c.in
$(INSTALL_DATA) Modules/Makefile $(LIBPL)/Makefile
$(INSTALL_DATA) Modules/Setup $(LIBPL)/Setup