Skip to content

Commit

Permalink
this project hasn't been buildable from pure DOS for a long time now.
Browse files Browse the repository at this point in the history
remove BAT files and BAT file generation.
  • Loading branch information
joncampbell123 committed Sep 8, 2017
1 parent 38c2173 commit b5b8761
Show file tree
Hide file tree
Showing 199 changed files with 206 additions and 6,986 deletions.
36 changes: 1 addition & 35 deletions asminc/buildall.sh
Expand Up @@ -6,53 +6,19 @@
# NTS: Make sure your editor uses unix LF endings in the file,
# but keeps the CR LF DOS endings for the DOS batch files.

cat >buildall.bat <<_EOF
@echo off
set WHAT=make
if "%1" == "clean" set WHAT=clean
_EOF
cat >clean.bat <<_EOF
@echo off
if exist *.map del *.map
if exist *.obj del *.obj
if exist *.sym del *.sym
if exist *.exe del *.exe
_EOF
for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -vu ../buildall.sh buildall.sh || exit 1

if [ -x buildall.sh ]; then
echo Building: $i
./buildall.sh $* || exit 1

cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call buildall.bat %WHAT%
cd ..
_EOF
fi

if [ -x make.sh ]; then
./make.sh $* || exit 1

echo Building: $i
cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call make.bat %WHAT%
cd ..
_EOF
./make.sh $* || exit 1
fi)
) || exit 1
fi; done

cat >>buildall.bat <<_EOF
echo All done
_EOF

36 changes: 1 addition & 35 deletions bootsect/buildall.sh
Expand Up @@ -6,53 +6,19 @@
# NTS: Make sure your editor uses unix LF endings in the file,
# but keeps the CR LF DOS endings for the DOS batch files.

cat >buildall.bat <<_EOF
@echo off
set WHAT=make
if "%1" == "clean" set WHAT=clean
_EOF
cat >clean.bat <<_EOF
@echo off
if exist *.map del *.map
if exist *.obj del *.obj
if exist *.sym del *.sym
if exist *.exe del *.exe
_EOF
for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -vu ../buildall.sh buildall.sh || exit 1

if [ -x buildall.sh ]; then
echo Building: $i
./buildall.sh $* || exit 1

cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call buildall.bat %WHAT%
cd ..
_EOF
fi

if [ -x make.sh ]; then
./make.sh $* || exit 1

echo Building: $i
cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call make.bat %WHAT%
cd ..
_EOF
./make.sh $* || exit 1
fi)
) || exit 1
fi; done

cat >>buildall.bat <<_EOF
echo All done
_EOF

36 changes: 1 addition & 35 deletions bootsect/i13geom/buildall.sh
Expand Up @@ -6,53 +6,19 @@
# NTS: Make sure your editor uses unix LF endings in the file,
# but keeps the CR LF DOS endings for the DOS batch files.

cat >buildall.bat <<_EOF
@echo off
set WHAT=make
if "%1" == "clean" set WHAT=clean
_EOF
cat >clean.bat <<_EOF
@echo off
if exist *.map del *.map
if exist *.obj del *.obj
if exist *.sym del *.sym
if exist *.exe del *.exe
_EOF
for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -vu ../buildall.sh buildall.sh || exit 1

if [ -x buildall.sh ]; then
echo Building: $i
./buildall.sh $* || exit 1

cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call buildall.bat %WHAT%
cd ..
_EOF
fi

if [ -x make.sh ]; then
./make.sh $* || exit 1

echo Building: $i
cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call make.bat %WHAT%
cd ..
_EOF
./make.sh $* || exit 1
fi)
) || exit 1
fi; done

cat >>buildall.bat <<_EOF
echo All done
_EOF

36 changes: 1 addition & 35 deletions build-logs/buildall.sh
Expand Up @@ -6,53 +6,19 @@
# NTS: Make sure your editor uses unix LF endings in the file,
# but keeps the CR LF DOS endings for the DOS batch files.

