--- ray/src/common/Rmakefile 1992/07/03 10:51:48 2.6 +++ ray/src/common/Rmakefile 1994/06/29 18:18:07 2.14 @@ -8,22 +8,23 @@ MACH = -DBSD CFLAGS = $(MACH) $(OPT) CC = cc -COMPAT = bmalloc.o erf.o # frexp.o fwrite.o random.o +COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o LIBDIR = /usr/local/lib/ray RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \ - octree.o readfargs.o modobject.o + octree.o readfargs.o modobject.o getlibpath.o PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \ colrops.o font.o -STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \ +STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \ urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \ - multisamp.o process.o getpath.o error.o savestr.o strcmp.o savqstr.o \ - badarg.o fgetword.o words.o wordfile.o cputs.o wputs.o eputs.o quit.o + multisamp.o process.o getpath.o error.o savestr.o savqstr.o \ + badarg.o fgetword.o words.o expandarg.o wordfile.o \ + cputs.o wputs.o eputs.o quit.o -SYSOBJ = ealloc.o $(COMPAT) +SYSOBJ = ealloc.o fdate.o portio.o $(COMPAT) librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) @@ -33,7 +34,7 @@ install: librt.a mv librt.a ../lib clean: - rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) librt.a + rm -f *.o librt.a fropen.o: fropen.c $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c @@ -47,8 +48,11 @@ caldefn.o: caldefn.c calcomp.h calfunc.o: calfunc.c calcomp.h $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c -color.o colrops.o resolu.o spec_rgb.o: color.h +getlibpath.o: getlibpath.c + $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c +color.o colrops.o spec_rgb.o: color.h + cone.o: cone.h face.o: face.h @@ -59,7 +63,7 @@ instance.o: instance.h linregr.o: linregr.h -mat4.o: mat4.h fvect.h +mat4.o invmat4.o: mat4.h fvect.h cone.o face.o instance.o objset.o otypes.o \ modobject.o readfargs.o readobj.o readoct.o: object.h @@ -82,3 +86,5 @@ calprnt.o: calcomp.h process.o: vfork.h font.o: font.h + +fropen.o getpath.o image.o: paths.h