| 9 | 
  | 
CC = cc | 
| 10 | 
  | 
SPECIAL = | 
| 11 | 
  | 
 | 
| 12 | 
< | 
COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o | 
| 12 | 
> | 
COMPAT = erf.o strcmp.o | 
| 13 | 
  | 
 | 
| 14 | 
  | 
LIBDIR = /usr/local/lib/ray | 
| 15 | 
  | 
 | 
| 19 | 
  | 
 | 
| 20 | 
  | 
PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \ | 
| 21 | 
  | 
        colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o \ | 
| 22 | 
< | 
        tmap16bit.o | 
| 22 | 
> | 
        tmap16bit.o bmpfile.o | 
| 23 | 
  | 
 | 
| 24 | 
  | 
STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \ | 
| 25 | 
  | 
        urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o \ | 
| 26 | 
< | 
        unix_process.o process.o getpath.o error.o savestr.o savqstr.o \ | 
| 27 | 
< | 
        badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \ | 
| 28 | 
< | 
        clip.o plocate.o eputs.o wputs.o quit.o lookup.o \ | 
| 26 | 
> | 
        unix_process.o process.o gethomedir.o getpath.o error.o savestr.o \ | 
| 27 | 
> | 
        savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \ | 
| 28 | 
> | 
        clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o \ | 
| 29 | 
  | 
        loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o | 
| 30 | 
  | 
 | 
| 31 | 
  | 
SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT) | 
| 39 | 
  | 
librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) | 
| 40 | 
  | 
        ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) | 
| 41 | 
  | 
        -ranlib librt.a | 
| 42 | 
+ | 
        mv librt.a ../lib/librt.a | 
| 43 | 
  | 
 | 
| 44 | 
  | 
install:        all | 
| 45 | 
< | 
        mv librt.a ../lib/librt.a | 
| 45 | 
< | 
        cd $(LIBDIR) ; rm -f $(LIBFILES) | 
| 45 | 
> | 
        cd $(LIBDIR) && rm -f $(LIBFILES) | 
| 46 | 
  | 
        cp $(LIBFILES) $(LIBDIR) | 
| 47 | 
  | 
 | 
| 48 | 
  | 
clean: | 
| 95 | 
  | 
cone.o face.o free_os.o image.o instance.o objset.o \ | 
| 96 | 
  | 
octree.o modobject.o readfargs.o otypes.o mesh.o \ | 
| 97 | 
  | 
readmesh.o readobj.o readoct.o sceneio.o:       standard.h \ | 
| 98 | 
< | 
rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h | 
| 98 | 
> | 
rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h tifftypes.h | 
| 99 | 
  | 
 | 
| 100 | 
  | 
image.o:        view.h | 
| 101 | 
  | 
 | 
| 102 | 
  | 
caldefn.o calexpr.o calfunc.o calprnt.o:        calcomp.h | 
| 103 | 
  | 
 | 
| 104 | 
– | 
process.o:      vfork.h | 
| 105 | 
– | 
 | 
| 104 | 
  | 
clip.o plocate.o:       plocate.h | 
| 105 | 
  | 
 | 
| 106 | 
  | 
font.o: font.h | 
| 116 | 
  | 
tonemap.o tmapcolrs.o tmapluv.o tmap16bit.o:    tmprivat.h tonemap.h \ | 
| 117 | 
  | 
tifftypes.h color.h | 
| 118 | 
  | 
 | 
| 119 | 
< | 
tmapluv.o:      uvcode.h tiffio.h tmaptiff.h tiff.h | 
| 119 | 
> | 
tmapluv.o:      tiffio.h tmaptiff.h tiff.h | 
| 120 | 
  | 
 | 
| 121 | 
  | 
tonemap.o:      tmerrmsg.h | 
| 122 | 
  | 
 | 
| 129 | 
  | 
 | 
| 130 | 
  | 
tmesh.o:        tmesh.h fvect.h | 
| 131 | 
  | 
 | 
| 132 | 
< | 
fgetword.o fputword.o fgetval.o fgetline.o fdate.o \ | 
| 132 | 
> | 
fgetword.o fputword.o fgetval.o fgetline.o fdate.o unix_process.o \ | 
| 133 | 
  | 
expandarg.o badarg.o xf.o:      rtio.h | 
| 134 | 
  | 
 | 
| 135 | 
  | 
expandarg.o:    rtmisc.h | 
| 136 | 
  | 
 | 
| 137 | 
< | 
dircode.o xf.o: rtmath.h mat4.h fvect.h | 
| 137 | 
> | 
dircode.o xf.o: rtmath.h mat4.h fvect.h tifftypes.h | 
| 138 | 
  | 
 | 
| 139 | 
  | 
error.o:        rterror.h | 
| 140 | 
+ | 
 | 
| 141 | 
+ | 
bmpfile.o:      bmpfile.h tifftypes.h |