diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-09 16:51:49 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-09 16:51:49 (GMT) |
commit | 047fe99c386ff9aa07ffbca0503d93ded1ee4617 (patch) | |
tree | 406aa00a392eb60853839fa33efd8a62df805ab1 /Makefile.in | |
parent | 9e2e1e592090a0de50a94890073c6570f0bcb0af (diff) | |
download | cpython-047fe99c386ff9aa07ffbca0503d93ded1ee4617.zip cpython-047fe99c386ff9aa07ffbca0503d93ded1ee4617.tar.gz cpython-047fe99c386ff9aa07ffbca0503d93ded1ee4617.tar.bz2 |
Donn Cave <donn@oz.net>:
Revise BeOS support.
This closes SourceForge patch #101776.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in index b80cc2f..e474cd4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -168,7 +168,7 @@ $(LIBRARY): $(SUBDIRS) for i in $(SUBDIRS); do \ (cd $$i; $(MAKE) VERSION="$(VERSION)" add2lib); done -# This rule is only here for DG/UX!!! +# This rule is only here for DG/UX and BeOS!!! libpython$(VERSION).so: $(LIBRARY) case `uname -s | tr -d '/ ' | tr '[A-Z]' '[a-z]'` in \ *dgux*) \ @@ -176,6 +176,9 @@ libpython$(VERSION).so: $(LIBRARY) (cd dgux;ar x ../$^;ld -G -o ../$@ * ); \ /bin/rm -rf ./dgux \ ;; \ + beos) \ + $(srcdir)/BeOS/ar-fake so $(LIBRARY) $@ \ + ;; \ esac # This rule is here for OPENSTEP/Rhapsody/MacOSX @@ -367,7 +370,7 @@ libainstall: all else true; \ fi; \ done - @if [ "$(MACHDEP)" != "beos" ] ; then \ + @if test -d $(LIBRARY); then :; else \ $(INSTALL_DATA) $(LIBRARY) $(LIBPL)/$(LIBRARY) ; \ $(RANLIB) $(LIBPL)/$(LIBRARY) ; \ fi @@ -396,23 +399,19 @@ libainstall: all echo; echo "See Misc/AIX-NOTES for details."; \ else true; \ fi - @if [ "$(MACHDEP)" = "beos" ] ; then \ + @case "$(MACHDEP)" in beos*) \ echo; echo "Installing support files for building shared extension modules on BeOS:"; \ $(INSTALL_DATA) BeOS/README $(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_DATA) BeOS/dl_export.h $(LIBPL)/dl_export.h; \ - echo "$(LIBPL)/dl_export.h"; \ $(INSTALL_PROGRAM) BeOS/ar-fake $(LIBPL)/ar-fake; \ echo "$(LIBPL)/ar-fake"; \ - $(INSTALL_PROGRAM) BeOS/linkcc $(LIBPL)/linkcc; \ - echo "$(LIBPL)/linkcc"; \ $(INSTALL_PROGRAM) BeOS/linkmodule $(LIBPL)/linkmodule; \ echo "$(LIBPL)/linkmodule"; \ echo; echo "See BeOS/README for details."; \ - else true; \ - fi + ;; \ + esac # Install the dynamically loadable modules # This goes into $(exec_prefix) |