1$! 2$! Make ImageMagick image utilities for VMS. 3$! 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 9$ 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 18$endif 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 23$endif 24$ 25$write sys$output "Making MagickCore..." 26$call Make accelerate.c 27$call Make animate.c 28$call Make annotate.c 29$call Make artifact.c 30$call Make attribute.c 31$call Make blob.c 32$call Make cache.c 33$call Make cache-view.c 34$call Make channel.c 35$call Make cipher.c 36$call Make client.c 37$call Make coder.c 38$call Make color.c 39$call Make colormap.c 40$call Make colorspace.c 41$call Make compare.c 42$call Make composite.c 43$call Make compress.c 44$call Make configure.c 45$call Make constitute.c 46$call Make decorate.c 47$call Make delegate.c 48$call Make deprecate.c 49$call Make display.c 50$call Make distort.c 51$call Make distribute-cache.c 52$call Make draw.c 53$call Make effect.c 54$call Make enhance.c 55$call Make exception.c 56$call Make feature.c 57$call Make fourier.c 58$call Make fx.c 59$call Make gem.c 60$call Make geometry.c 61$call Make hashmap.c 62$call Make histogram.c 63$call Make identify.c 64$call Make image.c 65$call Make image-view.c 66$call Make layer.c 67$call Make list.c 68$call Make locale.c 69$call Make log.c 70$call Make magic.c 71$call Make magick.c 72$call Make matrix.c 73$call Make memory.c 74$call Make mime.c 75$call Make module.c 76$call Make monitor.c 77$call Make montage.c 78$call Make morphology.c 79$call Make opencl.c 80$call Make option.c 81$call Make paint.c 82$call Make pixel.c 83$call Make policy.c 84$call Make prepress.c 85$call Make property.c 86$call Make PreRvIcccm.c 87$call Make profile.c 88$call Make quantize.c 89$call Make quantum.c 90$call Make quantum-export.c 91$call Make quantum-import.c 92$call Make random.c 93$call Make registry.c 94$call Make resample.c 95$call Make resize.c 96$call Make resource.c 97$call Make segment.c 98$call Make semaphore.c 99$call Make shear.c 100$call Make signature.c 101$call Make splay-tree.c 102$call Make static.c 103$call Make statistic.c 104$call Make stream.c 105$call Make string.c 106$call Make thread.c 107$call Make timer.c 108$call Make token.c 109$call Make transform.c 110$call Make threshold.c 111$call Make type.c 112$call Make utility.c 113$call Make version.c 114$call Make vision.c 115$call Make vms.c 116$call Make widget.c 117$call Make xml-tree.c 118$call Make xwindow.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 127$ call Make import.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 142$ call Make wand.c 143$ call Make magick-image.c 144$ set default [-.magickcore] 145$ deass magickcore 146$ deass magickwand 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 163$exit 164$ 165$Make: subroutine 166$! 167$! Primitive MMS hack for DCL. 168$! 169$if (p1 .eqs. "") then exit 170$source_file=f$search(f$parse(p1,".c")) 171$if (source_file .nes. "") 172$then 173$ object_file=f$parse(source_file,,,"name")+".obj" 174$ object_file=f$search( object_file ) 175$ if (object_file .nes. "") 176$ then 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 - 180$ object_file="" 181$ endif 182$ if (object_file .eqs. "") 183$ then 184$ write sys$output "Compiling ",p1 185$ cc'compile_options'/include_directory=([-],[-.magickcore],[-.jpeg],[-.png], - 186 [-.tiff],[-.ttf],[-.zlib]) 'source_file' 187$ endif 188$endif 189$exit 190$endsubroutine 191