--- ray/src/common/Rmakefile 2006/02/14 02:51:43 2.57 +++ ray/src/common/Rmakefile 2006/12/23 17:27:45 2.59 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 2.57 2006/02/14 02:51:43 greg Exp $ +# RCSid: $Id: Rmakefile,v 2.59 2006/12/23 17:27:45 greg Exp $ # # Makefile for ray tracing library routines # @@ -26,7 +26,7 @@ STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o inv unix_process.o process.o gethomedir.o getpath.o error.o savestr.o \ savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \ clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o \ - loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o + loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT) @@ -34,20 +34,20 @@ OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglin LIBFILES = tmesh.cal -librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) - rm -f librt.a - ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) - -ranlib librt.a +librtrad.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) + rm -f librtrad.a + ar rc librtrad.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) + -ranlib librtrad.a install: all - mv -f librt.a ../lib + mv -f librtrad.a ../lib cd $(LIBDIR) && rm -f $(LIBFILES) cp -f $(LIBFILES) $(LIBDIR) -all: librt.a $(SPECIAL) +all: librtrad.a $(SPECIAL) clean: - rm -f *.o librt.a + rm -f *.o librtrad.a ogl: $(OGLOBJ) rm -f librgl.a @@ -134,7 +134,7 @@ free_os.o: octree.h object.h otypes.h face.h cone.h in tmesh.o: tmesh.h fvect.h fgetword.o fputword.o fgetval.o fgetline.o fdate.o unix_process.o \ -expandarg.o badarg.o xf.o: rtio.h +byteswap.o expandarg.o badarg.o xf.o: rtio.h expandarg.o: rtmisc.h