ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/Rmakefile
(Generate patch)

Comparing ray/src/rt/Rmakefile (file contents):
Revision 2.71 by greg, Tue Feb 18 12:13:42 2014 UTC vs.
Revision 2.80 by rschregle, Mon Aug 14 21:03:24 2017 UTC

# Line 61 | Line 61 | RLOBJS = raycalls.o raypcalls.o rayfifo.o
61   RLSRC = raycalls.c raypcalls.c rayfifo.c
62  
63   ROBJS = $(RAYOBJS) $(SURFOBJS) $(MATOBJS) \
64 <        $(MODOBJS) $(SUPPOBJS)
64 >        $(MODOBJS) $(SUPPOBJS) $(PMOBJS)
65   RSRC = $(RAYSRC) $(SURFSRC) $(MATSRC) \
66          $(MODSRC) $(SUPPSRC)
67  
# Line 88 | Line 88 | MODSRC = p_func.c t_func.c p_data.c t_data.c text.c mx
88   SUPPOBJS = func.o noise3.o data.o
89   SUPPSRC = func.c noise3.c data.c
90  
91 + PMOBJS = pmap.o pmapsrc.o pmapmat.o pmaprand.o pmapio.o pmapdata.o \
92 +         pmapbias.o pmapparm.o pmapcontrib.o pmapamb.o pmapray.o pmapopt.o \
93 +         pmapdiag.o pmaptype.o oocmorton.o oococt.o oocsort.o oocbuild.o \
94 +         oocnn.o ooccache.o pmutil.o pmcontrib2.o
95 + PMSRC = pmap.c pmapsrc.c pmapmat.c pmaprand.c pmapio.c pmapdata.c \
96 +        pmapbias.c pmapparm.c pmapcontrib.c pmapamb.c pmapray.c pmapopt.c \
97 +        pmapdiag.c pmaptype.c pmapkdt.c pmapooc.c oocmorton.c oococt.c \
98 +        oocsort.c oocbuild.c oocnn.c ooccache.c pmutil.c pmcontrib2.c
99 +
100   HEADERS = ambient.h ray.h data.h otspecial.h source.h
101  
102   #
# Line 95 | Line 104 | HEADERS = ambient.h ray.h data.h otspecial.h source.h
104   #
105  
106   PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rvu $(DESTDIR)/rcontrib \
107 < $(DESTDIR)/lookamb
107 > $(DESTDIR)/lookamb $(DESTDIR)/mkpmap $(DESTDIR)/pmapdump
108  
109   all:    $(PROGS) $(RCLIB) $(SPECIAL)
110  
# Line 109 | Line 118 | install:       all rayinit.cal
118   ogl:    
119  
120   clean:
121 <        set nonomatch; rm -f $(PROGS) *.o core
121 >        set nonomatch; rm -f $(PROGS) *.o
122  
123   lint:   $(RVSRC)
124          $(LINT) $(LINTFLAGS) -DRVIEW $(RVSRC) $(LIBS)
# Line 134 | Line 143 | $(DESTDIR)/rcontrib:      $(RCOBJS) $(RLIB)
143   $(DESTDIR)/lookamb:     lookamb.o ambio.o
144          $(CC) $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o ambio.o $(LIBS)
145  
146 + $(DESTDIR)/mkpmap: mkpmap.o $(RLIB)
147 +        $(CC) $(CFLAGS) -o $(DESTDIR)/mkpmap mkpmap.o $(RLIB) $(LIBS)
148 +
149 + $(DESTDIR)/pmapdump: pmapdump.o pmaptype.o pmapparm.o
150 +        $(CC) $(CFLAGS) -o pmapdump pmapdump.o pmaptype.o pmapparm.o $(LIBS)
151 +
152   $(RLIB):        $(ROBJS) Version.o
153          rm -f $(RLIB)
154          ar rc $(RLIB) $(ROBJS) Version.o
# Line 272 | Line 287 | rcontrib.o:    source.h ../common/otypes.h
287   rc2.o:  ../common/resolu.h
288  
289   rc3.o:  ../common/selcall.h
290 +
291 + #
292 + # Photon map include dependencies (via 'gcc -MM -I../common')
293 + #
294 + ambient.o: pmapparm.h pmaptype.h pmapamb.h pmapdata.h
295 +
296 + dielectric.o glass.o normal.o m_brdf.o m_bsdf.o ashikhmin.o aniso.o: \
297 +   pmapparm.h pmaptype.h pmapmat.h pmap.h pmapdata.h
298 +  
299 + raycalls.o rpmain.o rcmain.o rtmain.o rvmain.o: \
300 +   pmapparm.h pmaptype.h pmapray.h
301 +  
302 + rcmain.o: pmapparm.h pmaptype.h pmapray.h pmapcontrib.h pmapdata.h
303 +  
304 + raytrace.o: pmapparm.h pmaptype.h pmap.h pmapdata.h
305 +
306 + renderopts.o: pmapparm.h pmaptype.h pmapopt.h
307 +
308 + rpict.o: pmapparm.h pmaptype.h pmapbias.h pmapdata.h pmapdiag.h
309 +
310 + source.o: pmapparm.h pmaptype.h pmap.h pmapdata.h pmapsrc.h
311 +
312 + pmapamb.o: pmapamb.c pmapamb.h pmapdata.h ray.h ../common/standard.h \
313 + ../common/copyright.h ../common/rtio.h ../common/rtmisc.h \
314 + ../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \
315 + ../common/rterror.h ../common/octree.h ../common/object.h \
316 + ../common/color.h pmapparm.h pmaptype.h ../common/lookup.h pmap.h
317 +
318 + pmapbias.o: pmapbias.c pmapbias.h pmapdata.h ray.h ../common/standard.h \
319 + ../common/copyright.h ../common/rtio.h ../common/rtmisc.h \
320 + ../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \
321 + ../common/rterror.h ../common/octree.h ../common/object.h \
322 + ../common/color.h pmapparm.h pmaptype.h ../common/lookup.h pmap.h \
323 + pmaprand.h
324 +
325 + pmap.o: pmap.c pmap.h pmapparm.h pmaptype.h pmapdata.h ray.h \
326 + ../common/standard.h ../common/copyright.h ../common/rtio.h \
327 + ../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \
328 + ../common/fvect.h ../common/rterror.h ../common/octree.h \
329 + ../common/object.h ../common/color.h ../common/paths.h \
330 + ../common/lookup.h pmapkdt.h pmapooc.h pmapmat.h pmapsrc.h source.h pmaprand.h \
331 + pmapio.h pmapbias.h pmapdiag.h ../common/platform.h ../common/otypes.h
332 +
333 + pmapcontrib.o: pmapcontrib.c pmapcontrib.h pmapdata.h ray.h \
334 + ../common/standard.h ../common/copyright.h ../common/rtio.h \
335 + ../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \
336 + ../common/fvect.h ../common/rterror.h ../common/octree.h \
337 + ../common/object.h ../common/color.h pmapparm.h pmaptype.h \
338 + ../common/paths.h ../common/lookup.h pmapkdt.h pmapooc.h pmapmat.h pmap.h \
339 + pmapsrc.h source.h pmaprand.h pmapio.h pmapdiag.h ../common/platform.h \
340 + rcontrib.h ../common/rtprocess.h ../common/paths.h func.h \
341 + ../common/calcomp.h ../common/otypes.h
342 +
343 + pmapdata.o: pmapdata.c pmapdata.h ray.h ../common/standard.h \
344 + ../common/copyright.h ../common/rtio.h ../common/rtmisc.h \
345 + ../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \
346 + ../common/rterror.h ../common/octree.h ../common/object.h \
347 + ../common/color.h pmapparm.h pmaptype.h ../common/paths.h \
348 + ../common/lookup.h pmapkdt.h pmapooc.h pmaprand.h pmapmat.h pmap.h \
349 + ../common/otypes.h source.h rcontrib.h ../common/platform.h \
350 + ../common/rtprocess.h ../common/paths.h func.h ../common/calcomp.h \
351 + ../common/random.h pmapkdt.c pmapooc.c
352 +
353 + pmapdiag.o: pmapdiag.c pmapdiag.h ../common/platform.h pmapdata.h ray.h \
354 + ../common/standard.h ../common/copyright.h ../common/rtio.h \
355 + ../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \
356 + ../common/fvect.h ../common/rterror.h ../common/octree.h \
357 + ../common/object.h ../common/color.h pmapparm.h pmaptype.h \
358 + ../common/lookup.h
359 +
360 + pmapdump.o: pmapdump.c pmapio.h pmapdata.h ray.h ../common/standard.h \
361 + ../common/copyright.h ../common/rtio.h ../common/rtmisc.h \
362 + ../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \
363 + ../common/rterror.h ../common/octree.h ../common/object.h \
364 + ../common/color.h pmapparm.h pmaptype.h ../common/lookup.h \
365 + ../common/rtio.h ../common/resolu.h
366 +
367 + pmapio.o: pmapio.c pmapio.h pmapdata.h ray.h ../common/standard.h \
368 + ../common/copyright.h ../common/rtio.h ../common/rtmisc.h \
369 + ../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \
370 + ../common/rterror.h ../common/octree.h ../common/object.h \
371 + ../common/color.h pmapparm.h pmaptype.h ../common/paths.h \
372 + ../common/lookup.h pmapkdt.h pmapooc.h pmapdiag.h ../common/platform.h \
373 + ../common/resolu.h
374 +
375 + pmapmat.o: pmapmat.c pmapmat.h pmap.h pmapparm.h pmaptype.h pmapdata.h \
376 + ray.h ../common/standard.h ../common/copyright.h ../common/rtio.h \
377 + ../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \
378 + ../common/fvect.h ../common/rterror.h ../common/octree.h \
379 + ../common/object.h ../common/color.h ../common/lookup.h pmaprand.h \
380 + ../common/otypes.h data.h func.h ../common/calcomp.h ../common/bsdf.h \
381 + ../common/ccolor.h
382 +
383 + pmapopt.o: pmapopt.c pmapparm.h pmaptype.h ../common/rtio.h \
384 + ../common/rterror.h
385 +
386 + pmapparm.o: pmapparm.c pmapparm.h pmaptype.h pmapdata.h ray.h \
387 + ../common/standard.h ../common/copyright.h ../common/rtio.h \
388 + ../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \
389 + ../common/fvect.h ../common/rterror.h ../common/octree.h \
390 + ../common/object.h ../common/color.h ../common/paths.h \
391 + ../common/lookup.h pmapkdt.h pmapooc.h
392 +
393 + pmapray.o: pmapray.c pmapray.h ray.h ../common/standard.h \
394 + ../common/copyright.h ../common/rtio.h ../common/rtmisc.h \
395 + ../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \
396 + ../common/rterror.h ../common/octree.h ../common/object.h \
397 + ../common/color.h pmapparm.h pmaptype.h pmap.h pmapdata.h \
398 + ../common/lookup.h
399 +
400 + pmapsrc.o: pmapsrc.c pmapsrc.h ray.h ../common/standard.h \
401 + ../common/copyright.h ../common/rtio.h ../common/rtmisc.h \
402 + ../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \
403 + ../common/rterror.h ../common/octree.h ../common/object.h \
404 + ../common/color.h pmapparm.h pmaptype.h source.h pmap.h pmapdata.h \
405 + ../common/lookup.h pmaprand.h ../common/otypes.h
406 +
407 + pmutil.o:       pmap.h pmapio.h pmapdata.h pmapparm.h pmaptype.h pmapbias.h \
408 +  ../common/otypes.h
409 +
410 + pmaptype.o: pmaptype.c pmaptype.h
411 +
412 + mkpmap.o: mkpmap.c pmap.h pmapparm.h pmaptype.h pmapdata.h ray.h \
413 + ../common/standard.h ../common/copyright.h ../common/rtio.h \
414 + ../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \
415 + ../common/fvect.h ../common/rterror.h ../common/octree.h \
416 + ../common/object.h ../common/color.h ../common/paths.h \
417 + ../common/lookup.h pmapkdt.h pmapooc.h pmapmat.h pmapcontrib.h pmaprand.h \
418 + ambient.h ../common/resolu.h source.h
419 +      
420 + oococt.o: oococt.c oococt.h oocsort.h ooccache.h \
421 + ../common/rtio.h ../common/fvect.h
422 +
423 + ooccache.o: ooccache.c ooccache.h
424 +
425 + oocsort.o: oocsort.c oocsort.h ../common/fvect.h
426 +
427 + oocbuild.o: oocbuild.c oocbuild.h oocsort.h oococt.h
428 +
429 + oocnn.o: oocnn.c oocnn.h oococt.h oocsort.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines