source: trunk/essentials/app-arch/gzip/primos/build.cpl

Last change on this file was 3325, checked in by bird, 18 years ago

gzip 1.3.11

File size: 1.6 KB
Line 
1/* Gzip build file for Primos.
2/* author: Peter Eriksson, pen@lysator.liu.se
3/*
4type
5type 'Building GZIP for PRIMOS - Please Wait...'
6type
7&if ^ [exists *>PRIMOS>OBJ -dir] &then &do
8 type 'Creating *>PRIMOS>OBJ directory...'
9 type
10 create *>PRIMOS>OBJ
11 &end
12
13type 'Compiling...
14
15&set_var unit := 0
16
17/*
18&set_var cdefines := -debug
19
20como *>primos>compile.como
21&do file &items [wild *>@@.c -single unit]
22 &set_var filebase := [before %file% .]
23 &if ^ [exists *>primos>obj>%filebase%.bin] &then &do
24 type 'Compiling "'%file%'"...'
25 ci *>%file% -binary *>primos>obj>=.bin %cdefines% -optionsfile *>primos>ci.opts
26 &end
27&end
28close -unit %unit%
29&set_var unit := 0
30
31&do file &items [wild *>primos>@@.c -single unit]
32 &set_var filebase := [before %file% .]
33 &if ^ [exists *>primos>obj>%filebase%.bin] &then &do
34 type 'Compiling "'%file%'"...'
35 ci *>primos>%file% -binary *>primos>obj>=.bin %cdefines% -optionsfile *>primos>ci.opts
36 &end
37&end
38como -end
39
40type
41type
42type 'Binding...'
43
44&set_var unit := 0
45&data bind
46 li ccmain
47 load *>primos>obj>gzip
48 load *>primos>obj>bits
49 load *>primos>obj>crypt
50 load *>primos>obj>deflate
51 load *>primos>obj>getopt
52 load *>primos>obj>inflate
53 load *>primos>obj>lzw
54 load *>primos>obj>makecrc
55 load *>primos>obj>primos
56 load *>primos>obj>trees
57 load *>primos>obj>unlzw
58 load *>primos>obj>unpack
59 load *>primos>obj>unlzh
60 load *>primos>obj>unzip
61 load *>primos>obj>util
62 load *>primos>obj>zip
63 li c_lib
64 li
65 dynt -all
66 nwc
67 nitr
68 ntw
69 compress
70 file *>primos>gzip.run
71&end
72
73type
74type
75type 'All done. (Hopefully). The executable should be in *>PRIMOS>GZIP.RUN'
76&return
Note: See TracBrowser for help on using the repository browser.