--- ray/src/px/Rmakefile 1990/12/15 15:18:07 1.24 +++ ray/src/px/Rmakefile 1991/05/02 17:25:27 1.35 @@ -1,29 +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 \ -ra_t8 ra_bn ra_t16 pcomb pinterp x11image xshowtrace +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 all: $(PROGS) -install: $(PROGS) +x10: x10image + cp x10image $(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 \ @@ -103,20 +118,23 @@ ra_im: ra_im.o ra_bn: ra_bn.o color.o colrops.o resolu.o header.o cc $(CFLAGS) -o ra_bn ra_bn.o color.o colrops.o resolu.o header.o -lm -ximage: ximage.o color.o colrops.o resolu.o ciq.o cut.o closest.o ealloc.o \ -xraster.o header.o biq.o image.o fvect.o - cc $(CFLAGS) -o ximage ximage.o color.o colrops.o resolu.o xraster.o \ +x10image: ximage.o color.o colrops.o resolu.o ciq.o cut.o closest.o \ +ealloc.o xraster.o header.o biq.o image.o fvect.o + cc $(CFLAGS) -o x10image ximage.o color.o colrops.o resolu.o xraster.o \ header.o ciq.o cut.o closest.o ealloc.o biq.o image.o fvect.o -lX -lm -x11image: x11image.o color.o colrops.o resolu.o ciq.o cut.o closest.o \ +ximage: x11image.o color.o colrops.o resolu.o ciq.o cut.o closest.o \ ealloc.o x11raster.o header.o biq.o image.o fvect.o - cc $(CFLAGS) -o x11image x11image.o color.o colrops.o resolu.o \ + cc $(CFLAGS) -o ximage x11image.o color.o colrops.o resolu.o \ x11raster.o header.o ciq.o cut.o closest.o ealloc.o biq.o image.o \ fvect.o -lX11 -lm prot: prot.o color.o resolu.o header.o cc $(CFLAGS) -o prot prot.o color.o resolu.o header.o +pflip: pflip.o color.o resolu.o header.o + cc $(CFLAGS) -o pflip pflip.o color.o resolu.o header.o + panim: panim.o color.o colrops.o resolu.o header.o client/libclient.a cc $(CFLAGS) -o panim panim.o color.o colrops.o resolu.o header.o \ client/libclient.a -lrpcsvc -lm @@ -150,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 @@ -163,11 +184,12 @@ pf2.o bnoise.o: random.h ra_t16.o: random.h pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \ -d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \ +d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o pflip.o \ greyscale.o ra_t8.o glimage.o \ ra_bn.o ra_t16.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: color.h -prot.o biq.o ciq.o pinterp.o ximage.o image.o: standard.h mat4.h fvect.h +prot.o biq.o ciq.o pinterp.o \ +ximage.o image.o: standard.h mat4.h fvect.h ximage.o x11raster.o: xraster.h