From 015a541daa25678369bcc42806210078a185a91d Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Tue, 22 May 2001 16:10:07 +0000 Subject: [PATCH] - add build subdirectory for platform-specific stuff --- bochs/build/linux/README.linux-binary | 2 + bochs/build/linux/bochs-dlx | 36 +++++++++++ bochs/build/linux/bochs-docs | 34 +++++++++++ bochs/build/linux/bochs-uninstall-1.1.2 | 79 +++++++++++++++++++++++++ bochs/build/win32/README.win32-binary | 2 + 5 files changed, 153 insertions(+) create mode 100644 bochs/build/linux/README.linux-binary create mode 100755 bochs/build/linux/bochs-dlx create mode 100755 bochs/build/linux/bochs-docs create mode 100755 bochs/build/linux/bochs-uninstall-1.1.2 create mode 100644 bochs/build/win32/README.win32-binary diff --git a/bochs/build/linux/README.linux-binary b/bochs/build/linux/README.linux-binary new file mode 100644 index 000000000..7fb0ecb5a --- /dev/null +++ b/bochs/build/linux/README.linux-binary @@ -0,0 +1,2 @@ +Information specific to the Linux binary goes here. +------------------------------------------------------ diff --git a/bochs/build/linux/bochs-dlx b/bochs/build/linux/bochs-dlx new file mode 100755 index 000000000..21823e775 --- /dev/null +++ b/bochs/build/linux/bochs-dlx @@ -0,0 +1,36 @@ +#!/bin/sh +BOCHS=/usr/local/bin/bochs +DLXPATH=/usr/local/bochs/dlxlinux + +cat </dev/null 2>/dev/null + + # if that succeeded, we're done + if test $? = 0; then + exit 0 + fi +fi + +# try starting a new browser instead +$BROWSER $URL + +# nothing else to try, so if that failed print a decent error message +if test $? != 0; then + echo ERROR: Browser ended with an error code $?. This may mean that + echo the browser was not found in your PATH, or that the browser was + echo killed. To use a different browser, edit $MY_PATH + echo and change the BROWSER variable. + exit 1 +fi + +exit 0 diff --git a/bochs/build/linux/bochs-uninstall-1.1.2 b/bochs/build/linux/bochs-uninstall-1.1.2 new file mode 100755 index 000000000..00b521a1f --- /dev/null +++ b/bochs/build/linux/bochs-uninstall-1.1.2 @@ -0,0 +1,79 @@ +#!/bin/sh +# +# bochs-uninstall +# Remove files created by this install package. +# + +BP=/usr/local/bochs +BINPATH=/usr/local/bin +VERSION=1.1.2 +REMOVEFILES=" +/usr/local/bochs/1.1.2/BIOS-bochs-990925a +/usr/local/bochs/1.1.2/CHANGES.txt +/usr/local/bochs/1.1.2/COPYING +/usr/local/bochs/1.1.2/README +/usr/local/bochs/1.1.2/VGABIOS-elpin-2.40 +/usr/local/bochs/1.1.2/VGABIOS-elpin-LICENSE +/usr/local/bochs/1.1.2/DOC-linux.html +/usr/local/bochs/1.1.2/docs-html/00README +/usr/local/bochs/1.1.2/docs-html/3rdparty.license.html +/usr/local/bochs/1.1.2/docs-html/Linux.html +/usr/local/bochs/1.1.2/docs-html/Minix.html +/usr/local/bochs/1.1.2/docs-html/OldWindows95.html +/usr/local/bochs/1.1.2/docs-html/Windows95.html +/usr/local/bochs/1.1.2/docs-html/changelog.html +/usr/local/bochs/1.1.2/docs-html/codingguidelines.html +/usr/local/bochs/1.1.2/docs-html/configure.html +/usr/local/bochs/1.1.2/docs-html/construction.html +/usr/local/bochs/1.1.2/docs-html/cosimulation.html +/usr/local/bochs/1.1.2/docs-html/cvs-status.html +/usr/local/bochs/1.1.2/docs-html/cvs-structure.txt +/usr/local/bochs/1.1.2/docs-html/debugger.html +/usr/local/bochs/1.1.2/docs-html/developers.html +/usr/local/bochs/1.1.2/docs-html/faq.html +/usr/local/bochs/1.1.2/docs-html/features.html +/usr/local/bochs/1.1.2/docs-html/fpu.html +/usr/local/bochs/1.1.2/docs-html/guestNT.html +/usr/local/bochs/1.1.2/docs-html/index.html +/usr/local/bochs/1.1.2/docs-html/install.html +/usr/local/bochs/1.1.2/docs-html/instrumentation.html +/usr/local/bochs/1.1.2/docs-html/mtools.html +/usr/local/bochs/1.1.2/docs-html/random.txt +/usr/local/bochs/1.1.2/docs-html/sound.html +/usr/local/bochs/1.1.2/docs-html/undercon.gif +/usr/local/bochs/1.1.2/docs-html/whatisbochs.html +/usr/local/bochs/1.1.2/docs-html/win32.html +/usr/local/bochs/dlxlinux/hd10meg.img +/usr/local/bochs/dlxlinux/README +/usr/local/bochs/dlxlinux/testform.txt +/usr/local/bochs/dlxlinux/.bochsrc +/usr/local/bochs/dlxlinux/.README.swp +/usr/local/bochs/dlxlinux/bochsout.txt +/usr/local/bin/bochs-docs +/usr/local/bin/bochs-dlx +/usr/local/bin/bochs-1.1.2 +/usr/local/bin/bochs-uninstall-1.1.2 +/usr/local/bin/bochs" +REMOVEDIRS=" +/usr/local/bochs/1.1.2/docs-html/ +/usr/local/bochs/1.1.2/ +/usr/local/bochs/dlxlinux/ +/usr/local/bochs/ +" + +for i in $REMOVEFILES; do + echo Removing $i + rm -f $i + if test $? != 0; then + echo Could not remove $i. + fi +done +for i in $REMOVEDIRS; do + echo Removing $i + rmdir $i + if test $? != 0; then + echo Could not remove $i, maybe not empty. + fi +done + +echo Bochs $VERSION has been removed from your system. diff --git a/bochs/build/win32/README.win32-binary b/bochs/build/win32/README.win32-binary new file mode 100644 index 000000000..8fe589ccd --- /dev/null +++ b/bochs/build/win32/README.win32-binary @@ -0,0 +1,2 @@ +Information specific to the win32 binary goes here. +------------------------------------------------------