| 15 |  |  | 
| 16 |  | LIBDIR = /usr/local/lib/ray | 
| 17 |  |  | 
| 18 | – | PIXAR_INCLUDE=  -I/usr/pixar/include | 
| 19 | – | PIXAR_LIB=      -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB) | 
| 20 | – |  | 
| 18 |  | PROGS = pfilt ttyimage psign ra_tiff normtiff \ | 
| 19 |  | pvalue pcompos protate ra_hexbit ra_bmp \ | 
| 20 |  | ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ | 
| 21 | < | ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp | 
| 21 | > | ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond \ | 
| 22 | > | pcwarp pmblur2 psketch | 
| 23 |  |  | 
| 24 |  | all:    $(PROGS) $(SPECIAL) | 
| 25 |  |  | 
| 27 |  |  | 
| 28 |  | sun: | 
| 29 |  |  | 
| 30 | < | install:        $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \ | 
| 31 | < | pdfblur.csh pmblur.csh xyzimage.csh pgblur.csh | 
| 30 | > | install:        $(PROGS) $(SPECIAL) normpat.csh falsecolor.pl \ | 
| 31 | > | pdfblur.csh pmblur.csh pmdblur.csh xyzimage.csh pgblur.csh ra_pfm.csh \ | 
| 32 | > | pbilat.csh | 
| 33 |  | cp $(PROGS) $(INSTDIR) | 
| 34 |  | cp normpat.csh $(INSTDIR)/normpat | 
| 35 | < | cp falsecolor.csh $(INSTDIR)/falsecolor | 
| 35 | > | cp falsecolor.pl $(INSTDIR)/falsecolor | 
| 36 |  | cp pdfblur.csh $(INSTDIR)/pdfblur | 
| 37 |  | cp pmblur.csh $(INSTDIR)/pmblur | 
| 38 | + | cp pmdblur.csh $(INSTDIR)/pmdblur | 
| 39 |  | cp xyzimage.csh $(INSTDIR)/xyzimage | 
| 40 | < | cp phisto.csh $(INSTDIR)/phisto | 
| 40 | > | cp phisto.pl $(INSTDIR)/phisto | 
| 41 |  | cp pdelta.csh $(INSTDIR)/pdelta | 
| 42 |  | cp pgblur.csh $(INSTDIR)/pgblur | 
| 43 | < | cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur \ | 
| 44 | < | pmblur xyzimage phisto pdelta pgblur | 
| 43 | > | cp ra_pfm.csh $(INSTDIR)/ra_pfm | 
| 44 | > | cp ran2tiff.csh $(INSTDIR)/ran2tiff | 
| 45 | > | cp pbilat.csh $(INSTDIR)/pbilat | 
| 46 | > | cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur pmblur \ | 
| 47 | > | pmdblur xyzimage phisto pdelta pgblur ra_pfm ran2tiff pbilat | 
| 48 |  |  | 
| 49 |  | clean: | 
| 50 | < | set nonomatch; rm -f $(PROGS) $(SPECIAL) *.o core | 
| 51 | < | -cd tiff; make distclean | 
| 50 | > | rm -f $(PROGS) $(SPECIAL) *.o x11findwind.c | 
| 51 | > | cd tiff; make distclean | 
| 52 |  |  | 
| 53 |  | pfilt:  pfilt.o pf2.o pf3.o | 
| 54 | < | $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB) | 
| 54 | > | $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrtrad $(MLIB) | 
| 55 |  |  | 
| 56 |  | pcond:  pcond.o pcond2.o pcond3.o pcond4.o warp3d.o | 
| 57 |  | $(CC) $(CFLAGS) -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \ | 
| 58 | < | -lrt $(MLIB) | 
| 58 | > | -lrtrad $(MLIB) | 
| 59 |  |  | 
| 60 |  | pcwarp: pcwarp.o warp3d.o | 
| 61 | < | $(CC) $(CFLAGS) -o pcwarp pcwarp.o warp3d.o -lrt $(MLIB) | 
| 61 | > | $(CC) $(CFLAGS) -o pcwarp pcwarp.o warp3d.o -lrtrad $(MLIB) | 
| 62 |  |  | 
| 63 |  | ttyimage:       ttyimage.o | 
| 64 | < | $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt $(MLIB) | 
| 64 | > | $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrtrad $(MLIB) | 
| 65 |  |  | 
| 66 |  | pvalue: pvalue.o | 
| 67 | < | $(CC) $(CFLAGS) -o pvalue pvalue.o -lrt $(MLIB) | 
| 67 | > | $(CC) $(CFLAGS) -o pvalue pvalue.o -lrtrad $(MLIB) | 
| 68 |  |  | 
| 69 |  | pcompos:        pcompos.o | 
| 70 | < | $(CC) $(CFLAGS) -o pcompos pcompos.o -lrt $(MLIB) | 
| 70 | > | $(CC) $(CFLAGS) -o pcompos pcompos.o -lrtrad $(MLIB) | 
| 71 |  |  | 
| 72 |  | psign:  psign.o | 
| 73 | < | $(CC) $(CFLAGS) -o psign psign.o -lrt $(MLIB) | 
| 73 | > | $(CC) $(CFLAGS) -o psign psign.o -lrtrad $(MLIB) | 
| 74 |  |  | 
| 75 |  | ra_gif: ra_gif.o clrtab.o neuclrtab.o | 
| 76 | < | $(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrt $(MLIB) | 
| 76 | > | $(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrtrad $(MLIB) | 
| 77 |  |  | 
| 78 |  | ra_ps:  ra_ps.o | 
| 79 | < | $(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrt $(MLIB) | 
| 79 | > | $(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrtrad $(MLIB) | 
| 80 |  |  | 
| 81 |  | ra_ppm:         ra_ppm.o | 
| 82 | < | $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrt $(MLIB) | 
| 82 | > | $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrtrad $(MLIB) | 
| 83 |  |  | 
| 84 |  | ra_bmp:         ra_bmp.o | 
| 85 | < | $(CC) $(CFLAGS) -o ra_bmp ra_bmp.o -lrt $(MLIB) | 
| 85 | > | $(CC) $(CFLAGS) -o ra_bmp ra_bmp.o -lrtrad $(MLIB) | 
| 86 |  |  | 
| 87 |  | ra_t8:  ra_t8.o clrtab.o neuclrtab.o | 
| 88 | < | $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrt $(MLIB) | 
| 88 | > | $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrtrad $(MLIB) | 
| 89 |  |  | 
| 90 |  | ra_t16: ra_t16.o | 
| 91 | < | $(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrt $(MLIB) | 
| 91 | > | $(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrtrad $(MLIB) | 
| 92 |  |  | 
| 93 |  | ra_rgbe:        ra_rgbe.o | 
| 94 | < | $(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrt $(MLIB) | 
| 94 | > | $(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrtrad $(MLIB) | 
| 95 |  |  | 
| 96 |  | ra_pict:    ra_pict.o | 
| 97 | < | $(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrt $(MLIB) | 
| 97 | > | $(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrtrad $(MLIB) | 
| 98 |  |  | 
| 99 |  | ra_hexbit:      ra_hexbit.o | 
| 100 | < | $(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt $(MLIB) | 
| 100 | > | $(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrtrad $(MLIB) | 
| 101 |  |  | 
| 102 |  | ximage: x11image.o x11raster.o clrtab.o | 
| 103 |  | $(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \ | 
| 104 | < | clrtab.o -lrt -lX11 $(MLIB) | 
| 104 | > | clrtab.o -lrtrad -lX11 $(MLIB) | 
| 105 |  |  | 
| 106 |  | protate:                protate.o | 
| 107 | < | $(CC) $(CFLAGS) -o protate protate.o -lrt $(MLIB) | 
| 107 | > | $(CC) $(CFLAGS) -o protate protate.o -lrtrad $(MLIB) | 
| 108 |  |  | 
| 109 |  | pextrem:        pextrem.o | 
| 110 | < | $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt $(MLIB) | 
| 110 | > | $(CC) $(CFLAGS) -o pextrem pextrem.o -lrtrad $(MLIB) | 
| 111 |  |  | 
| 112 |  | pflip:          pflip.o | 
| 113 | < | $(CC) $(CFLAGS) -o pflip pflip.o -lrt $(MLIB) | 
| 113 | > | $(CC) $(CFLAGS) -o pflip pflip.o -lrtrad $(MLIB) | 
| 114 |  |  | 
| 115 |  | pcomb:  pcomb.o | 
| 116 | < | $(CC) $(CFLAGS) -o pcomb pcomb.o -lrt $(MLIB) | 
| 116 | > | $(CC) $(CFLAGS) -o pcomb pcomb.o -lrtrad $(MLIB) | 
| 117 |  |  | 
| 118 |  | pinterp:        pinterp.o | 
| 119 | < | $(CC) $(CFLAGS) -o pinterp pinterp.o -lrt $(MLIB) | 
| 119 | > | $(CC) $(CFLAGS) -o pinterp pinterp.o -lrtrad $(MLIB) | 
| 120 |  |  | 
| 121 | + | pmblur2:        pmblur2.o | 
| 122 | + | $(CC) $(CFLAGS) -o pmblur2 pmblur2.o -lrtrad $(MLIB) | 
| 123 | + |  | 
| 124 |  | ra_xyze:        ra_xyze.o | 
| 125 | < | $(CC) $(CFLAGS) -o ra_xyze ra_xyze.o -lrt $(MLIB) | 
| 125 | > | $(CC) $(CFLAGS) -o ra_xyze ra_xyze.o -lrtrad $(MLIB) | 
| 126 |  |  | 
| 127 | + | psketch:        psketch.o | 
| 128 | + | $(CC) $(CFLAGS) -o psketch psketch.o -lrtrad $(MLIB) | 
| 129 | + |  | 
| 130 |  | ra_tiff:        ra_tiff.o ../lib/libtiff.a | 
| 131 | < | $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB) | 
| 131 | > | $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrtrad -ltiff $(MLIB) | 
| 132 |  |  | 
| 133 |  | ../common/tiff.h ../common/tiffio.h:    ../lib/libtiff.a | 
| 134 |  | @chmod u+w ../common/tiff.h ../common/tiffio.h | 
| 135 |  | @touch ../common/tiff.h ../common/tiffio.h | 
| 136 |  |  | 
| 137 |  | normtiff:       normtiff.o ../lib/libtiff.a | 
| 138 | < | $(CC) $(CFLAGS) -o normtiff normtiff.o -lrt -ltiff $(MLIB) | 
| 138 | > | $(CC) $(CFLAGS) -o normtiff normtiff.o -lrtrad -ltiff $(MLIB) | 
| 139 |  |  | 
| 140 | < | ../lib/libtiff.a:       tiff/config.local | 
| 141 | < | cd tiff ; sh configure -quiet -noninteractive -with-CC=$(CC) \ | 
| 140 | > | ../lib/libtiff.a: | 
| 141 | > | cd tiff ; ./configure -C -quiet -with-CC=$(CC) \ | 
| 142 | > | "--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \ | 
| 143 | > | --enable-static --disable-shared --disable-cxx \ | 
| 144 | > | --enable-logluv --disable-jpeg \ | 
| 145 | > | --disable-zlib --disable-pixarlog \ | 
| 146 |  | "-with-ENVOPTS=$(OPT)" ; \ | 
| 147 | < | cd libtiff ; make install | 
| 147 | > | cd port ; make all ; \ | 
| 148 | > | cd ../libtiff ; make install | 
| 149 |  |  | 
| 150 |  | xshowtrace:     xshowtrace.o x11findwind.o | 
| 151 |  | $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \ | 
| 152 | < | x11findwind.o -lrt -lX11 $(MLIB) | 
| 152 | > | x11findwind.o -lrtrad -lX11 $(MLIB) | 
| 153 |  |  | 
| 154 |  | macbethcal:     macbethcal.o pmapgen.o mx3.o warp3d.o | 
| 155 |  | $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o warp3d.o \ | 
| 156 | < | -lrt $(MLIB) | 
| 156 | > | -lrtrad $(MLIB) | 
| 157 |  |  | 
| 158 |  |  | 
| 159 |  | macbethcal.o:   pmap.h ../common/color.h ../common/resolu.h | 
| 173 |  |  | 
| 174 |  | neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o \ | 
| 175 |  | psign.o protate.o ra_hexbit.o pextrem.o pcompos.o \ | 
| 176 | < | pflip.o ra_t8.o ra_t16.o ra_tiff.o ra_pict.o \ | 
| 176 | > | pflip.o ra_t8.o ra_t16.o ra_tiff.o ra_pict.o pmblur2.o \ | 
| 177 |  | ra_ps.o pvalue.o pcomb.o pinterp.o:     ../common/color.h | 
| 178 |  |  | 
| 179 | < | neuclrtab.o pvalue.o protate.o biq.o ciq.o pinterp.o psign.o \ | 
| 179 | > | neuclrtab.o pvalue.o protate.o pinterp.o psign.o pmblur2.o psketch.o \ | 
| 180 |  | xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o:    ../common/standard.h \ | 
| 181 |  | ../common/rtmisc.h ../common/rtio.h \ | 
| 182 |  | ../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 183 | < | ../common/rterror.h ../common/tifftypes.h | 
| 183 | > | ../common/rterror.h | 
| 184 |  |  | 
| 185 |  | x11image.o x11raster.o: x11raster.h | 
| 186 |  |  | 
| 192 |  |  | 
| 193 |  | ra_t8.o:        pic.h | 
| 194 |  |  | 
| 181 | – | ciq.o cut.o closest.o biq.o:    pic.h ciq.h | 
| 182 | – |  | 
| 195 |  | pcomb.o pfilt.o pinterp.o x11image.o x11showtrace.o \ | 
| 196 |  | image.o:        ../common/view.h ../common/resolu.h | 
| 197 |  |  | 
| 202 |  | ra_ppm.o ra_rgbe.o ra_t16.o ra_t8.o \ | 
| 203 |  | ra_tiff.o ttyimage.o:   ../common/resolu.h | 
| 204 |  |  | 
| 205 | < | pfilt.o:        ../common/paths.h | 
| 205 | > | psketch.o:      ../common/resolu.h ../common/color.h | 
| 206 |  |  | 
| 207 | + | psketch.o pfilt.o:      ../common/paths.h | 
| 208 | + |  | 
| 209 |  | psign.o:        ../common/font.h | 
| 210 |  |  | 
| 211 |  | pcond.o pcond2.o pcond3.o pcond4.o:     pcond.h ../common/standard.h \ | 
| 212 |  | ../common/rtmisc.h ../common/rtio.h \ | 
| 213 |  | ../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 214 | < | ../common/rterror.h ../common/tifftypes.h \ | 
| 201 | < | ../common/color.h ../common/view.h ../common/resolu.h | 
| 214 | > | ../common/rterror.h ../common/color.h ../common/view.h ../common/resolu.h | 
| 215 |  |  | 
| 216 |  | normtiff.o:     ../common/color.h ../common/tonemap.h ../common/resolu.h | 
| 217 |  |  | 
| 220 |  |  | 
| 221 |  | x11findwind.c:  ../common/x11findwind.c | 
| 222 |  | cp ../common/x11findwind.c . | 
| 223 | + |  | 
| 224 | + | macbethcal.o normtiff.o pcomb.o pcompos.o pcond.o pextrem.o pfilt.o \ | 
| 225 | + | pflip.o psign.o pvalue.o ra_bmp.o ra_gif.o ra_pict.o ra_ppm.o ra_ps.o \ | 
| 226 | + | ra_rgbe.o ra_skel.o ra_t16.o ra_t8.o ra_tiff.o ra_xyze.o pmblur2.o \ | 
| 227 | + | psketch.o ttyimage.o:   ../common/platform.h |