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..."
25 $call Make accelerate.c
29 $call Make attribute.c
32 $call Make cache-view.c
38 $call Make colorspace.c
40 $call Make composite.c
42 $call Make configure.c
43 $call Make constitute.c
46 $call Make deprecate.c
52 $call Make exception.c
59 $call Make histogram.c
74 $call Make morphology.c
81 $call Make PreRvIcccm.c
85 $call Make quantum-export.c
86 $call Make quantum-import.c
93 $call Make semaphore.c
95 $call Make signature.c
96 $call Make splay-tree.c
98 $call Make statistic.c
104 $call Make transform.c
105 $call Make threshold.c
111 $call Make xml-tree.c
113 $ set default [-.filters]
114 $ call Make analyze.c
115 $ set default [-.wand]
116 $ call Make drawing-wand.c
117 $ call Make pixel-wand.c
118 $ call Make pixel-view.c
119 $ call Make conjure.c
120 $ call Make convert.c
122 $ call Make mogrify.c
123 $ copy animate.c animate-wand.c
124 $ call make animate-wand.c
125 $ copy compare.c compare-wand.c
126 $ call make compare-wand.c
127 $ copy composite.c composite-wand.c
128 $ call make composite-wand.c
129 $ copy display.c display-wand.c
130 $ call make display-wand.c
131 $ copy identify.c identify-wand.c
132 $ call make identify-wand.c
133 $ copy montage.c montage-wand.c
134 $ call make montage-wand.c
135 $ set default [-.magick]
138 $library/create libMagick.olb -
139 accelerate, animate, annotate, artifact, attribute, blob, cache, cache-view, -
140 cipher, client, coder, color, colormap, colorspace, compare, composite, -
141 compress, configure, constitute, decorate, delegate, deprecate, display, -
142 distort, draw, effect, enhance, exception, feature, fourier, fx, gem, -
143 geometry, hashmap, histogram, identify, image, layer, list, locale, log, -
144 magic, magick, matrix, memory, mime, module, monitor, montage, morphology, -
145 option, paint, pixel, PreRvIcccm, profile, quantize, quantum, -
146 quantum-export, quantum-import,random, registry, resample, resize, resource, -
147 segment, semaphore, shear, signature, splay-tree, static, stream, string, -
148 thread, timer, token, transform, threshold, type, utility, version, vms, -
149 widget, xwindow, statistic, policy, prepress, property, xml-tree, -
150 [-.filters]analyze,[-.wand]drawing-wand, pixel-wand, pixel-view, conjure, -
151 convert,import, mogrify, animate-wand, compare-wand, composite-wand, -
152 display-wand,identify-wand,montage-wand
157 $! Primitive MMS hack for DCL.
159 $if (p1 .eqs. "") then exit
160 $source_file=f$search(f$parse(p1,".c"))
161 $if (source_file .nes. "")
163 $ object_file=f$parse(source_file,,,"name")+".obj"
164 $ object_file=f$search( object_file )
165 $ if (object_file .nes. "")
167 $ object_time=f$file_attribute(object_file,"cdt")
168 $ source_time=f$file_attribute(source_file,"cdt")
169 $ if (f$cvtime(object_time) .lts. f$cvtime(source_time)) then -
172 $ if (object_file .eqs. "")
174 $ write sys$output "Compiling ",p1
175 $ cc'compile_options'/include_directory=([-],[-.magick],[-.jpeg],[-.png], -
176 [-.tiff],[-.ttf],[-.zlib]) 'source_file'