--- ray/src/px/Rmakefile 1991/08/08 08:24:06 1.43 +++ ray/src/px/Rmakefile 1991/08/16 13:40:12 1.47 @@ -3,6 +3,7 @@ # Compiles for image processing and display programs # +ARCH = sun OPT = -O MACH = -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE -DBSD CFLAGS = $(OPT) $(MACH) -I../common @@ -16,7 +17,7 @@ PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad PROGS = pfilt ttyimage oki20c paintjet mt160r getinfo psign \ greyscale pvalue pcompos colorscale prot ra_pr ra_pr24 \ -ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip +ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm all: $(PROGS) @@ -26,6 +27,9 @@ x10: x10image aed: aedimage cp aedimage $(INSTDIR) +tiff: ra_tiff + cp ra_tiff $(INSTDIR) + sun: install: $(PROGS) normpat.csh falsecolor.csh @@ -93,6 +97,9 @@ biq.o ../common/librt.a -lm ra_pr24: ra_pr24.o cc $(CFLAGS) -o ra_pr24 ra_pr24.o ../common/librt.a -lm +ra_ppm: ra_ppm.o + cc $(CFLAGS) -o ra_ppm ra_ppm.o ../common/librt.a -lm + ra_t8: ra_t8.o ciq.o cut.o closest.o biq.o cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \ biq.o ../common/librt.a -lm @@ -129,6 +136,16 @@ pcomb: pcomb.o pinterp: pinterp.o cc $(CFLAGS) -o pinterp pinterp.o ../common/librt.a -lm + +ra_tiff: ra_tiff.o libtiff.a + cc $(CFLAGS) -o ra_tiff ra_tiff.o ../common/librt.a \ +libtiff.a -lm + +ra_tiff.o: ra_tiff.c + cc $(CFLAGS) -Ilibtiff -c ra_tiff.c + +libtiff.a: + cd libtiff ; make -f Makefile.$(ARCH) ; mv libtiff.a .. ; make clean ra_pixar: ra_pixar.o ra_pixar.c cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o ../common/librt.a \