MAKE.BAT
资源名称:drdossrc.zip [点击查看]
上传用户:xiaogehua
上传日期:2007-01-08
资源大小:1183k
文件大小:3k
源码类别:
操作系统开发
开发平台:
Asm
- @ECHO off
- SET TOOLS=C:TOOLS
- REM
- REM YOU SHOULD NOT HAVE TO CHANGE ANYTHING BELOW THIS LINE.
- REM
- REM Define local Caldera tools
- SET LOCTOOLS=..LTOOLS
- IF NOT EXIST BIN*.* MD BIN
- REM ******************************************
- REM Build the .A86 files next, get the obj's
- REM ******************************************
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .buffers.a86 .binbuffers.obj $szpz /DDELWATCH /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .dirs.a86 .bindirs.obj $szpz /DDELWATCH
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .fdos.a86 .binfdos.obj $szpz /DDELWATCH /DKANJI /DDOS5 /DPASSWORD /DJOIN /DUNDELETE
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .fcbs.a86 .binfcbs.obj
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .bdevio.a86 .binbdevio.obj $szpz /DDELWATCH /DDOS5 /DJOIN
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .cdevio.a86 .bincdevio.obj $szpz /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .fioctl.a86 .binfioctl.obj $szpz /DPASSWORD /DJOIN /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .redir.a86 .binredir.obj $szpz /DKANJI /DDOS5 /DJOIN
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .header.a86 .binheader.obj $szpz /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .pcmif.a86 .binpcmif.obj $szpz /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .cio.a86 .bincio.obj
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .disk.a86 .bindisk.obj $szpz /DDELWATCH
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .ioctl.a86 .binioctl.obj $szpz /DPASSWORD /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .misc.a86 .binmisc.obj $szpz /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .support.a86 .binsupport.obj
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .dosmem.a86 .bindosmem.obj
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .error.a86 .binerror.obj
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .process.a86 .binprocess.obj $szpz /DDOS5
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .network.a86 .binnetwork.obj
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .int2f.a86 .binint2f.obj $szpz /DDOS5 /DDELWATCH
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .history.a86 .binhistory.obj
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%rasm_sh %LOCTOOLS%rasm86.exe . .cmdline.a86 .bincmdline.obj
- IF ERRORLEVEL 1 GOTO FAILED
- copy ibmdos.inp .BIN
- CD .BIN
- ..%LOCTOOLS%linkcmd.exe ibmdos[i]
- IF ERRORLEVEL 1 GOTO FAILED
- CD ..
- %LOCTOOLS%bin2asc -ob -s128 .BINibmdos.tmp .BINibmdos.com
- IF ERRORLEVEL 1 GOTO FAILED
- %LOCTOOLS%compbdos .BINibmdos.com
- IF ERRORLEVEL 1 GOTO FAILED
- goto exit
- :failed
- ECHO Error in Build!
- goto exit
- :badtool
- ECHO Can't find that tool!
- :exit
- REM *********
- REM CLEANUP
- REM *********
- SET TOOLS=
- SET LTOOLS=