cat >buildall.bat <<_EOF
@echo off
set WHAT=make
if "%1" == "clean" set WHAT=clean
_EOF
cat >clean.bat <<_EOF
@echo off
if exist *.map del *.map
if exist *.obj del *.obj
if exist *.sym del *.sym
if exist *.exe del *.exe
_EOF
for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -vu ../buildall.sh buildall.sh || exit 1

if [ -x buildall.sh ]; then
echo Building: $i
./buildall.sh $* || exit 1

cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call buildall.bat %WHAT%
cd ..
_EOF
fi

if [ -x make.sh ]; then
./make.sh $* || exit 1

echo Building: $i
cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call make.bat %WHAT%
cd ..
_EOF
./make.sh $* || exit 1
fi)
) || exit 1
fi; done

cat >>buildall.bat <<_EOF
echo All done
_EOF

36 changes: 1 addition & 35 deletions buildall.sh
Expand Up @@ -6,53 +6,19 @@
# NTS: Make sure your editor uses unix LF endings in the file,
# but keeps the CR LF DOS endings for the DOS batch files.

cat >buildall.bat <<_EOF
@echo off
set WHAT=make
if "%1" == "clean" set WHAT=clean
_EOF
cat >clean.bat <<_EOF
@echo off
if exist *.map del *.map
if exist *.obj del *.obj
if exist *.sym del *.sym
if exist *.exe del *.exe
_EOF
for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -vu ../buildall.sh buildall.sh || exit 1

if [ -x buildall.sh ]; then
echo Building: $i
./buildall.sh $* || exit 1

cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call buildall.bat %WHAT%
cd ..
_EOF
fi

if [ -x make.sh ]; then
./make.sh $* || exit 1

echo Building: $i
cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call make.bat %WHAT%
cd ..
_EOF
./make.sh $* || exit 1
fi)
) || exit 1
fi; done

cat >>buildall.bat <<_EOF
echo All done
_EOF

35 changes: 0 additions & 35 deletions common-makefile.sh
@@ -1,30 +1,5 @@
#!/usr/bin/bash

cat >MAKE.BAT <<_EOF
@echo off
if "%1" == "clean" call clean.bat
if "%1" == "clean" goto end
rem shut up DOS4G/W
set DOS4G=quiet
_EOF

if [ "$SOURCES" != "" ]; then
for x in $SOURCES; do
cat >>MAKE.BAT <<_EOF
$WCC $SOURCES $WCC_OPTS
_EOF
done
fi

cat >>MAKE.BAT <<_EOF
$WLINK
:end
_EOF

if [ "$1" == "clean" ]; then
rm -fv *.{obj,sym,map,exe}
else
Expand All @@ -41,13 +16,3 @@ else
fi
fi

cat >CLEAN.BAT <<_EOF
@echo off
del *.obj
del *.sym
del *.map
del *.exe
del *.com
del *.lib
_EOF

36 changes: 1 addition & 35 deletions doc/buildall.sh
Expand Up @@ -6,53 +6,19 @@
# NTS: Make sure your editor uses unix LF endings in the file,
# but keeps the CR LF DOS endings for the DOS batch files.

cat >buildall.bat <<_EOF
@echo off
set WHAT=make
if "%1" == "clean" set WHAT=clean
_EOF
cat >clean.bat <<_EOF
@echo off
if exist *.map del *.map
if exist *.obj del *.obj
if exist *.sym del *.sym
if exist *.exe del *.exe
_EOF
for i in *; do if [ -d "$i" ]; then
(cd $i && (
cp -vu ../buildall.sh buildall.sh || exit 1

if [ -x buildall.sh ]; then
echo Building: $i
./buildall.sh $* || exit 1

cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call buildall.bat %WHAT%
cd ..
_EOF
fi

if [ -x make.sh ]; then
./make.sh $* || exit 1

echo Building: $i
cat >>../buildall.bat <<_EOF
echo Building: $i
cd $i
call make.bat %WHAT%
cd ..
_EOF
./make.sh $* || exit 1
fi)
) || exit 1
fi; done

cat >>buildall.bat <<_EOF
echo All done
_EOF

0 comments on commit b5b8761

Please sign in to comment.