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 rcomb |
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 |
> |
cieskyscan.cal 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 |
138 |
|
$(CC) $(CFLAGS) -o rmtxop rmtxop.o rmatrix.o cmatrix.o cmbsdf.o \ |
139 |
|
-lrtrad $(MLIB) |
140 |
|
|
141 |
+ |
rcomb: rcomb.o rmatrix.o cmatrix.o cmbsdf.o |
142 |
+ |
$(CC) $(CFLAGS) -o rcomb rcomb.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) |
173 |
|
|
174 |
+ |
rcomb.o: ../common/calcomp.h ../common/rtio.h \ |
175 |
+ |
../common/paths.h |
176 |
+ |
|
177 |
|
eplus_adduvf.o: ../common/triangulate.h ../common/rtprocess.h \ |
178 |
|
../common/paths.h ../common/rtio.h ../common/random.h \ |
179 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h |
210 |
|
../common/platform.h ../common/bsdf.h ../common/bsdf_m.h \ |
211 |
|
../common/paths.h ../common/rtprocess.h |
212 |
|
|
213 |
< |
rmtxop.o dctimestep.o cmatrix.o: ../common/platform.h |
213 |
> |
rcomb.o rmtxop.o dctimestep.o cmatrix.o: ../common/platform.h |
214 |
|
|
215 |
|
dcglare.o rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \ |
216 |
|
../common/rtmisc.h ../common/rtio.h \ |
273 |
|
|
274 |
|
rmatrix.o: rmatrix.h cmatrix.h ../common/resolu.h |
275 |
|
|
276 |
< |
rmtxop.o: rmatrix.h cmatrix.h ../common/rtio.h ../common/resolu.h |
276 |
> |
rcomb.o rmtxop.o: rmatrix.h cmatrix.h ../common/rtio.h ../common/resolu.h |
277 |
|
|
278 |
|
wrapBSDF.o: ../common/rtio.h ../common/rtprocess.h ../common/ezxml.h \ |
279 |
|
../common/bsdf.h ../common/bsdf_m.h ../common/fvect.h ../common/ccolor.h |
303 |
|
../common/platform.h ../common/rtio.h ../common/lookup.h |
304 |
|
|
305 |
|
dcglare.o: ../common/platform.h ../common/resolu.h cmglare.h |
306 |
+ |
|
307 |
+ |
rcrop.o: ../common/platform.h ../common/resolu.h \ |
308 |
+ |
../common/color.h ../common/fvect.h ../common/view.h ../common/rtio.h |