--- ray/src/px/Rmakefile 1991/01/09 12:21:11 1.27 +++ ray/src/px/Rmakefile 1991/04/19 13:43:58 1.33 @@ -1,31 +1,44 @@ # SCCSid "$SunId$ LBL" # -# Compiles for pixel file plotters. +# Compiles for image processing and display programs # OPT = -O -MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il -DIEEE +MACH = -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE -DBSD CFLAGS = $(OPT) $(MACH) -INSTDIR = /usr/local/ray +INSTDIR = /lumen/lumen/ray/bin.sun3 +LIBDIR = /lumen/lumen/ray/lib + CALDEFS = -DFUNCTION -DVARIABLE -DRCONST -DBIGLIB PIXAR_INCLUDE= -I/usr/pixar/include PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm -PROGS = pfilt ttyimage aedimage oki20c paintjet mt160r getinfo psign \ -greyscale pvalue pcompos colorscale ra_pr ra_pr24 ximage prot \ +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 x11image xshowtrace pflip all: $(PROGS) -install: $(PROGS) +x10: ximage + cp ximage $(INSTDIR) + +aed: aedimage + cp aedimage $(INSTDIR) + +sun: + +install: $(PROGS) normpat.csh cp $(PROGS) $(INSTDIR) cp normpat.csh $(INSTDIR)/normpat chmod 755 $(INSTDIR)/normpat +clean: + set nonomatch; rm -f $(PROGS) *.o core + pfilt: pfilt.o pf2.o pf3.o resolu.o color.o header.o lamps.o \ rexpr.o fropen.o spec_rgb.o cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o resolu.o color.o \ @@ -155,6 +168,9 @@ xshowtrace: xshowtrace.o image.o resolu.o header.o fve cc $(CFLAGS) -o xshowtrace xshowtrace.o image.o resolu.o header.o \ fvect.o -lm -lX11 +fropen.o: fropen.c + cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c + xshowtrace.o: view.h standard.h mat4.h fvect.h mat4.o: mat4.h fvect.h @@ -178,6 +194,8 @@ ximage.o image.o: standard.h mat4.h fvect.h ximage.o x11raster.o: xraster.h x11image.o x11raster.o: x11raster.h + +x11image.o: x11icon.h ra_t8.o: targa.h