--- ray/src/common/Rmakefile 2003/06/27 06:53:21 2.42 +++ ray/src/common/Rmakefile 2005/02/25 06:39:44 2.55 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 2.42 2003/06/27 06:53:21 greg Exp $ +# RCSid: $Id: Rmakefile,v 2.55 2005/02/25 06:39:44 greg Exp $ # # Makefile for ray tracing library routines # @@ -9,7 +9,7 @@ CFLAGS = $(MACH) $(OPT) CC = cc SPECIAL = -COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o +COMPAT = erf.o strcmp.o LIBDIR = /usr/local/lib/ray @@ -18,13 +18,14 @@ RTOBJ = cone.o face.o free_os.o instance.o readobj.o r addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \ - colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o + colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o \ + tmap16bit.o bmpfile.o STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \ urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o \ - unix_process.o process.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 \ + 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 SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT) @@ -38,10 +39,10 @@ all: librt.a $(SPECIAL) librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) -ranlib librt.a + mv librt.a ../lib/librt.a install: all - mv librt.a ../lib/librt.a - cd $(LIBDIR) ; rm -f $(LIBFILES) + cd $(LIBDIR) && rm -f $(LIBFILES) cp $(LIBFILES) $(LIBDIR) clean: @@ -94,14 +95,12 @@ multisamp.o urand.o: random.h cone.o face.o free_os.o image.o instance.o objset.o \ octree.o modobject.o readfargs.o otypes.o mesh.o \ readmesh.o readobj.o readoct.o sceneio.o: standard.h \ -rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h +rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h tifftypes.h image.o: view.h caldefn.o calexpr.o calfunc.o calprnt.o: calcomp.h -process.o: vfork.h - clip.o plocate.o: plocate.h font.o: font.h @@ -114,13 +113,14 @@ loadvars.o: vars.h mesh.o readmesh.o: mesh.h lookup.h -tonemap.o tmapcolrs.o tmapluv.o: tmprivat.h tonemap.h color.h +tonemap.o tmapcolrs.o tmapluv.o tmap16bit.o: tmprivat.h tonemap.h \ +tifftypes.h color.h -tmapluv.o: uvcode.h tiffio.h tmaptiff.h tiff.h +tmapluv.o: tiffio.h tmaptiff.h tiff.h tonemap.o: tmerrmsg.h -tmaptiff.o: tmprivat.h tmaptiff.h color.h tonemap.h +tmaptiff.o: tmprivat.h tmaptiff.h color.h tonemap.h tifftypes.h rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o: radogl.h \ standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h @@ -129,11 +129,13 @@ 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 \ +fgetword.o fputword.o fgetval.o fgetline.o fdate.o unix_process.o \ expandarg.o badarg.o xf.o: rtio.h expandarg.o: rtmisc.h -dircode.o xf.o: rtmath.h mat4.h fvect.h +dircode.o xf.o: rtmath.h mat4.h fvect.h tifftypes.h error.o: rterror.h + +bmpfile.o: bmpfile.h tifftypes.h