--- ray/src/util/Rmakefile 2018/03/19 23:40:33 2.84 +++ ray/src/util/Rmakefile 2019/09/05 17:35:44 2.95 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 2.84 2018/03/19 23:40:33 greg Exp $ +# RCSid: $Id: Rmakefile,v 2.95 2019/09/05 17:35:44 greg Exp $ # # Radiance makefile for utility programs # @@ -21,7 +21,8 @@ LIBDIR = /usr/local/lib/ray PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ vwrays xglaresrc rsensor dctimestep rttree_reduce rcollate \ - eplus_adduvf rfluxmtx rmtxop wrapBSDF evalglare + eplus_adduvf rfluxmtx rmtxop wrapBSDF evalglare radcompare \ + rcode_depth rcode_norm rcode_ident LIBFILES = rambpos.cal ambpos.cal tregsamp.dat reinhartb.cal \ klems_full.cal klems_half.cal klems_quarter.cal disk2square.cal \ @@ -32,7 +33,7 @@ all: $(PROGS) install: all $(SPECIAL) objview.pl objpict.pl glare.csh dayfact.csh \ rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \ ltview.pl ltpict.pl genambpos.pl fieldcomb.csh genklemsamp.pl \ -genskyvec.pl genBSDF.pl bsdfview.pl rtpict.pl $(LIBFILES) +genskyvec.pl genBSDF.pl bsdfview.pl rtpict.pl rcode2bmp.pl $(LIBFILES) cp $(PROGS) $(INSTDIR) cp objview.pl $(INSTDIR)/objview cp objline.csh $(INSTDIR)/objline @@ -53,10 +54,11 @@ genskyvec.pl genBSDF.pl bsdfview.pl rtpict.pl $(LIBFIL cp ltview.pl $(INSTDIR)/ltview cp ltpict.pl $(INSTDIR)/ltpict cp rtpict.pl $(INSTDIR)/rtpict + cp rcode2bmp.pl $(INSTDIR)/rcode2bmp cd $(INSTDIR) ; chmod 755 objview objpict \ glare dayfact debugcal rlux raddepend objline \ compamb vinfo genambpos fieldcomb genklemsamp \ - genskyvec genBSDF rtpict + genskyvec genBSDF rtpict rcode2bmp cd $(LIBDIR) && rm -f $(LIBFILES) cp $(LIBFILES) $(LIBDIR) csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl @@ -139,8 +141,22 @@ wrapBSDF: wrapBSDF.o evalglare: evalglare.o pictool.o $(CC) $(CFLAGS) -o evalglare evalglare.o pictool.o -lreetz -lrtrad $(MLIB) +radcompare: radcompare.o + $(CC) $(CFLAGS) -o radcompare radcompare.o -lrtrad $(MLIB) + setscan.o: setscan.h +rcode_depth: rcode_depth.o + $(CC) $(CFLAGS) -o rcode_depth rcode_depth.o \ +-lrtrad $(MLIB) + +rcode_norm: rcode_norm.o + $(CC) $(CFLAGS) -o rcode_norm rcode_norm.o \ +-lrtrad $(MLIB) + +rcode_ident: rcode_ident.o + $(CC) $(CFLAGS) -o rcode_ident rcode_ident.o -lrtrad + eplus_adduvf.o: ../common/triangulate.h ../common/rtprocess.h \ ../common/paths.h ../common/rtio.h ../common/random.h \ ../common/rtmath.h ../common/mat4.h ../common/fvect.h @@ -197,7 +213,7 @@ rad.o: ../common/paths.h ranimate.o netproc.o: netproc.h -ranimove1.o: ../common/otypes.h +ranimove1.o: ../common/otypes.h ../rt/otspecial.h ../rt/source.h netproc.o: ../common/paths.h @@ -226,7 +242,8 @@ rsensor.o: ../rt/ray.h ../common/octree.h \ rsensor.o: ../common/view.h ../common/resolu.h ../rt/source.h -rcollate.o: ../common/platform.h ../common/rtio.h ../common/resolu.h + rcollate.o: ../common/platform.h \ +../common/rtio.h ../common/resolu.h Version.c: ../rt/Version.c cp ../rt/Version.c . @@ -248,4 +265,21 @@ pictool.o evalglare.o: pictool.h ../common/g3vector.h evalglare.o: ../common/rtio.h +radcompare.o: ../common/rtio.h ../common/color.h ../common/lookup.h \ +../common/platform.h ../common/normcodec.h ../common/depthcodec.h \ +../common/rtmath.h ../common/view.h + pictool.o: ../common/view.h ../common/color.h + +getinfo.o: ../common/rtprocess.h ../common/platform.h ../common/resolu.h + +rcode_depth.o: ../common/depthcodec.h \ +../common/view.h ../common/fvect.h ../common/resolu.h ../common/rtio.h \ +../common/platform.h + +rcode_norm.o: ../common/normcodec.h \ +../common/rtmath.h ../common/mat4.h ../common/fvect.h \ +../common/resolu.h ../common/rtio.h ../common/platform.h + +rcode_ident.o: ../common/idmap.h ../common/resolu.h \ +../common/platform.h ../common/rtio.h ../common/lookup.h