Kaydet (Commit) 6d47d0d0 authored tarafından Guido van Rossum's avatar Guido van Rossum

pass prefix etc. on when making sharedinstall; install getpath.c

üst 13833560
...@@ -84,7 +84,11 @@ all: python ...@@ -84,7 +84,11 @@ all: python
# Build the interpreter # Build the interpreter
python: Makefiles python: Makefiles
for i in $(SUBDIRS); do \ 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 done
# Test the interpreter (twice, once without .pyc files, once with) # Test the interpreter (twice, once without .pyc files, once with)
...@@ -110,7 +114,14 @@ libinstall: ...@@ -110,7 +114,14 @@ libinstall:
cp -r $(srcdir)/Lib/* $(LIBDEST) cp -r $(srcdir)/Lib/* $(LIBDEST)
PYTHONPATH=$(LIBDEST) \ PYTHONPATH=$(LIBDEST) \
./python $(LIBDEST)/compileall.py $(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 # install the manual page
maninstall: maninstall:
...@@ -140,6 +151,7 @@ libainstall: all ...@@ -140,6 +151,7 @@ libainstall: all
$(RANLIB) $(LIBPL)/lib$$i.a; \ $(RANLIB) $(LIBPL)/lib$$i.a; \
done done
$(INSTALL_DATA) Modules/config.c $(LIBPL)/config.c $(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) $(srcdir)/Modules/config.c.in $(LIBPL)/config.c.in
$(INSTALL_DATA) Modules/Makefile $(LIBPL)/Makefile $(INSTALL_DATA) Modules/Makefile $(LIBPL)/Makefile
$(INSTALL_DATA) Modules/Setup $(LIBPL)/Setup $(INSTALL_DATA) Modules/Setup $(LIBPL)/Setup
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment