File: dosmake.bat

package info (click to toggle)
gcl 2.6.14-21
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 60,864 kB
  • sloc: ansic: 177,407; lisp: 151,509; asm: 128,169; sh: 22,510; cpp: 11,923; tcl: 3,181; perl: 2,930; makefile: 2,360; sed: 334; yacc: 226; lex: 95; awk: 30; fortran: 24; csh: 23
file content (73 lines) | stat: -rwxr-xr-x 1,489 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@echo off
rem ----------------------------------------------------------------------
rem No COPYRIGHTs, WARRANTIES, ...
rem
rem batch file to build akcl for dos.
rem Report errors, bugs or enhancements to :
rem                                     rcharif@math.utexas.edu
rem                                  or wfs@math.utexas.edu
rem ----------------------------------------------------------------------

rem Hope no one calls his env variable like that
set __MAKE_ER=

cd bin
make CC=gcc dpp
IF ERRORLEVEL 1 set __MAKE_ER=DPP
IF ERRORLEVEL 1 goto errEncountered
aout2exe dpp
cd ..

cd mp
make all
IF ERRORLEVEL 1 set __MAKE_ER=MP
IF ERRORLEVEL 1 goto errEncountered
cd ..

cd o
make all
IF ERRORLEVEL 1 set __MAKE_ER=O
IF ERRORLEVEL 1 goto errEncountered
cd ..

cd lsp
make all
IF ERRORLEVEL 1 set __MAKE_ER=LSP
IF ERRORLEVEL 1 goto errEncountered
cd ..

cd cmpnew
make all
IF ERRORLEVEL 1 set __MAKE_ER=CMPNEW
IF ERRORLEVEL 1 goto errEncountered
cd ..

cd dos
make all
IF ERRORLEVEL 1 set __MAKE_ER=DOS
IF ERRORLEVEL 1 goto errEncountered
cd..

cd unixport
make rsym
IF ERRORLEVEL 1 set __MAKE_ER=RSYM
IF ERRORLEVEL 1 goto errEncountered
aout2exe rsym

make -f makefile.dos raw_kcl 
IF ERRORLEVEL 1 set __MAKE_ER=RAW_KCL
IF ERRORLEVEL 1 goto errEncountered

make -f makefile.dos saved_kcl 
IF ERRORLEVEL 1 set __MAKE_ER=SAVED_KCL
IF ERRORLEVEL 1 goto errEncountered
rem go32 raw_kcl <akcldos.lsp
goto end

:errEncountered
echo Error building %__MAKE_ER%
goto end

:end
set __MAKE_ER=