| 18 |
|
PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB) |
| 19 |
|
|
| 20 |
|
PROGS = pfilt ttyimage oki20c oki20 paintjet mt160r psign \ |
| 21 |
< |
pvalue pcompos protate ra_pr ra_pr24 ra_avs \ |
| 21 |
> |
pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_tiff normtiff ra_hexbit \ |
| 22 |
|
ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \ |
| 23 |
|
ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp |
| 24 |
|
|
| 33 |
|
sgi: glimage |
| 34 |
|
cp glimage $(INSTDIR) |
| 35 |
|
|
| 36 |
+ |
ogl: |
| 37 |
+ |
|
| 38 |
|
sun: |
| 39 |
|
|
| 40 |
|
install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \ |
| 50 |
|
$(INSTDIR)/pdfblur $(INSTDIR)/pmblur $(INSTDIR)/xyzimage $(INSTDIR)/phisto |
| 51 |
|
|
| 52 |
|
clean: |
| 53 |
< |
set nonomatch; rm -f x10image aedimage glimage ra_tiff \ |
| 53 |
> |
set nonomatch; rm -f x10image aedimage glimage \ |
| 54 |
|
$(PROGS) *.o core |
| 55 |
+ |
cd tiff; make distclean |
| 56 |
|
|
| 57 |
|
pfilt: pfilt.o pf2.o pf3.o |
| 58 |
|
$(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB) |
| 147 |
|
ra_pict: ra_pict.o |
| 148 |
|
$(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrt $(MLIB) |
| 149 |
|
|
| 150 |
+ |
ra_hexbit: ra_hexbit.o |
| 151 |
+ |
$(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt |
| 152 |
|
|
| 153 |
|
x10image: ximage.o ciq.o cut.o closest.o xraster.o biq.o |
| 154 |
|
$(CC) $(CFLAGS) -o x10image ximage.o xraster.o \ |
| 183 |
|
ra_tiff: ra_tiff.o ../lib/libtiff.a |
| 184 |
|
$(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB) |
| 185 |
|
|
| 186 |
< |
../common/tiff.h: ../lib/libtiff.a |
| 186 |
> |
../common/tiff.h ../common/tiffio.h: ../lib/libtiff.a |
| 187 |
> |
@touch ../common/tiff.h ../common/tiffio.h |
| 188 |
|
|
| 189 |
+ |
normtiff: normtiff.o tmaptiff.o ../lib/libtiff.a |
| 190 |
+ |
$(CC) $(CFLAGS) -o normtiff normtiff.o tmaptiff.o -lrt -ltiff $(MLIB) |
| 191 |
+ |
|
| 192 |
|
../lib/libtiff.a: tiff/config.local |
| 193 |
< |
cd tiff ; ./configure -quiet -noninteractive ; \ |
| 194 |
< |
cd libtiff ; make install ; |
| 195 |
< |
# cd .. ; make distclean |
| 193 |
> |
cd tiff ; ./configure -quiet -noninteractive -with-CC=$(CC) \ |
| 194 |
> |
"-with-ENVOPTS=$(OPT)" ; \ |
| 195 |
> |
cd libtiff ; make install |
| 196 |
|
|
| 197 |
|
ra_pixar: ra_pixar.o ra_pixar.c |
| 198 |
|
$(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \ |
| 228 |
|
pf2.o bnoise.o ra_ps.o ra_t16.o: ../common/random.h |
| 229 |
|
|
| 230 |
|
neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o \ |
| 231 |
< |
psum.o psign.o protate.o \ |
| 231 |
> |
psum.o psign.o protate.o ra_hexbit.o \ |
| 232 |
|
pextrem.o ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \ |
| 233 |
|
pflip.o greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \ |
| 234 |
|
ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: ../common/color.h |
| 245 |
|
|
| 246 |
|
ra_t8.o: ../common/targa.h |
| 247 |
|
|
| 248 |
< |
ra_tiff.o: ../common/tiff.h |
| 248 |
> |
ra_tiff.o normtiff.o tmaptiff.o: ../common/tiff.h ../common/tiffio.h |
| 249 |
|
|
| 250 |
|
aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h |
| 251 |
|
|
| 256 |
|
ra_pict.o: pict.h |
| 257 |
|
|
| 258 |
|
mt160r.o oki20c.o paintjet.o pcomb.o pcompos.o pfilt.o pflip.o \ |
| 259 |
< |
pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o \ |
| 259 |
> |
pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o ra_hexbit.o \ |
| 260 |
|
ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \ |
| 261 |
|
ra_tiff.o ttyimage.o ximage.o x11image.o: ../common/resolu.h |
| 262 |
|
|
| 267 |
|
pcond.o pcond2.o pcond3.o pcond4.o: pcond.h ../common/standard.h \ |
| 268 |
|
../common/mat4.h ../common/fvect.h \ |
| 269 |
|
../common/color.h ../common/view.h ../common/resolu.h |
| 270 |
+ |
|
| 271 |
+ |
normtiff.o: ../common/color.h ../common/tonemap.h ../common/resolu.h |
| 272 |
+ |
|
| 273 |
+ |
tmaptiff.o: ../common/tmprivat.h ../common/color.h ../common/tonemap.h |