| 6 |  | ARCH = sun | 
| 7 |  | OPT = -O | 
| 8 |  | MACH = -DBSD | 
| 9 | < | SPECIAL = aed | 
| 9 | > | SPECIAL = | 
| 10 |  | CFLAGS = -I../common -L../lib $(OPT) $(MACH) | 
| 11 |  | CC = cc | 
| 12 |  | MLIB = -lm | 
| 18 |  | PIXAR_INCLUDE=  -I/usr/pixar/include | 
| 19 |  | PIXAR_LIB=      -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB) | 
| 20 |  |  | 
| 21 | < | PROGS = pfilt ttyimage oki20c oki20 psign ra_tiff normtiff \ | 
| 22 | < | pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_hexbit \ | 
| 23 | < | ra_t8 ra_bn ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ | 
| 21 | > | PROGS = pfilt ttyimage psign ra_tiff normtiff \ | 
| 22 | > | pvalue pcompos protate ra_hexbit ra_bmp \ | 
| 23 | > | ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ | 
| 24 |  | ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp | 
| 25 |  |  | 
| 26 |  | all:    $(PROGS) $(SPECIAL) | 
| 27 |  |  | 
| 28 | – | x10:    x10image | 
| 29 | – | cp x10image $(INSTDIR) | 
| 30 | – |  | 
| 31 | – | aed:    aedimage | 
| 32 | – | cp aedimage $(INSTDIR) | 
| 33 | – |  | 
| 34 | – | sgi:    glimage | 
| 35 | – | cp glimage $(INSTDIR) | 
| 36 | – |  | 
| 28 |  | ogl: | 
| 29 |  |  | 
| 30 |  | sun: | 
| 40 |  | cp phisto.csh $(INSTDIR)/phisto | 
| 41 |  | cp pdelta.csh $(INSTDIR)/pdelta | 
| 42 |  | cp pgblur.csh $(INSTDIR)/pgblur | 
| 52 | – | cp pbilat.csh $(INSTDIR)/pbilat | 
| 43 |  | cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur \ | 
| 44 | < | pmblur xyzimage phisto pdelta pgblur pbilat | 
| 44 | > | pmblur xyzimage phisto pdelta pgblur | 
| 45 |  |  | 
| 46 |  | clean: | 
| 47 | < | set nonomatch; rm -f x10image aedimage glimage \ | 
| 58 | < | $(PROGS) $(SPECIAL) *.o core | 
| 47 | > | set nonomatch; rm -f $(PROGS) $(SPECIAL) *.o core | 
| 48 |  | -cd tiff; make distclean | 
| 49 |  |  | 
| 50 |  | pfilt:  pfilt.o pf2.o pf3.o | 
| 60 |  | ttyimage:       ttyimage.o | 
| 61 |  | $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt $(MLIB) | 
| 62 |  |  | 
| 74 | – | t4027:  t4027.o | 
| 75 | – | $(CC) $(CFLAGS) -o t4027 t4027.o -lrt | 
| 76 | – |  | 
| 77 | – | glimage:        glimage.o | 
| 78 | – | $(CC) $(CFLAGS) -o glimage glimage.o -lrt -lgl_s $(MLIB) | 
| 79 | – |  | 
| 80 | – | aedimage:       aedimage.o ciq.o cut.o closest.o biq.o | 
| 81 | – | $(CC) $(CFLAGS) -o aedimage aedimage.o ciq.o cut.o closest.o \ | 
| 82 | – | biq.o -lrt $(MLIB) | 
| 83 | – |  | 
| 84 | – | oki20c: oki20c.o | 
| 85 | – | $(CC) $(CFLAGS) -o oki20c oki20c.o -lrt $(MLIB) | 
| 86 | – |  | 
| 87 | – | oki20:  oki20.o | 
| 88 | – | $(CC) $(CFLAGS) -o oki20 oki20.o -lrt $(MLIB) | 
| 89 | – |  | 
| 90 | – | paintjet:       paintjet.o | 
| 91 | – | $(CC) $(CFLAGS) -o paintjet paintjet.o -lrt $(MLIB) | 
| 92 | – |  | 
| 93 | – | mt160r: mt160r.o | 
| 94 | – | $(CC) $(CFLAGS) -o mt160r mt160r.o -lrt $(MLIB) | 
| 95 | – |  | 
| 96 | – | greyscale:      greyscale.o | 
| 97 | – | $(CC) $(CFLAGS) -o greyscale greyscale.o -lrt $(MLIB) | 
| 98 | – |  | 
| 99 | – | colorscale:     colorscale.o | 
| 100 | – | $(CC) $(CFLAGS) -o colorscale colorscale.o -lrt $(MLIB) | 
| 101 | – |  | 
| 63 |  | pvalue: pvalue.o | 
| 64 |  | $(CC) $(CFLAGS) -o pvalue pvalue.o -lrt $(MLIB) | 
| 65 |  |  | 
| 105 | – | psum:   psum.o | 
| 106 | – | $(CC) $(CFLAGS) -o psum psum.o -lrt | 
| 107 | – |  | 
| 66 |  | pcompos:        pcompos.o | 
| 67 |  | $(CC) $(CFLAGS) -o pcompos pcompos.o -lrt $(MLIB) | 
| 68 |  |  | 
| 69 |  | psign:  psign.o | 
| 70 |  | $(CC) $(CFLAGS) -o psign psign.o -lrt $(MLIB) | 
| 71 |  |  | 
| 114 | – | d48c:   d48c.o | 
| 115 | – | $(CC) $(CFLAGS) -o d48c d48c.o -lrt | 
| 116 | – |  | 
| 72 |  | ra_gif: ra_gif.o clrtab.o neuclrtab.o | 
| 73 |  | $(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrt $(MLIB) | 
| 74 |  |  | 
| 120 | – | ra_pr:  ra_pr.o ciq.o cut.o closest.o biq.o | 
| 121 | – | $(CC) $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \ | 
| 122 | – | biq.o -lrt $(MLIB) | 
| 123 | – |  | 
| 124 | – | ra_pr24:        ra_pr24.o | 
| 125 | – | $(CC) $(CFLAGS) -o ra_pr24 ra_pr24.o -lrt $(MLIB) | 
| 126 | – |  | 
| 127 | – | ra_avs: ra_avs.o | 
| 128 | – | $(CC) $(CFLAGS) -o ra_avs ra_avs.o -lrt $(MLIB) | 
| 129 | – |  | 
| 75 |  | ra_ps:  ra_ps.o | 
| 76 |  | $(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrt $(MLIB) | 
| 77 |  |  | 
| 78 |  | ra_ppm:         ra_ppm.o | 
| 79 |  | $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrt $(MLIB) | 
| 80 |  |  | 
| 81 | + | ra_bmp:         ra_bmp.o | 
| 82 | + | $(CC) $(CFLAGS) -o ra_bmp ra_bmp.o -lrt $(MLIB) | 
| 83 | + |  | 
| 84 |  | ra_t8:  ra_t8.o clrtab.o neuclrtab.o | 
| 85 |  | $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrt $(MLIB) | 
| 86 |  |  | 
| 87 |  | ra_t16: ra_t16.o | 
| 88 |  | $(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrt $(MLIB) | 
| 89 |  |  | 
| 142 | – | ra_im: ra_im.o | 
| 143 | – | $(CC) $(CFLAGS) -o ra_im ra_im.o | 
| 144 | – |  | 
| 145 | – | ra_bn: ra_bn.o | 
| 146 | – | $(CC) $(CFLAGS) -o ra_bn ra_bn.o -lrt $(MLIB) | 
| 147 | – |  | 
| 90 |  | ra_rgbe:        ra_rgbe.o | 
| 91 |  | $(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrt $(MLIB) | 
| 92 |  |  | 
| 96 |  | ra_hexbit:      ra_hexbit.o | 
| 97 |  | $(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt $(MLIB) | 
| 98 |  |  | 
| 157 | – | x10image:       ximage.o ciq.o cut.o closest.o xraster.o biq.o | 
| 158 | – | $(CC) $(CFLAGS) -o x10image ximage.o xraster.o \ | 
| 159 | – | ciq.o cut.o closest.o biq.o -lX -lrt $(MLIB) | 
| 160 | – |  | 
| 99 |  | ximage: x11image.o x11raster.o clrtab.o | 
| 100 |  | $(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \ | 
| 101 |  | clrtab.o -lrt -lX11 $(MLIB) | 
| 109 |  | pflip:          pflip.o | 
| 110 |  | $(CC) $(CFLAGS) -o pflip pflip.o -lrt $(MLIB) | 
| 111 |  |  | 
| 174 | – | panim:  panim.o client/libclient.a | 
| 175 | – | $(CC) $(CFLAGS) -o panim panim.o \ | 
| 176 | – | -lrt client/libclient.a -lrpcsvc $(MLIB) | 
| 177 | – |  | 
| 112 |  | pcomb:  pcomb.o | 
| 113 |  | $(CC) $(CFLAGS) -o pcomb pcomb.o -lrt $(MLIB) | 
| 114 |  |  | 
| 133 |  | "-with-ENVOPTS=$(OPT)" ; \ | 
| 134 |  | cd libtiff ; make install | 
| 135 |  |  | 
| 202 | – | ra_pixar:       ra_pixar.o ra_pixar.c | 
| 203 | – | $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \ | 
| 204 | – | $(PIXAR_LIB) | 
| 205 | – |  | 
| 206 | – | ra_pixar.o:     ra_pixar.c | 
| 207 | – | $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c | 
| 208 | – |  | 
| 136 |  | xshowtrace:     xshowtrace.o x11findwind.o | 
| 137 |  | $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \ | 
| 138 |  | x11findwind.o -lrt -lX11 $(MLIB) | 
| 155 |  |  | 
| 156 |  | pcomb.o:        ../common/calcomp.h | 
| 157 |  |  | 
| 158 | < | panim.o:        client/scan.h ../common/color.h ../common/random.h | 
| 158 | > | pf2.o ra_ps.o ra_t16.o: ../common/random.h | 
| 159 |  |  | 
| 160 | < | pf2.o bnoise.o ra_ps.o ra_t16.o:        ../common/random.h | 
| 160 | > | neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o \ | 
| 161 | > | psign.o protate.o ra_hexbit.o pextrem.o pcompos.o \ | 
| 162 | > | pflip.o ra_t8.o ra_t16.o ra_tiff.o ra_pict.o \ | 
| 163 | > | ra_ps.o pvalue.o pcomb.o pinterp.o:     ../common/color.h | 
| 164 |  |  | 
| 165 | < | neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o \ | 
| 236 | < | psum.o psign.o protate.o ra_hexbit.o \ | 
| 237 | < | pextrem.o ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \ | 
| 238 | < | pflip.o greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \ | 
| 239 | < | ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o:    ../common/color.h | 
| 240 | < |  | 
| 241 | < | neuclrtab.o pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o psign.o \ | 
| 165 | > | neuclrtab.o pvalue.o protate.o biq.o ciq.o pinterp.o psign.o \ | 
| 166 |  | xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o:    ../common/standard.h \ | 
| 167 |  | ../common/rtmisc.h ../common/rtio.h \ | 
| 168 |  | ../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 169 | < | ../common/rterror.h | 
| 169 | > | ../common/rterror.h ../common/tifftypes.h | 
| 170 |  |  | 
| 247 | – | ximage.o xraster.o:     xraster.h | 
| 248 | – |  | 
| 171 |  | x11image.o x11raster.o: x11raster.h | 
| 172 |  |  | 
| 173 |  | x11image.o:     ../common/tonemap.h ../common/color.h | 
| 176 |  |  | 
| 177 |  | ra_tiff.o normtiff.o:   ../common/tiff.h ../common/tiffio.h | 
| 178 |  |  | 
| 179 | < | aedimage.o ximage.o ra_t8.o ra_pr.o:    pic.h | 
| 179 | > | ra_t8.o:        pic.h | 
| 180 |  |  | 
| 181 |  | ciq.o cut.o closest.o biq.o:    pic.h ciq.h | 
| 182 |  |  | 
| 183 | < | pcomb.o pfilt.o pinterp.o ximage.o x11image.o x11showtrace.o \ | 
| 183 | > | pcomb.o pfilt.o pinterp.o x11image.o x11showtrace.o \ | 
| 184 |  | image.o:        ../common/view.h ../common/resolu.h | 
| 185 |  |  | 
| 186 |  | ra_pict.o:      pict.h | 
| 187 |  |  | 
| 188 | < | mt160r.o oki20c.o paintjet.o pcompos.o pfilt.o pflip.o \ | 
| 189 | < | pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o ra_hexbit.o \ | 
| 190 | < | ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \ | 
| 188 | > | pcompos.o pfilt.o pflip.o \ | 
| 189 | > | pinterp.o protate.o pvalue.o ra_pict.o ra_hexbit.o \ | 
| 190 | > | ra_ppm.o ra_rgbe.o ra_t16.o ra_t8.o \ | 
| 191 |  | ra_tiff.o ttyimage.o:   ../common/resolu.h | 
| 192 |  |  | 
| 193 |  | pfilt.o:        ../common/paths.h | 
| 197 |  | pcond.o pcond2.o pcond3.o pcond4.o:     pcond.h ../common/standard.h \ | 
| 198 |  | ../common/rtmisc.h ../common/rtio.h \ | 
| 199 |  | ../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 200 | < | ../common/rterror.h \ | 
| 200 | > | ../common/rterror.h ../common/tifftypes.h \ | 
| 201 |  | ../common/color.h ../common/view.h ../common/resolu.h | 
| 202 |  |  | 
| 203 |  | normtiff.o:     ../common/color.h ../common/tonemap.h ../common/resolu.h | 
| 204 | + |  | 
| 205 | + | ra_bmp.o:       ../common/bmpfile.h ../common/color.h \ | 
| 206 | + | ../common/tonemap.h ../common/resolu.h | 
| 207 |  |  | 
| 208 |  | x11findwind.c:  ../common/x11findwind.c | 
| 209 |  | cp ../common/x11findwind.c . |