2 $! Make ImageMagick image coders for VMS.
5 $ define/nolog MAGICKCORE [-.magickcore]
6 $ define/nolog MAGICKWAND [-.magickwand]
7 $if (f$trnlnm("X11") .eqs. "") then define/nolog X11 decw$include:
8 $compile_options="/nodebug/optimize"
9 $if (f$search("sys$system:decc$compiler.exe") .nes. "")
10 $then ! VAX with DEC C
11 $ compile_options="/decc/nodebug/optimize/warning=(disable=rightshiftovr)"
12 $else ! VAX with VAX C
13 $define/nolog lnk$library sys$library:vaxcrtl
14 $define/nolog sys sys$share
16 $if (f$getsyi("HW_MODEL") .gt. 1023)
17 $then ! Alpha with DEC C
18 $ define/nolog sys decc$library_include
19 $ compile_options="/nodebug/optimize/prefix=all/warning=(disable=(rightshiftovr,INPTRTYPE))/name=(as_is,short)/float=ieee"
23 $write sys$output "Making Coders..."
34 $call Make clipboard.c
56 $call Make histogram.c
111 $call Make screenshot.c
120 $call Make thumbnail.c
152 $library/create libCoders.olb aai,art,avs,bgr,bmp,braille,clip,clipboard,cip, -
153 cmyk,cut,dcm,dds,debug,dib,dng,dps,dpx,emf,ept,exr,fax,fd,fits,fpx,gif, -
154 gradient,gray,hald,histogram,hrz,html,icon,info,inline,ipl,jbig,jpeg,jp2, -
155 jnx,json,hdr,label,cals,caption,palm,mac,magick,map,mat,matte,pango,rgf, -
156 meta,miff,mpc,mpr,msl,mpeg,mono,mtv,mvg,null,otb,pattern,pcd,pcl,pcx,pdb, -
157 pdf,pes,pict,pix,plasma,png,pnm,preview,ps,ps2,ps3,psd,pwp,raw,rgb,rla,rle, -
158 sct,sfw,sgi,stegano,sun,svg,tga,thumbnail,tiff,tile,tim,ttf,txt,uil,url, -
159 uyvy,vicar,vid,viff,wbmp,webp,wmf,wpg,x,xbm,xc,xcf,xpm,xps,xwd,ycbcr,yuv, -
160 mask,screenshot,vips,sixel,xtrn, -
161 cin,magick,scr,[-.magickcore]compress,[-.magickcore]prervicccm
166 $! Primitive MMS hack for DCL.
168 $if (p1 .eqs. "") then exit
169 $source_file=f$search(f$parse(p1,".c"))
170 $if (source_file .nes. "")
172 $ object_file=f$parse(source_file,,,"name")+".obj"
173 $ object_file=f$search( object_file )
174 $ if (object_file .nes. "")
176 $ object_time=f$file_attribute(object_file,"cdt")
177 $ source_time=f$file_attribute(source_file,"cdt")
178 $ if (f$cvtime(object_time) .lts. f$cvtime(source_time)) then -
181 $ if (object_file .eqs. "")
183 $ write sys$output "Compiling ",p1
184 $ cc'compile_options'/include_directory=([-],[-.magickcore],[-.jpeg],[-.png], -
185 [-.tiff],[-.ttf],[-.zlib]) 'source_file'