]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/contrib/mac-cw/Makefile.script
fix ANSI mode build
[wxWidgets.git] / src / tiff / contrib / mac-cw / Makefile.script
1
2 (* You must manually set the top-level PATHNAME here; everything else is automatic *)
3
4 set PATHNAME to "ritter:tiff-v3.4beta028:"
5 set PRINTING to "NO"
6
7 set MKG3STATES to PATHNAME & "mkg3states.mw"
8 set LIBTIFF to PATHNAME & "libtiff-68K.mw"
9 set TIFFINFO to PATHNAME & "tiffinfo.mw"
10
11 with timeout of 60000 seconds
12 tell application "MW C/C++ 68K 1.2.2"
13
14 activate
15
16
17 (* Create tif_fax3sm.c file *)
18 Create Project {file MKG3STATES}
19 Add Files {"mkg3states.c", "mkg3_main.c", "getopt.c"}
20 Add Files {"MacOS.lib"} To Segment 2
21 Add Files {"ANSI (4i/8d) C.68K.Lib"} To Segment 3
22 Add Files {"SIOUX.68K.Lib"} To Segment 4
23 Add Files {"MathLib68K (4i/8d).Lib"} To Segment 5
24
25 Set Preferences To {Activate CPlusPlus:false, ARM Conformance:false, ANSI Keywords Only:false, Require Function Prototypes:false, Expand Trigraph Sequences:false, Enums Always Ints:false, MPW Pointer Type Rules:false, Prefix File:"mac_main.h"}
26 Set Preferences To {Illegal Pragmas:false, Empty Declarations:false, Possible Errors:false, Unused Variables:false, Unused Arguments:false, Extra Commas:false, Extended Error Checking:false}
27 Set Preferences To {Code Model:2, Struct Alignment:0, MC68020 CodeGen:false, MC68881 CodeGen:false, Four Bytes Ints:true, Eight Byte Double:true, Peephole Optimizer:true, CSE Optimizer:true, Optimize For Size:true, Far Data:true, Use Profiler:false, Far Virtual Function Tables:false, Far String Constants:true}
28 Set Preferences To {MacsBug Symbols:2, Generate SYM File:false, Full Path In Sym Files:true, Generate Link Map:false, Generate A6 Stack Frames:true, The Debugger Aware:false, Link Single Segment:false, Fast Link:true}
29 Set Preferences To {Project Type:0, File Name:"mkg3states", File Creator:"????", File Type:"APPL"}
30
31 Make Project
32 Run Project
33 Remove Binaries
34 Close Project
35
36
37 (* Create LIBTIFF *)
38 Create Project {file LIBTIFF}
39 Add Files {"tif_apple.c", "tif_aux.c", "tif_close.c", "tif_codec.c", "tif_compress.c", "tif_dumpmode.c", "tif_error.c", "tif_flush.c", "tif_lzw.c", "tif_next.c", "tif_open.c", "tif_packbits.c"}
40 Add Files {"tif_fax3.c"} To Segment 2
41 Add Files {"tif_dirinfo.c", "tif_dir.c", "tif_dirwrite.c", "tif_dirread.c"} To Segment 3
42 Add Files {"tif_predict.c", "tif_print.c", "tif_read.c", "tif_strip.c", "tif_swab.c", "tif_thunder.c", "tif_tile.c", "tif_version.c", "tif_zip.c", "tif_jpeg.c", "tif_warning.c", "tif_write.c"} To Segment 4
43 Add Files {"tif_fax3sm.c"} To Segment 5
44 Add Files {"tif_getimage.c"} To Segment 6
45
46 Set Preferences To {Activate CPlusPlus:false, ARM Conformance:false, ANSI Keywords Only:false, Require Function Prototypes:false, Expand Trigraph Sequences:false, Enums Always Ints:false, MPW Pointer Type Rules:false, Prefix File:"MacHeaders68K"}
47 Set Preferences To {Illegal Pragmas:false, Empty Declarations:false, Possible Errors:false, Unused Variables:false, Unused Arguments:false, Extra Commas:false, Extended Error Checking:false}
48 Set Preferences To {Code Model:2, Struct Alignment:0, MC68020 CodeGen:false, MC68881 CodeGen:false, Four Bytes Ints:true, Eight Byte Double:true, Peephole Optimizer:true, CSE Optimizer:true, Optimize For Size:true, Far Data:true, Use Profiler:false, Far Virtual Function Tables:false, Far String Constants:true}
49 Set Preferences To {MacsBug Symbols:2, Generate SYM File:true, Full Path In Sym Files:true, Generate Link Map:false, Generate A6 Stack Frames:true, The Debugger Aware:false, Link Single Segment:false, Fast Link:true}
50 Set Preferences To {Project Type:2, File Name:"libtiff-68K", File Creator:"????", File Type:"APPL"}
51 Make Project
52 Close Project
53
54 Create Project {file TIFFINFO}
55 Add Files {"tiffinfo.c", "mac_main.c", "getopt.c"}
56 Add Files {"MacOS.lib"} To Segment 2
57 Add Files {"ANSI (4i/8d) C.68K.Lib"} To Segment 3
58 Add Files {"SIOUX.68K.Lib"} To Segment 4
59 Add Files {"MathLib68K (4i/8d).Lib"} To Segment 5
60 Add Files {"libtiff-68K"} To Segment 6
61
62 Set Preferences To {Activate CPlusPlus:false, ARM Conformance:false, ANSI Keywords Only:false, Require Function Prototypes:false, Expand Trigraph Sequences:false, Enums Always Ints:false, MPW Pointer Type Rules:false, Prefix File:"mac_main.h"}
63 Set Preferences To {Illegal Pragmas:false, Empty Declarations:false, Possible Errors:false, Unused Variables:false, Unused Arguments:false, Extra Commas:false, Extended Error Checking:false}
64 Set Preferences To {Code Model:2, Struct Alignment:0, MC68020 CodeGen:false, MC68881 CodeGen:false, Four Bytes Ints:true, Eight Byte Double:true, Peephole Optimizer:true, CSE Optimizer:true, Optimize For Size:true, Far Data:true, Use Profiler:false, Far Virtual Function Tables:false, Far String Constants:true}
65 Set Preferences To {MacsBug Symbols:2, Generate SYM File:false, Full Path In Sym Files:true, Generate Link Map:false, Generate A6 Stack Frames:true, The Debugger Aware:false, Link Single Segment:false, Fast Link:true}
66 Set Preferences To {Project Type:0, File Name:"tiffinfo", File Creator:"????", File Type:"APPL"}
67
68 Make Project
69 Close Project
70
71 end tell
72 end timeout