| 15 |
|
|
| 16 |
|
SPECIAL = |
| 17 |
|
|
| 18 |
+ |
INSTALL = cp |
| 19 |
+ |
|
| 20 |
|
INSTDIR = /usr/local/bin |
| 21 |
|
|
| 22 |
|
LIBDIR = /usr/local/lib/ray |
| 24 |
|
PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ |
| 25 |
|
vwrays xglaresrc rsensor dctimestep rttree_reduce rcollate \ |
| 26 |
|
eplus_adduvf rfluxmtx rmtxop wrapBSDF evalglare radcompare \ |
| 27 |
< |
rcode_depth rcode_norm rcode_ident dcglare |
| 27 |
> |
rcode_depth rcode_norm rcode_ident dcglare rcrop rmtxcomb |
| 28 |
|
|
| 29 |
|
LIBFILES = rambpos.cal ambpos.cal tregsamp.dat reinhartb.cal \ |
| 30 |
|
klems_full.cal klems_half.cal klems_quarter.cal disk2square.cal \ |
| 31 |
< |
minimalBSDFt.xml WINDOW6BSDFt.xml |
| 31 |
> |
hsv_rgb.cal minimalBSDFt.xml WINDOW6BSDFt.xml |
| 32 |
|
|
| 33 |
|
all: $(PROGS) |
| 34 |
|
|
| 36 |
|
rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \ |
| 37 |
|
ltview.pl ltpict.pl genambpos.pl fieldcomb.csh genklemsamp.pl \ |
| 38 |
|
genskyvec.pl genBSDF.pl bsdfview.pl rtpict.pl rcode2bmp.pl $(LIBFILES) |
| 39 |
< |
cp $(PROGS) $(INSTDIR) |
| 39 |
> |
$(INSTALL) $(PROGS) $(INSTDIR) |
| 40 |
|
cp objview.pl $(INSTDIR)/objview |
| 41 |
|
cp objline.csh $(INSTDIR)/objline |
| 42 |
|
cp objpict.pl $(INSTDIR)/objpict |
| 60 |
|
cd $(INSTDIR) ; chmod 755 objview objpict \ |
| 61 |
|
glare dayfact debugcal rlux raddepend objline \ |
| 62 |
|
compamb vinfo genambpos fieldcomb genklemsamp \ |
| 63 |
< |
genskyvec genBSDF rtpict rcode2bmp |
| 63 |
> |
genskyvec genBSDF rtpict rcode2bmp bsdfview \ |
| 64 |
> |
ltview ltpict |
| 65 |
|
cd $(LIBDIR) && rm -f $(LIBFILES) |
| 66 |
|
cp $(LIBFILES) $(LIBDIR) |
| 67 |
|
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
| 138 |
|
$(CC) $(CFLAGS) -o rmtxop rmtxop.o rmatrix.o cmatrix.o cmbsdf.o \ |
| 139 |
|
-lrtrad $(MLIB) |
| 140 |
|
|
| 141 |
+ |
rmtxcomb: rmtxcomb.o rmatrix.o cmatrix.o cmbsdf.o |
| 142 |
+ |
$(CC) $(CFLAGS) -o rmtxcomb rmtxcomb.o rmatrix.o cmatrix.o cmbsdf.o \ |
| 143 |
+ |
-lrtrad $(MLIB) |
| 144 |
+ |
|
| 145 |
|
wrapBSDF: wrapBSDF.o |
| 146 |
|
$(CC) $(CFLAGS) -o wrapBSDF wrapBSDF.o -lrtrad $(MLIB) |
| 147 |
|
|
| 164 |
|
rcode_ident: rcode_ident.o |
| 165 |
|
$(CC) $(CFLAGS) -o rcode_ident rcode_ident.o -lrtrad |
| 166 |
|
|
| 167 |
+ |
rcrop: rcrop.o |
| 168 |
+ |
$(CC) $(CFLAGS) -o rcrop rcrop.o -lrtrad -lm |
| 169 |
+ |
|
| 170 |
|
dcglare: dcglare.o cmbsdf.o cmatrix.o cmglare.o |
| 171 |
|
$(CC) $(CFLAGS) -o dcglare dcglare.o cmbsdf.o cmatrix.o cmglare.o \ |
| 172 |
|
-lrtrad $(MLIB) |
| 204 |
|
|
| 205 |
|
rfluxmtx.o: ../common/rtio.h ../common/random.h ../common/triangulate.h \ |
| 206 |
|
../common/rtmath.h ../common/fvect.h ../common/mat4.h ../common/tiff.h \ |
| 207 |
< |
../common/platform.h ../common/bsdf.h ../common/bsdf_m.h ../common/rtprocess.h |
| 207 |
> |
../common/platform.h ../common/bsdf.h ../common/bsdf_m.h \ |
| 208 |
> |
../common/paths.h ../common/rtprocess.h |
| 209 |
|
|
| 210 |
|
rmtxop.o dctimestep.o cmatrix.o: ../common/platform.h |
| 211 |
|
|
| 300 |
|
../common/platform.h ../common/rtio.h ../common/lookup.h |
| 301 |
|
|
| 302 |
|
dcglare.o: ../common/platform.h ../common/resolu.h cmglare.h |
| 303 |
+ |
|
| 304 |
+ |
rcrop.o: ../common/platform.h ../common/resolu.h \ |
| 305 |
+ |
../common/color.h ../common/fvect.h ../common/view.h ../common/rtio.h |