1$! VMSBUILD.COM for ZOO 2.10
2$!
3$! Adapted from similar script for zoo 2.01 that was contributed by
4$!    Steve Roseman
5$!    Lehigh University Computing Center
6$!    LUSGR@VAX1.CC.Lehigh.EDU
7$!
8$ write sys$output "Compiling zoo..."
9$ write sys$output "$ cc addbfcrc.c"
10$ cc/nolist addbfcrc.c/define=(BIG_MEM,NDEBUG,VMS)
11$ write sys$output "$ cc addfname.c"
12$ cc/nolist addfname.c/define=(BIG_MEM,NDEBUG,VMS)
13$ write sys$output "$ cc basename.c"
14$ cc/nolist basename.c/define=(BIG_MEM,NDEBUG,VMS)
15$ write sys$output "$ cc comment.c"
16$ cc/nolist comment.c/define=(BIG_MEM,NDEBUG,VMS)
17$ write sys$output "$ cc crcdefs.c"
18$ cc/nolist crcdefs.c/define=(BIG_MEM,NDEBUG,VMS)
19$ write sys$output "$ cc decode.c"
20$ cc/nolist decode.c/define=(BIG_MEM,NDEBUG,VMS)
21$ write sys$output "$ cc encode.c"
22$ cc/nolist encode.c/define=(BIG_MEM,NDEBUG,VMS)
23$ write sys$output "$ cc getfile.c"
24$ cc/nolist getfile.c/define=(BIG_MEM,NDEBUG,VMS)
25$ write sys$output "$ cc huf.c"
26$ cc/nolist huf.c/define=(BIG_MEM,NDEBUG,VMS)
27$ write sys$output "$ cc io.c"
28$ cc/nolist io.c/define=(BIG_MEM,NDEBUG,VMS)
29$ write sys$output "$ cc lzc.c"
30$ cc/nolist lzc.c/define=(BIG_MEM,NDEBUG,VMS)
31$ write sys$output "$ cc lzd.c"
32$ cc/nolist lzd.c/define=(BIG_MEM,NDEBUG,VMS)
33$ write sys$output "$ cc lzh.c"
34$ cc/nolist lzh.c/define=(BIG_MEM,NDEBUG,VMS)
35$ write sys$output "$ cc machine.c"
36$ cc/nolist machine.c/define=(BIG_MEM,NDEBUG,VMS)
37$ write sys$output "$ cc makelist.c"
38$ cc/nolist makelist.c/define=(BIG_MEM,NDEBUG,VMS)
39$ write sys$output "$ cc maketbl.c"
40$ cc/nolist maketbl.c/define=(BIG_MEM,NDEBUG,VMS)
41$ write sys$output "$ cc maketree.c"
42$ cc/nolist maketree.c/define=(BIG_MEM,NDEBUG,VMS)
43$ write sys$output "$ cc misc.c"
44$ cc/nolist misc.c/define=(BIG_MEM,NDEBUG,VMS)
45$ write sys$output "$ cc misc2.c"
46$ cc/nolist misc2.c/define=(BIG_MEM,NDEBUG,VMS)
47$ write sys$output "$ cc needed.c"
48$ cc/nolist needed.c/define=(BIG_MEM,NDEBUG,VMS)
49$ write sys$output "$ cc nextfile.c"
50$ cc/nolist nextfile.c/define=(BIG_MEM,NDEBUG,VMS)
51$ write sys$output "$ cc options.c"
52$ cc/nolist options.c/define=(BIG_MEM,NDEBUG,VMS)
53$ write sys$output "$ cc parse.c"
54$ cc/nolist parse.c/define=(BIG_MEM,NDEBUG,VMS)
55$ write sys$output "$ cc portable.c"
56$ cc/nolist portable.c/define=(BIG_MEM,NDEBUG,VMS)
57$ write sys$output "$ cc prterror.c"
58$ cc/nolist prterror.c/define=(BIG_MEM,NDEBUG,VMS)
59$ write sys$output "$ cc version.c"
60$ cc/nolist version.c/define=(BIG_MEM,NDEBUG,VMS)
61$ write sys$output "$ cc vmstime.c"
62$ cc/nolist vmstime.c/define=(BIG_MEM,NDEBUG,VMS)
63$ write sys$output "$ cc zoo.c"
64$ cc/nolist zoo.c/define=(BIG_MEM,NDEBUG,VMS)
65$ write sys$output "$ cc zooadd.c"
66$ cc/nolist zooadd.c/define=(BIG_MEM,NDEBUG,VMS)
67$ write sys$output "$ cc zooadd2.c"
68$ cc/nolist zooadd2.c/define=(BIG_MEM,NDEBUG,VMS)
69$ write sys$output "$ cc zoodel.c"
70$ cc/nolist zoodel.c/define=(BIG_MEM,NDEBUG,VMS)
71$ write sys$output "$ cc zooext.c"
72$ cc/nolist zooext.c/define=(BIG_MEM,NDEBUG,VMS)
73$ write sys$output "$ cc zoolist.c"
74$ cc/nolist zoolist.c/define=(BIG_MEM,NDEBUG,VMS)
75$ write sys$output "$ cc zoopack.c"
76$ cc/nolist zoopack.c/define=(BIG_MEM,NDEBUG,VMS)
77$
78$
79$ write sys$output "Linking zoo..."
80$ link /executable=zoo.exe -
81   addbfcrc.obj, addfname.obj, basename.obj, comment.obj,  -
82   crcdefs.obj, decode.obj, encode.obj, getfile.obj, huf.obj,  -
83   io.obj, lzc.obj, lzd.obj, lzh.obj, machine.obj, makelist.obj,  -
84   maketbl.obj, maketree.obj, misc.obj, misc2.obj, needed.obj,  -
85   nextfile.obj, options.obj, parse.obj, portable.obj, prterror.obj,  -
86   version.obj, vmstime.obj, zoo.obj, zooadd.obj, zooadd2.obj,  -
87   zoodel.obj, zooext.obj, zoolist.obj, zoopack.obj, -
88	options/opt
89$
90$ write sys$output "Building fiz..."
91$ cc/nolist fiz.c
92$ link /executable=fiz.exe fiz.obj, addbfcrc.obj, portable.obj, -
93	crcdefs.obj, options/opt
94$ write sys$output "Building bilf..."
95$ cc/nolist bilf.c
96$ link /executable=bilf.exe bilf.obj, options/opt
97$
98$! delete *.obj.*
99