diff options
author | Guido van Rossum <guido@python.org> | 2001-01-10 21:09:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-10 21:09:12 (GMT) |
commit | aef734b182850a11ac15c128768826710d7e993e (patch) | |
tree | d83b490cfceb8050fc7573146fd27b6e96c7f8d4 /Makefile.in | |
parent | 5a53019b0d4780b270c0c8027e0e66b7183fb661 (diff) | |
download | cpython-aef734b182850a11ac15c128768826710d7e993e.zip cpython-aef734b182850a11ac15c128768826710d7e993e.tar.gz cpython-aef734b182850a11ac15c128768826710d7e993e.tar.bz2 |
Part of SF patch #102409 by jlt63: Cygwin Python DLL and Shared
Extension Patch.
Note: this could use some testing on NeXT, DG/UX, or BeOS, because of
the changes in the Makefile regarding $(LDLIBRARY).
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index d0b2372..211c242 100644 --- a/Makefile.in +++ b/Makefile.in @@ -131,6 +131,7 @@ CFLAGS= $(OPT) -I. $(DEFS) LIBRARY= libpython$(VERSION).a LDLIBRARY= @LDLIBRARY@ +@SET_DLLLIBRARY@ # Default target all: $(LIBRARY) python$(EXE) sharedmods @@ -247,6 +248,10 @@ altbininstall: python$(EXE) $(INSTALL_DATA) libpython$(VERSION).so $(LIBDIR); \ else true; \ fi + if test -f "$(DLLLIBRARY)"; then \ + $(INSTALL_DATA) $(DLLLIBRARY) $(BINDIR); \ + else true; \ + fi # Install the manual page maninstall: @@ -371,9 +376,9 @@ libainstall: all else true; \ fi; \ done - @if test -d $(LIBRARY); then :; else \ - $(INSTALL_DATA) $(LIBRARY) $(LIBPL)/$(LIBRARY) ; \ - $(RANLIB) $(LIBPL)/$(LIBRARY) ; \ + @if test -d $(LDLIBRARY); then :; else \ + $(INSTALL_DATA) $(LDLIBRARY) $(LIBPL)/$(LDLIBRARY) ; \ + $(RANLIB) $(LIBPL)/$(LDLIBRARY) ; \ fi $(INSTALL_DATA) Modules/config.c $(LIBPL)/config.c $(INSTALL_DATA) Modules/python.o $(LIBPL)/python.o |