2 $! Make ImageMagick image coders for VMS.
5 $ define/nolog MAGICK [-.magick]
6 $ define/nolog WAND [-.wand]
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)/name=(as_is,short)/float=ieee"
23 $write sys$output "Making Coders..."
32 $call Make clipboard.c
51 $call Make histogram.c
106 $call Make thumbnail.c
135 $library/create libCoders.olb art,avs,bmp,braille,clip,clipboard,cip,cmyk, -
136 cut,dcm,dds,dib,dng,dps,dpx,emf,ept,exr,fax,fits,fpx,gif,gradient,gray, -
137 hald,histogram,hrz,html,icon,info,inline,ipl,jbig,jpeg,jp2,label,cals, -
138 caption,palm,map,mat,matte, -
139 meta,miff,mpc,mpr,msl,mpeg,mono,mtv,mvg,null,otb,pattern,pcd,pcl,pcx,pdb, -
140 pdf,pes,pict,pix,plasma,png,pnm,preview,ps,ps2,ps3,psd,pwp,raw,rgb,rla,rle, -
141 sct,sfw,sgi,stegano,sun,svg,tga,thumbnail,tiff,tile,tim,ttf,txt,uil,url, -
142 uyvy,vicar,vid,viff,wbmp,wmf,wpg,x,xbm,xc,xcf,xpm,xps,xwd,ycbcr,yuv,cin, -
143 magick,scr,[-.magick]compress,[-.magick]prervicccm
148 $! Primitive MMS hack for DCL.
150 $if (p1 .eqs. "") then exit
151 $source_file=f$search(f$parse(p1,".c"))
152 $if (source_file .nes. "")
154 $ object_file=f$parse(source_file,,,"name")+".obj"
155 $ object_file=f$search( object_file )
156 $ if (object_file .nes. "")
158 $ object_time=f$file_attribute(object_file,"cdt")
159 $ source_time=f$file_attribute(source_file,"cdt")
160 $ if (f$cvtime(object_time) .lts. f$cvtime(source_time)) then -
163 $ if (object_file .eqs. "")
165 $ write sys$output "Compiling ",p1
166 $ cc'compile_options'/include_directory=([-],[-.magick],[-.jpeg],[-.png], -
167 [-.tiff],[-.ttf],[-.zlib]) 'source_file'