cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | $! |
| 2 | $! Make ImageMagick image coders for VMS. |
| 3 | $! |
| 4 | $ |
| 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 |
| 15 | $endif |
| 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" |
| 20 | $endif |
| 21 | $ |
| 22 | $ |
| 23 | $write sys$output "Making Coders..." |
cristy | 397bede | 2011-01-18 23:59:59 +0000 | [diff] [blame] | 24 | $call Make aai.c |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 25 | $call Make art.c |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 26 | $call Make avs.c |
cristy | 90dbac7 | 2010-08-22 15:08:40 +0000 | [diff] [blame] | 27 | $call Make bgr.c |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 28 | $call Make bmp.c |
| 29 | $call Make braille.c |
| 30 | $call Make cals.c |
| 31 | $call Make caption.c |
| 32 | $call Make cip.c |
| 33 | $call Make clip.c |
| 34 | $call Make clipboard.c |
| 35 | $call Make cmyk.c |
| 36 | $call Make cut.c |
| 37 | $call Make dcm.c |
| 38 | $call Make dds.c |
cristy | 2aac09a | 2010-06-06 16:46:43 +0000 | [diff] [blame] | 39 | $call Make debug.c |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 40 | $call Make dib.c |
| 41 | $call Make dng.c |
| 42 | $call Make dps.c |
| 43 | $call Make dpx.c |
| 44 | $call Make emf.c |
| 45 | $call Make ept.c |
| 46 | $call Make exr.c |
| 47 | $call Make fax.c |
| 48 | $call Make fits.c |
| 49 | $call Make fpx.c |
| 50 | $call Make gif.c |
| 51 | $call Make gradient.c |
| 52 | $call Make gray.c |
| 53 | $call Make hald.c |
| 54 | $call Make histogram.c |
| 55 | $call Make hrz.c |
| 56 | $call Make html.c |
| 57 | $call Make icon.c |
| 58 | $call Make info.c |
| 59 | $call Make inline.c |
| 60 | $call Make ipl.c |
| 61 | $call Make jbig.c |
| 62 | $call Make jpeg.c |
| 63 | $call Make jp2.c |
| 64 | $call Make label.c |
cristy | ae29c4f | 2010-12-28 14:45:29 +0000 | [diff] [blame] | 65 | $call Make mac.c |
| 66 | $call Make magick.c |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 67 | $call Make map.c |
| 68 | $call Make mat.c |
| 69 | $call Make matte.c |
| 70 | $call Make meta.c |
| 71 | $call Make miff.c |
| 72 | $call Make mpc.c |
| 73 | $call Make mpeg.c |
| 74 | $call Make mpr.c |
| 75 | $call Make msl.c |
| 76 | $call Make mono.c |
| 77 | $call Make mtv.c |
| 78 | $call Make mvg.c |
| 79 | $call Make null.c |
| 80 | $call Make otb.c |
| 81 | $call Make palm.c |
| 82 | $call Make pattern.c |
| 83 | $call Make pcd.c |
| 84 | $call Make pcl.c |
| 85 | $call Make pcx.c |
| 86 | $call Make pdb.c |
| 87 | $call Make pdf.c |
cristy | 87fedba | 2010-01-24 17:19:24 +0000 | [diff] [blame] | 88 | $call Make pes.c |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 89 | $call Make pict.c |
| 90 | $call Make pix.c |
| 91 | $call Make plasma.c |
| 92 | $call Make png.c |
| 93 | $call Make pnm.c |
| 94 | $call Make preview.c |
| 95 | $call Make ps.c |
| 96 | $call Make ps2.c |
| 97 | $call Make ps3.c |
| 98 | $call Make psd.c |
| 99 | $call Make pwp.c |
| 100 | $call Make raw.c |
| 101 | $call Make rgb.c |
| 102 | $call Make rla.c |
| 103 | $call Make rle.c |
| 104 | $call Make sct.c |
| 105 | $call Make sfw.c |
| 106 | $call Make sgi.c |
| 107 | $call Make stegano.c |
| 108 | $call Make sun.c |
| 109 | $call Make svg.c |
| 110 | $call Make tga.c |
| 111 | $call Make thumbnail.c |
| 112 | $call Make tiff.c |
| 113 | $call Make tile.c |
| 114 | $call Make tim.c |
| 115 | $call Make ttf.c |
| 116 | $call Make txt.c |
| 117 | $call Make uil.c |
| 118 | $call Make url.c |
| 119 | $call Make uyvy.c |
| 120 | $call Make vicar.c |
| 121 | $call Make vid.c |
| 122 | $call Make viff.c |
cristy | b186075 | 2011-03-14 00:27:46 +0000 | [diff] [blame] | 123 | $call Make webp.c |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 124 | $call Make wbmp.c |
| 125 | $call Make wmf.c |
| 126 | $call Make wpg.c |
| 127 | $call Make x.c |
| 128 | $call Make xbm.c |
| 129 | $call Make xc.c |
| 130 | $call Make xcf.c |
| 131 | $call Make xpm.c |
| 132 | $call Make xps.c |
| 133 | $call Make xwd.c |
| 134 | $call Make ycbcr.c |
| 135 | $call Make yuv.c |
| 136 | $call Make cin.c |
| 137 | $call Make magick.c |
| 138 | $call Make scr.c |
| 139 | $deass magick |
| 140 | $deass wand |
cristy | 397bede | 2011-01-18 23:59:59 +0000 | [diff] [blame] | 141 | $library/create libCoders.olb aai,art,avs,bgr,bmp,braille,clip,clipboard,cip, - |
| 142 | cmyk,cut,dcm,dds,debug,dib,dng,dps,dpx,emf,ept,exr,fax,fits,fpx,gif, - |
| 143 | gradient,gray,hald,histogram,hrz,html,icon,info,inline,ipl,jbig,jpeg,jp2, - |
| 144 | label,cals,caption,palm,mac,magick,map,mat,matte, - |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 145 | meta,miff,mpc,mpr,msl,mpeg,mono,mtv,mvg,null,otb,pattern,pcd,pcl,pcx,pdb, - |
cristy | 87fedba | 2010-01-24 17:19:24 +0000 | [diff] [blame] | 146 | pdf,pes,pict,pix,plasma,png,pnm,preview,ps,ps2,ps3,psd,pwp,raw,rgb,rla,rle, - |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 147 | sct,sfw,sgi,stegano,sun,svg,tga,thumbnail,tiff,tile,tim,ttf,txt,uil,url, - |
cristy | b186075 | 2011-03-14 00:27:46 +0000 | [diff] [blame] | 148 | uyvy,vicar,vid,viff,wbmp,webp,wmf,wpg,x,xbm,xc,xcf,xpm,xps,xwd,ycbcr,yuv, - |
| 149 | cin,magick,scr,[-.magick]compress,[-.magick]prervicccm |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 150 | $exit |
| 151 | $ |
| 152 | $Make: subroutine |
| 153 | $! |
| 154 | $! Primitive MMS hack for DCL. |
| 155 | $! |
| 156 | $if (p1 .eqs. "") then exit |
| 157 | $source_file=f$search(f$parse(p1,".c")) |
| 158 | $if (source_file .nes. "") |
| 159 | $then |
| 160 | $ object_file=f$parse(source_file,,,"name")+".obj" |
| 161 | $ object_file=f$search( object_file ) |
| 162 | $ if (object_file .nes. "") |
| 163 | $ then |
| 164 | $ object_time=f$file_attribute(object_file,"cdt") |
| 165 | $ source_time=f$file_attribute(source_file,"cdt") |
| 166 | $ if (f$cvtime(object_time) .lts. f$cvtime(source_time)) then - |
| 167 | $ object_file="" |
| 168 | $ endif |
| 169 | $ if (object_file .eqs. "") |
| 170 | $ then |
| 171 | $ write sys$output "Compiling ",p1 |
| 172 | $ cc'compile_options'/include_directory=([-],[-.magick],[-.jpeg],[-.png], - |
| 173 | [-.tiff],[-.ttf],[-.zlib]) 'source_file' |
| 174 | $ endif |
| 175 | $endif |
| 176 | $exit |
| 177 | $endsubroutine |