--- ray/src/util/Rmakefile 2020/03/02 22:00:05 2.98 +++ ray/src/util/Rmakefile 2022/06/01 17:22:31 2.101 @@ -1,4 +1,4 @@ -# RCSid: $Id: Rmakefile,v 2.98 2020/03/02 22:00:05 greg Exp $ +# RCSid: $Id: Rmakefile,v 2.101 2022/06/01 17:22:31 greg Exp $ # # Radiance makefile for utility programs # @@ -22,11 +22,11 @@ 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 radcompare \ - rcode_depth rcode_norm rcode_ident dcglare + rcode_depth rcode_norm rcode_ident dcglare rcrop LIBFILES = rambpos.cal ambpos.cal tregsamp.dat reinhartb.cal \ klems_full.cal klems_half.cal klems_quarter.cal disk2square.cal \ -minimalBSDFt.xml WINDOW6BSDFt.xml +hsv_rgb.cal minimalBSDFt.xml WINDOW6BSDFt.xml all: $(PROGS) @@ -58,7 +58,8 @@ genskyvec.pl genBSDF.pl bsdfview.pl rtpict.pl rcode2bm cd $(INSTDIR) ; chmod 755 objview objpict \ glare dayfact debugcal rlux raddepend objline \ compamb vinfo genambpos fieldcomb genklemsamp \ - genskyvec genBSDF rtpict rcode2bmp + genskyvec genBSDF rtpict rcode2bmp bsdfview \ + ltview ltpict cd $(LIBDIR) && rm -f $(LIBFILES) cp $(LIBFILES) $(LIBDIR) csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl @@ -157,6 +158,9 @@ rcode_norm: rcode_norm.o rcode_ident: rcode_ident.o $(CC) $(CFLAGS) -o rcode_ident rcode_ident.o -lrtrad +rcrop: rcrop.o + $(CC) $(CFLAGS) -o rcrop rcrop.o -lrtrad -lm + dcglare: dcglare.o cmbsdf.o cmatrix.o cmglare.o $(CC) $(CFLAGS) -o dcglare dcglare.o cmbsdf.o cmatrix.o cmglare.o \ -lrtrad $(MLIB) @@ -290,3 +294,6 @@ rcode_ident.o: ../common/idmap.h ../common/resolu.h \ ../common/platform.h ../common/rtio.h ../common/lookup.h dcglare.o: ../common/platform.h ../common/resolu.h cmglare.h + +rcrop.o: ../common/platform.h ../common/resolu.h \ +../common/color.h ../common/fvect.h ../common/view.h ../common/rtio.h