Make.com revision 87fedba8d47a471f06d430822bd571148dc79ecb
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..."
24$call Make art.c
25$call Make avs.c
26$call Make bmp.c
27$call Make braille.c
28$call Make cals.c
29$call Make caption.c
30$call Make cip.c
31$call Make clip.c
32$call Make clipboard.c
33$call Make cmyk.c
34$call Make cut.c
35$call Make dcm.c
36$call Make dds.c
37$call Make dib.c
38$call Make dng.c
39$call Make dps.c
40$call Make dpx.c
41$call Make emf.c
42$call Make ept.c
43$call Make exr.c
44$call Make fax.c
45$call Make fits.c
46$call Make fpx.c
47$call Make gif.c
48$call Make gradient.c
49$call Make gray.c
50$call Make hald.c
51$call Make histogram.c
52$call Make hrz.c
53$call Make html.c
54$call Make icon.c
55$call Make info.c
56$call Make inline.c
57$call Make ipl.c
58$call Make jbig.c
59$call Make jpeg.c
60$call Make jp2.c
61$call Make label.c
62$call Make map.c
63$call Make mat.c
64$call Make matte.c
65$call Make meta.c
66$call Make miff.c
67$call Make mpc.c
68$call Make mpeg.c
69$call Make mpr.c
70$call Make msl.c
71$call Make mono.c
72$call Make mtv.c
73$call Make mvg.c
74$call Make null.c
75$call Make otb.c
76$call Make palm.c
77$call Make pattern.c
78$call Make pcd.c
79$call Make pcl.c
80$call Make pcx.c
81$call Make pdb.c
82$call Make pdf.c
83$call Make pes.c
84$call Make pict.c
85$call Make pix.c
86$call Make plasma.c
87$call Make png.c
88$call Make pnm.c
89$call Make preview.c
90$call Make ps.c
91$call Make ps2.c
92$call Make ps3.c
93$call Make psd.c
94$call Make pwp.c
95$call Make raw.c
96$call Make rgb.c
97$call Make rla.c
98$call Make rle.c
99$call Make sct.c
100$call Make sfw.c
101$call Make sgi.c
102$call Make stegano.c
103$call Make sun.c
104$call Make svg.c
105$call Make tga.c
106$call Make thumbnail.c
107$call Make tiff.c
108$call Make tile.c
109$call Make tim.c
110$call Make ttf.c
111$call Make txt.c
112$call Make uil.c
113$call Make url.c
114$call Make uyvy.c
115$call Make vicar.c
116$call Make vid.c
117$call Make viff.c
118$call Make wbmp.c
119$call Make wmf.c
120$call Make wpg.c
121$call Make x.c
122$call Make xbm.c
123$call Make xc.c
124$call Make xcf.c
125$call Make xpm.c
126$call Make xps.c
127$call Make xwd.c
128$call Make ycbcr.c
129$call Make yuv.c
130$call Make cin.c
131$call Make magick.c
132$call Make scr.c
133$deass magick
134$deass wand
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
144$exit
145$
146$Make: subroutine
147$!
148$! Primitive MMS hack for DCL.
149$!
150$if (p1 .eqs. "") then exit
151$source_file=f$search(f$parse(p1,".c"))
152$if (source_file .nes. "")
153$then
154$  object_file=f$parse(source_file,,,"name")+".obj"
155$  object_file=f$search( object_file )
156$  if (object_file .nes. "")
157$  then
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 -
161$      object_file=""
162$  endif
163$  if (object_file .eqs. "")
164$  then
165$    write sys$output "Compiling ",p1
166$    cc'compile_options'/include_directory=([-],[-.magick],[-.jpeg],[-.png], -
167       [-.tiff],[-.ttf],[-.zlib]) 'source_file'  
168$  endif
169$endif
170$exit
171$endsubroutine
172