| 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) |
| 66 |
> |
$(MODSRC) $(SUPPSRC) $(PMSRC) |
| 67 |
|
|
| 68 |
|
RAYOBJS = ambcomp.o ambient.o ambio.o freeobjmem.o initotypes.o \ |
| 69 |
|
preload.o raytrace.o renderopts.o |
| 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 |
| 94 |
+ |
PMSRC = pmap.c pmapsrc.c pmapmat.c pmaprand.c pmapio.c pmapdata.c \ |
| 95 |
+ |
pmapbias.c pmapparm.c pmapcontrib.c pmapamb.c pmapray.c pmapopt.c \ |
| 96 |
+ |
pmapdiag.c pmaptype.c |
| 97 |
+ |
|
| 98 |
|
HEADERS = ambient.h ray.h data.h otspecial.h source.h |
| 99 |
|
|
| 100 |
|
# |
| 102 |
|
# |
| 103 |
|
|
| 104 |
|
PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rvu $(DESTDIR)/rcontrib \ |
| 105 |
< |
$(DESTDIR)/lookamb |
| 105 |
> |
$(DESTDIR)/lookamb $(DESTDIR)/mkpmap $(DESTDIR)/pmapdump |
| 106 |
|
|
| 107 |
|
all: $(PROGS) $(RCLIB) $(SPECIAL) |
| 108 |
|
|
| 116 |
|
ogl: |
| 117 |
|
|
| 118 |
|
clean: |
| 119 |
< |
set nonomatch; rm -f $(PROGS) *.o core |
| 119 |
> |
set nonomatch; rm -f $(PROGS) *.o |
| 120 |
|
|
| 121 |
|
lint: $(RVSRC) |
| 122 |
|
$(LINT) $(LINTFLAGS) -DRVIEW $(RVSRC) $(LIBS) |
| 141 |
|
$(DESTDIR)/lookamb: lookamb.o ambio.o |
| 142 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o ambio.o $(LIBS) |
| 143 |
|
|
| 144 |
+ |
$(DESTDIR)/mkpmap: mkpmap.o $(RLIB) |
| 145 |
+ |
$(CC) $(CFLAGS) -o $(DESTDIR)/mkpmap mkpmap.o $(RLIB) $(LIBS) |
| 146 |
+ |
|
| 147 |
+ |
$(DESTDIR)/pmapdump: pmapdump.o pmaptype.o pmapparm.o |
| 148 |
+ |
$(CC) $(CFLAGS) -o pmapdump pmapdump.o pmaptype.o pmapparm.o $(LIBS) |
| 149 |
+ |
|
| 150 |
|
$(RLIB): $(ROBJS) Version.o |
| 151 |
|
rm -f $(RLIB) |
| 152 |
|
ar rc $(RLIB) $(ROBJS) Version.o |
| 236 |
|
rpmain.o rtmain.o rvmain.o rpict.o \ |
| 237 |
|
srcdraw.o: ../common/view.h ../common/resolu.h |
| 238 |
|
|
| 239 |
+ |
rpict.o: ../common/hilbert.h |
| 240 |
+ |
|
| 241 |
|
x11.o x11twind.o: x11twind.h |
| 242 |
|
|
| 243 |
|
x11.o: x11icon.h |
| 285 |
|
rc2.o: ../common/resolu.h |
| 286 |
|
|
| 287 |
|
rc3.o: ../common/selcall.h |
| 288 |
+ |
|
| 289 |
+ |
# |
| 290 |
+ |
# Photon map include dependencies (via 'gcc -MM -I../common') |
| 291 |
+ |
# |
| 292 |
+ |
|
| 293 |
+ |
|
| 294 |
+ |
ambient.o: pmapparm.h pmaptype.h pmapamb.h pmapdata.h |
| 295 |
+ |
|
| 296 |
+ |
dielectric.o glass.o normal.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/lookup.h pmapmat.h \ |
| 330 |
+ |
pmapsrc.h source.h pmaprand.h pmapio.h pmapbias.h pmapdiag.h \ |
| 331 |
+ |
../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/lookup.h pmap.h pmapmat.h pmapsrc.h source.h pmaprand.h \ |
| 339 |
+ |
pmapio.h pmapdiag.h ../common/platform.h rcontrib.h ../common/paths.h \ |
| 340 |
+ |
../common/rtprocess.h ../common/paths.h func.h ../common/calcomp.h \ |
| 341 |
+ |
../common/otypes.h |
| 342 |
+ |
|
| 343 |
+ |
pmapdata.o: pmapdata.c pmap.h pmapparm.h pmaptype.h pmapdata.h ray.h \ |
| 344 |
+ |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
| 345 |
+ |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
| 346 |
+ |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
| 347 |
+ |
../common/object.h ../common/color.h ../common/lookup.h pmaprand.h \ |
| 348 |
+ |
pmapmat.h ../common/otypes.h source.h rcontrib.h ../common/platform.h \ |
| 349 |
+ |
../common/paths.h ../common/rtprocess.h ../common/paths.h func.h \ |
| 350 |
+ |
../common/calcomp.h |
| 351 |
+ |
|
| 352 |
+ |
pmapdiag.o: pmapdiag.c pmapdiag.h ../common/platform.h pmapdata.h ray.h \ |
| 353 |
+ |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
| 354 |
+ |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
| 355 |
+ |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
| 356 |
+ |
../common/object.h ../common/color.h pmapparm.h pmaptype.h \ |
| 357 |
+ |
../common/lookup.h |
| 358 |
+ |
|
| 359 |
+ |
pmapdump.o: pmapdump.c pmapio.h pmapdata.h ray.h ../common/standard.h \ |
| 360 |
+ |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
| 361 |
+ |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
| 362 |
+ |
../common/rterror.h ../common/octree.h ../common/object.h \ |
| 363 |
+ |
../common/color.h pmapparm.h pmaptype.h ../common/lookup.h \ |
| 364 |
+ |
../common/rtio.h ../common/resolu.h |
| 365 |
+ |
|
| 366 |
+ |
pmapio.o: pmapio.c pmapio.h pmapdata.h ray.h ../common/standard.h \ |
| 367 |
+ |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
| 368 |
+ |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
| 369 |
+ |
../common/rterror.h ../common/octree.h ../common/object.h \ |
| 370 |
+ |
../common/color.h pmapparm.h pmaptype.h ../common/lookup.h pmapdiag.h \ |
| 371 |
+ |
../common/platform.h ../common/resolu.h |
| 372 |
+ |
|
| 373 |
+ |
pmapmat.o: pmapmat.c pmapmat.h pmap.h pmapparm.h pmaptype.h pmapdata.h \ |
| 374 |
+ |
ray.h ../common/standard.h ../common/copyright.h ../common/rtio.h \ |
| 375 |
+ |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
| 376 |
+ |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
| 377 |
+ |
../common/object.h ../common/color.h ../common/lookup.h pmaprand.h \ |
| 378 |
+ |
../common/otypes.h data.h func.h ../common/calcomp.h ../common/bsdf.h \ |
| 379 |
+ |
../common/ccolor.h |
| 380 |
+ |
|
| 381 |
+ |
pmapopt.o: pmapopt.c pmapparm.h pmaptype.h ../common/rtio.h \ |
| 382 |
+ |
../common/rterror.h |
| 383 |
+ |
|
| 384 |
+ |
pmapparm.o: pmapparm.c pmapparm.h pmaptype.h pmapdata.h ray.h \ |
| 385 |
+ |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
| 386 |
+ |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
| 387 |
+ |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
| 388 |
+ |
../common/object.h ../common/color.h ../common/lookup.h |
| 389 |
+ |
|
| 390 |
+ |
pmapray.o: pmapray.c pmapray.h ray.h ../common/standard.h \ |
| 391 |
+ |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
| 392 |
+ |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
| 393 |
+ |
../common/rterror.h ../common/octree.h ../common/object.h \ |
| 394 |
+ |
../common/color.h pmapparm.h pmaptype.h pmap.h pmapdata.h \ |
| 395 |
+ |
../common/lookup.h |
| 396 |
+ |
|
| 397 |
+ |
pmapsrc.o: pmapsrc.c pmapsrc.h ray.h ../common/standard.h \ |
| 398 |
+ |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
| 399 |
+ |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
| 400 |
+ |
../common/rterror.h ../common/octree.h ../common/object.h \ |
| 401 |
+ |
../common/color.h pmapparm.h pmaptype.h source.h pmap.h pmapdata.h \ |
| 402 |
+ |
../common/lookup.h pmaprand.h ../common/otypes.h |
| 403 |
+ |
|
| 404 |
+ |
pmaptype.o: pmaptype.c pmaptype.h |
| 405 |
+ |
|