source: trunk/essentials/dev-lang/python/Modules/zlib/make_vms.com

Last change on this file was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 12.9 KB
Line 
1$! make libz under VMS written by
2$! Martin P.J. Zinser
3$! <[email protected] or [email protected]>
4$!
5$ on error then goto err_exit
6$!
7$!
8$! Just some general constants...
9$!
10$ true = 1
11$ false = 0
12$ tmpnam = "temp_" + f$getjpi("","pid")
13$ SAY = "WRITE SYS$OUTPUT"
14$!
15$! Setup variables holding "config" information
16$!
17$ Make = ""
18$ name = "Zlib"
19$ version = "?.?.?"
20$ v_string = "ZLIB_VERSION"
21$ v_file = "zlib.h"
22$ ccopt = ""
23$ lopts = ""
24$ linkonly = false
25$ optfile = name + ".opt"
26$ its_decc = false
27$ its_vaxc = false
28$ its_gnuc = false
29$ axp = f$getsyi("HW_MODEL").ge.1024
30$ s_case = false
31$! Check for MMK/MMS
32$!
33$ If F$Search ("Sys$System:MMS.EXE") .nes. "" Then Make = "MMS"
34$ If F$Type (MMK) .eqs. "STRING" Then Make = "MMK"
35$!
36$!
37$ gosub find_version
38$!
39$ gosub check_opts
40$!
41$! Look for the compiler used