| 9 |  | CC = cc | 
| 10 |  | SPECIAL = | 
| 11 |  |  | 
| 12 | < | COMPAT = erf.o strcmp.o | 
| 12 | > | COMPAT = erf.o strcmp.o strlcpy.o | 
| 13 |  |  | 
| 14 |  | LIBDIR = /usr/local/lib/ray | 
| 15 |  |  | 
| 22 |  | tmap16bit.o bmpfile.o falsecolor.o | 
| 23 |  |  | 
| 24 |  | UTLOBJ = ezxml.o ccolor.o ccyrgb.o bsdf.o bsdf_m.o bsdf_t.o loadbsdf.o \ | 
| 25 | < | disk2square.o hilbert.o | 
| 25 | > | disk2square.o hilbert.o interp2d.o triangulate.o | 
| 26 |  |  | 
| 27 |  | STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \ | 
| 28 |  | urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o \ | 
| 29 |  | unix_process.o process.o gethomedir.o getpath.o error.o savestr.o \ | 
| 30 |  | savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \ | 
| 31 |  | clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o \ | 
| 32 | < | loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o | 
| 32 | > | loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o \ | 
| 33 | > | cvtcmd.o | 
| 34 |  |  | 
| 35 |  | SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT) | 
| 36 |  |  | 
| 37 |  | MGFOBJ = mgf_parser.o mgf_object.o mgf_xf.o mgf_context.o | 
| 38 |  |  | 
| 39 | + | REETZOBJ = g3affine.o g3flist.o g3sphere.o g3vector.o gbasic.o muc_randvar.o | 
| 40 | + |  | 
| 41 |  | OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o | 
| 42 |  |  | 
| 43 |  | LIBFILES = tmesh.cal | 
| 52 |  | ar rc libmgf.a $(MGFOBJ) | 
| 53 |  | -ranlib libmgf.a | 
| 54 |  |  | 
| 55 | + | libreetz.a:     $(REETZOBJ) | 
| 56 | + | rm -f libreetz.a | 
| 57 | + | ar rc libreetz.a $(REETZOBJ) | 
| 58 | + | -ranlib libreetz.a | 
| 59 | + |  | 
| 60 |  | install:        all | 
| 61 | < | mv -f librtrad.a libmgf.a ../lib | 
| 61 | > | mv -f librtrad.a libmgf.a libreetz.a ../lib | 
| 62 |  | cd $(LIBDIR) && rm -f $(LIBFILES) | 
| 63 |  | cp -f $(LIBFILES) $(LIBDIR) | 
| 64 |  |  | 
| 65 | < | all:    librtrad.a libmgf.a $(SPECIAL) | 
| 65 | > | all:    librtrad.a libmgf.a libreetz.a $(SPECIAL) | 
| 66 |  |  | 
| 67 |  | clean: | 
| 68 |  | rm -f *.o librtrad.a libmgf.a | 
| 87 |  | tmapcolrs.o:    tmapcolrs.c | 
| 88 |  | $(CC) $(CFLAGS) -DPCOND=\"pcond\" -c tmapcolrs.c | 
| 89 |  |  | 
| 90 | + | testBSDF:       testBSDF.c bsdf.h rtio.h | 
| 91 | + | $(CC) -L../lib $(CFLAGS) -o testBSDF testBSDF.c -lrtrad -lm | 
| 92 | + |  | 
| 93 |  | color.o colrops.o lamps.o spec_rgb.o:   color.h | 
| 94 |  |  | 
| 95 |  | cone.o:         cone.h | 
| 96 |  |  | 
| 97 |  | face.o:         face.h | 
| 98 |  |  | 
| 99 | < | fvect.o:        fvect.h | 
| 99 | > | fvect.o:        fvect.h random.h | 
| 100 |  |  | 
| 101 |  | instance.o:     instance.h | 
| 102 |  |  | 
| 128 |  |  | 
| 129 |  | font.o: font.h | 
| 130 |  |  | 
| 131 | < | fropen.o getpath.o image.o:     paths.h | 
| 131 | > | cvtcmd.o fropen.o getpath.o image.o:    paths.h | 
| 132 |  |  | 
| 133 |  | lookup.o:       lookup.h | 
| 134 |  |  | 
| 159 |  |  | 
| 160 |  | expandarg.o:    rtmisc.h | 
| 161 |  |  | 
| 162 | < | dircode.o xf.o: rtmath.h mat4.h fvect.h tiff.h | 
| 162 | > | dircode.o interp2d.o xf.o:      rtmath.h mat4.h fvect.h tiff.h | 
| 163 |  |  | 
| 164 |  | error.o:        rterror.h | 
| 165 |  |  | 
| 171 |  |  | 
| 172 |  | bsdf_m.o bsdf_t.o:      rtio.h | 
| 173 |  |  | 
| 174 | < | bsdf.o: bsdf.h fvect.h bsdf_m.h bsdf_t.h hilbert.h ezxml.h fvect.h | 
| 174 | > | bsdf.o: bsdf.h fvect.h bsdf_m.h bsdf_t.h hilbert.h ezxml.h | 
| 175 |  |  | 
| 176 |  | bsdf.o bsdf_m.o bsdf_t.o ccolor.o:      ccolor.h | 
| 177 |  |  | 
| 190 |  | hilbert.o:      hilbert.h | 
| 191 |  |  | 
| 192 |  | loadbsdf.o:     bsdf.h rtio.h rterror.h paths.h | 
| 193 | + |  | 
| 194 | + | interp2d.o:     interp2d.h | 
| 195 | + |  | 
| 196 | + | triangulate.o:  triangulate.h | 
| 197 | + |  | 
| 198 | + | process.o readobj.o readoct.o rglfile.o \ | 
| 199 | + | tmapcolrs.o unix_process.o win_process.o:       rtprocess.h | 
| 200 | + |  | 
| 201 | + | gbasic.o:       gbasic.h | 
| 202 | + |  | 
| 203 | + | g3flist.o g3affine.o g3sphere.o g3vector.o:     g3vector.h gbasic.h fvect.h | 
| 204 | + |  | 
| 205 | + | g3affine.o:     g3affine.h | 
| 206 | + |  | 
| 207 | + | g3affine.o g3sphere.o:  g3sphere.h | 
| 208 | + |  | 
| 209 | + | g3flist.o:      g3flist.h | 
| 210 | + |  | 
| 211 | + | maxheap.o:      maxheap.h | 
| 212 | + |  | 
| 213 | + | ezxml.o readmesh.o readobj.o readoct.o rglinst.o wordfile.o:    platform.h |