2 $! Make ImageMagick image utilities for VMS.
4 $ define/nolog MAGICK [-.magick]
5 $ define/nolog WAND [-.wand]
6 $ copy config.h_vms magick-config.h
7 $ copy xwdfile.h_vms xwdfile.h
9 $if (f$trnlnm("X11") .eqs. "") then define/nolog X11 decw$include:
10 $compile_options="/nodebug/optimize"
11 $if (f$search("sys$system:decc$compiler.exe") .nes. "")
12 $then ! VAX with DEC C
13 $ compile_options="/decc/nodebug/optimize/warning=(disable=rightshiftovr)"
14 $else ! VAX with VAX C
15 $define/nolog lnk$library sys$library:vaxcrtl
16 $define/nolog sys sys$share
18 $if (f$getsyi("HW_MODEL") .gt. 1023)
19 $then ! Alpha with DEC C
20 $ define/nolog sys decc$library_include
21 $ compile_options="/nodebug/optimize/prefix=all/warning=(disable=rightshiftovr)/name=(as_is,short)/float=ieee
24 $write sys$output "Making Magick..."
30 $call Make cache-view.c
35 $call Make colorspace.c
37 $call Make composite.c
39 $call Make configure.c
40 $call Make constitute.c
43 $call Make deprecate.c
49 $call Make exception.c
54 $call Make histogram.c
74 $call Make PreRvIcccm.c
78 $call Make quantum-export.c
79 $call Make quantum-import.c
86 $call Make semaphore.c
88 $call Make signature.c
89 $call Make splay-tree.c
91 $call Make statistic.c
97 $call Make transform.c
98 $call Make threshold.c
104 $call Make xml-tree.c
106 $ set default [-.filters]
107 $ call Make analyze.c
108 $ set default [-.wand]
109 $ call Make drawing-wand.c
110 $ call Make pixel-wand.c
111 $ call Make pixel-view.c
112 $ call Make conjure.c
113 $ call Make convert.c
115 $ call Make mogrify.c
116 $ copy animate.c animate-wand.c
117 $ call make animate-wand.c
118 $ copy compare.c compare-wand.c
119 $ call make compare-wand.c
120 $ copy composite.c composite-wand.c
121 $ call make composite-wand.c
122 $ copy display.c display-wand.c
123 $ call make display-wand.c
124 $ copy identify.c identify-wand.c
125 $ call make identify-wand.c
126 $ copy montage.c montage-wand.c
127 $ call make montage-wand.c
128 $ set default [-.magick]
131 $library/create libMagick.olb -
132 animate, annotate, artifact, blob, cache, cache-view, cipher, client, coder, -
133 color, colorspace, compare, composite, compress, configure, -
134 constitute, decorate, delegate, deprecate, display, distort, draw, -
135 effect, enhance, exception, fx, gem, geometry, hashmap, histogram, identify, -
136 image, layer, list, locale, log, magic, magick, matrix, memory, mime, -
137 module, monitor, montage, option, paint, pixel, PreRvIcccm, profile, -
138 quantize, quantum,quantum-export,quantum-import,random, registry, resample, -
139 resize, resource, segment, semaphore, -
140 shear, signature, splay-tree, static, stream, string, thread, timer, token, -
141 transform, threshold, type, utility, version, vms, widget, xwindow, -
142 statistic, prepress, property, xml-tree, -
143 [-.filters]analyze,[-.wand]drawing-wand, pixel-wand, pixel-view, conjure, -
144 convert,import, mogrify, animate-wand, compare-wand, composite-wand, -
145 display-wand,identify-wand,montage-wand
150 $! Primitive MMS hack for DCL.
152 $if (p1 .eqs. "") then exit
153 $source_file=f$search(f$parse(p1,".c"))
154 $if (source_file .nes. "")
156 $ object_file=f$parse(source_file,,,"name")+".obj"
157 $ object_file=f$search( object_file )
158 $ if (object_file .nes. "")
160 $ object_time=f$file_attribute(object_file,"cdt")
161 $ source_time=f$file_attribute(source_file,"cdt")
162 $ if (f$cvtime(object_time) .lts. f$cvtime(source_time)) then -
165 $ if (object_file .eqs. "")
167 $ write sys$output "Compiling ",p1
168 $ cc'compile_options'/include_directory=([-],[-.magick],[-.jpeg],[-.png], -
169 [-.tiff],[-.ttf],[-.zlib]) 'source_file'