--- ray/src/ot/Rmakefile 1990/09/06 23:30:15 1.6 +++ ray/src/ot/Rmakefile 1991/05/29 17:33:39 1.14 @@ -9,42 +9,61 @@ # OPT = -O -MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il +MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il CFLAGS = -DSTRICT $(OPT) $(MACH) -INSTDIR = /usr/local/ray +LIBDIR = /usr/local/lib/ray -INSTALL = install +INSTDIR = /lumen/lumen/ray/bin.sun3 -COMPAT = malloc.o +COMPAT = bmalloc.o -oconv: dummy.o misc.o objset.o oconv.o octree.o readobj.o \ +all: oconv getbbox + +oconv: misc.o objset.o oconv.o octree.o readobj.o \ readoct.o sphere.o fvect.o otypes.o writeoct.o o_face.o face.o plocate.o xf.o \ clip.o cone.o o_cone.o instance.o o_instance.o bbox.o savestr.o header.o \ -mat4.o fgetline.o $(COMPAT) +mat4.o fgetline.o initotypes.o $(COMPAT) cc $(CFLAGS) -o oconv oconv.o readoct.o octree.o objset.o \ -readobj.o writeoct.o fvect.o otypes.o sphere.o dummy.o misc.o o_face.o \ +readobj.o writeoct.o fvect.o otypes.o sphere.o misc.o o_face.o \ face.o plocate.o clip.o cone.o o_cone.o instance.o o_instance.o mat4.o xf.o \ -bbox.o savestr.o header.o fgetline.o $(COMPAT) -lm +bbox.o savestr.o header.o fgetline.o initotypes.o $(COMPAT) -lm -install: oconv - $(INSTALL) oconv $(INSTDIR) +getbbox: getbbox.o objset.o octree.o readobj2.o \ +readoct.o fvect.o otypes.o face.o xf.o misc.o \ +cone.o instance.o bbox.o savestr.o header.o \ +mat4.o fgetline.o initotypes2.o $(COMPAT) + cc $(CFLAGS) -o getbbox getbbox.o readoct.o octree.o objset.o \ +readobj2.o fvect.o otypes.o misc.o \ +face.o cone.o instance.o mat4.o xf.o \ +bbox.o savestr.o header.o fgetline.o initotypes2.o $(COMPAT) -lm +install: oconv getbbox + cp oconv getbbox $(INSTDIR) + +clean: + set nonomatch; rm -f oconv *.o core + +oconv.o: oconv.c + cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c oconv.c + xf.o: xf.c cc $(CFLAGS) -DINVXF -c xf.c -bbox.o cone.o face.o misc.o o_cone.o o_face.o \ -o_instance.o objset.o oconv.o instance.o octree.o \ -otypes.o readobj.o readoct.o sphere.o writeoct.o: standard.h fvect.h +bbox.o cone.o face.o initotypes.o misc.o o_cone.o o_face.o \ +o_instance.o objset.o oconv.o instance.o octree.o otypes.o readobj.o \ +readoct.o sphere.o writeoct.o xf.o: standard.h mat4.h fvect.h -o_cone.o o_face.o objset.o oconv.o octree.o \ +initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \ readoct.o sphere.o writeoct.o: octree.h bbox.o cone.o face.o o_cone.o o_face.o o_instance.o objset.o oconv.o \ instance.o otypes.o readobj.o readoct.o sphere.o writeoct.o: object.h -bbox.o cone.o objset.o oconv.o otypes.o \ +bbox.o cone.o initotypes.o objset.o oconv.o otypes.o \ readobj.o readoct.o sphere.o writeoct.o: otypes.h + +mat4.o: mat4.h fvect.h fvect.o: fvect.h