first commit

This commit is contained in:
2019-12-30 17:23:05 +01:00
commit 7fe19ee89f
1149 changed files with 271279 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#!/bin/sh
# used for building with djgpp cross toolchain
TARGET=i586-pc-msdosdjgpp
PREFIX=/usr/local/cross-djgpp
PATH="$PREFIX/bin:$PATH"
export PATH
DOSBUILD=1
export DOSBUILD
CC="$TARGET-gcc"
AS="$TARGET-as"
RANLIB="$TARGET-ranlib"
AR="$TARGET-ar"
export CC AS RANLIB AR
STRIPPER="$TARGET-strip"
if [ "$1" = "strip" ]; then
$STRIPPER vispatch.exe
exit 0
fi
HOST_OS=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'`
case "$HOST_OS" in
freebsd|openbsd|netbsd)
MAKE_CMD=gmake
;;
linux)
MAKE_CMD=make
;;
*)
MAKE_CMD=make
;;
esac
$MAKE_CMD -f makefile.djgpp $*