2 $! Make ImageMagick image utilities for VMS.
4 $ define/nolog MAGICKCORE [-.magickcore]
5 $ define/nolog MAGICKWAND [-.magickwand]
6 $ copy version.h_vms version.h
7 $ copy config.h_vms magick-baseconfig.h
8 $ copy xwdfile.h_vms xwdfile.h
10 $if (f$trnlnm("X11") .eqs. "") then define/nolog X11 decw$include:
11 $compile_options="/nodebug/optimize"
12 $if (f$search("sys$system:decc$compiler.exe") .nes. "")
13 $then ! VAX with DEC C
14 $ compile_options="/decc/nodebug/optimize/warning=(disable=rightshiftovr)"
15 $else ! VAX with VAX C
16 $define/nolog lnk$library sys$library:vaxcrtl
17 $define/nolog sys sys$share
19 $if (f$getsyi("HW_MODEL") .gt. 1023)
20 $then ! Alpha with DEC C
21 $ define/nolog sys decc$library_include
22 $ compile_options="/nodebug/optimize/prefix=all/warning=disable=(rightshiftovr,ptrmismatch,cvtdiftypes,SIZFUNVOIDTYP)/name=(as_is,short)/float=ieee
25 $write sys$output "Making MagickCore..."
26 $call Make accelerate.c
30 $call Make attribute.c
33 $call Make cache-view.c
40 $call Make colorspace.c
42 $call Make composite.c
44 $call Make configure.c
45 $call Make constitute.c
48 $call Make deprecate.c
51 $call Make distribute-cache.c
55 $call Make exception.c
62 $call Make histogram.c
65 $call Make image-view.c
78 $call Make morphology.c
86 $call Make PreRvIcccm.c
90 $call Make quantum-export.c
91 $call Make quantum-import.c
98 $call Make semaphore.c
100 $call Make signature.c
101 $call Make splay-tree.c
103 $call Make statistic.c
109 $call Make transform.c
110 $call Make threshold.c
117 $call Make xml-tree.c
119 $ set default [-.filters]
120 $ call Make analyze.c
121 $ set default [-.magickwand]
122 $ call Make drawing-wand.c
123 $ call Make pixel-wand.c
124 $ call Make wand-view.c
125 $ call Make conjure.c
126 $ call Make convert.c
128 $ call Make mogrify.c
129 $ copy animate.c animate-wand.c
130 $ call make animate-wand.c
131 $ copy compare.c compare-wand.c
132 $ call make compare-wand.c
133 $ copy composite.c composite-wand.c
134 $ call make composite-wand.c
135 $ copy display.c display-wand.c
136 $ call make display-wand.c
137 $ copy identify.c identify-wand.c
138 $ call make identify-wand.c
139 $ copy montage.c montage-wand.c
140 $ call make montage-wand.c
141 $ call Make magick-wand.c
143 $ call Make magick-image.c
144 $ set default [-.magickcore]
147 $library/create libMagick.olb -
148 accelerate, animate, annotate, artifact, attribute, blob, cache, cache-view, -
149 channel, cipher, client, coder, color, colormap, colorspace, compare, -
150 composite, compress, configure, constitute, decorate, delegate, deprecate, -
151 display, distort, draw, effect, enhance, exception, feature, fourier, fx, -
152 gem, geometry, hashmap, histogram, identify, image, image-view, layer, list, -
153 locale, log, magic, magick, matrix, memory, mime, module, monitor, montage, -
154 morphology, opencl, option, paint, pixel, PreRvIcccm, profile, quantize, quantum, -
155 quantum-export, quantum-import,random, registry, resample, resize, resource, -
156 segment, semaphore, shear, signature, splay-tree, static, stream, string, -
157 thread, timer, token, transform, threshold, type, utility, version, vms, -
158 widget, xwindow, statistic, policy, prepress, property, xml-tree, -
159 distribute-cache, vision,-
160 [-.filters]analyze,[-.magickwand]drawing-wand, pixel-wand, wand-view, conjure, -
161 convert,import, mogrify, animate-wand, compare-wand, composite-wand, -
162 display-wand,identify-wand,montage-wand,magick-wand,wand,magick-image
167 $! Primitive MMS hack for DCL.
169 $if (p1 .eqs. "") then exit
170 $source_file=f$search(f$parse(p1,".c"))
171 $if (source_file .nes. "")
173 $ object_file=f$parse(source_file,,,"name")+".obj"
174 $ object_file=f$search( object_file )
175 $ if (object_file .nes. "")
177 $ object_time=f$file_attribute(object_file,"cdt")
178 $ source_time=f$file_attribute(source_file,"cdt")
179 $ if (f$cvtime(object_time) .lts. f$cvtime(source_time)) then -
182 $ if (object_file .eqs. "")
184 $ write sys$output "Compiling ",p1
185 $ cc'compile_options'/include_directory=([-],[-.magickcore],[-.jpeg],[-.png], -
186 [-.tiff],[-.ttf],[-.zlib]) 'source_file'