From 75e33892f86d00647c4c970ffc773f291c2e5eb1 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Fri, 16 Feb 2001 03:36:53 +0000 Subject: [PATCH] Simplify linking on BeOS. Rename some files. Closes SF patch #103679. --- Makefile.pre.in | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index efe8862a642..9eca6bc84ad 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -106,6 +106,7 @@ LIBP= $(LIBDIR)/python$(VERSION) # Symbols used for using shared libraries SO= @SO@ LDSHARED= @LDSHARED@ +BLDSHARED= @BLDSHARED@ DESTSHARED= $(BINLIBDEST)/lib-dynload # Executable suffix (.exe on Windows and Mac OS X) @@ -329,7 +330,7 @@ libpython$(VERSION).so: $(LIBRARY) /bin/rm -rf ./dgux \ ;; \ beos) \ - $(srcdir)/BeOS/ar-fake so $(LIBRARY) $@ \ + $(AR) so $(LIBRARY) $@ \ ;; \ esac @@ -690,15 +691,13 @@ libainstall: all fi @case "$(MACHDEP)" in beos*) \ echo; echo "Installing support files for building shared extension modules on BeOS:"; \ - $(INSTALL_DATA) BeOS/README $(LIBPL)/README; \ + $(INSTALL_DATA) Misc/BeOS-NOTES $(LIBPL)/README; \ echo; echo "$(LIBPL)/README"; \ - $(INSTALL_DATA) BeOS/README.readline-2.2 $(LIBPL)/README.readline-2.2; \ - echo "$(LIBPL)/README.readline-2.2"; \ - $(INSTALL_PROGRAM) BeOS/ar-fake $(LIBPL)/ar-fake; \ - echo "$(LIBPL)/ar-fake"; \ - $(INSTALL_PROGRAM) BeOS/linkmodule $(LIBPL)/linkmodule; \ - echo "$(LIBPL)/linkmodule"; \ - echo; echo "See BeOS/README for details."; \ + $(INSTALL_PROGRAM) Modules/ar_beos $(LIBPL)/ar_beos; \ + echo "$(LIBPL)/ar_beos"; \ + $(INSTALL_PROGRAM) Modules/ld_so_beos $(LIBPL)/ld_so_beos; \ + echo "$(LIBPL)/ld_so_beos"; \ + echo; echo "See Misc/BeOS-NOTES for details."; \ ;; \ esac