20 |
|
LIBDIR = /usr/local/lib/ray |
21 |
|
|
22 |
|
PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ |
23 |
< |
vwrays xglaresrc rtcontrib rsensor |
23 |
> |
vwrays xglaresrc rsensor dctimestep rttree_reduce rcollate \ |
24 |
> |
eplus_adduvf rfluxmtx rmtxop wrapBSDF evalglare radcompare \ |
25 |
> |
rcode_depth rcode_norm rcode_ident dcglare |
26 |
|
|
27 |
+ |
LIBFILES = rambpos.cal ambpos.cal tregsamp.dat reinhartb.cal \ |
28 |
+ |
klems_full.cal klems_half.cal klems_quarter.cal disk2square.cal \ |
29 |
+ |
minimalBSDFt.xml WINDOW6BSDFt.xml |
30 |
+ |
|
31 |
|
all: $(PROGS) |
32 |
|
|
33 |
< |
install: all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \ |
33 |
> |
install: all $(SPECIAL) objview.pl objpict.pl glare.csh dayfact.csh \ |
34 |
|
rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \ |
35 |
< |
genambpos.csh fieldcomb.csh |
35 |
> |
ltview.pl ltpict.pl genambpos.pl fieldcomb.csh genklemsamp.pl \ |
36 |
> |
genskyvec.pl genBSDF.pl bsdfview.pl rtpict.pl rcode2bmp.pl $(LIBFILES) |
37 |
|
cp $(PROGS) $(INSTDIR) |
38 |
< |
cp objview.csh $(INSTDIR)/objview |
38 |
> |
cp objview.pl $(INSTDIR)/objview |
39 |
|
cp objline.csh $(INSTDIR)/objline |
40 |
< |
cp objpict.csh $(INSTDIR)/objpict |
40 |
> |
cp objpict.pl $(INSTDIR)/objpict |
41 |
|
cp glare.csh $(INSTDIR)/glare |
42 |
|
cp dayfact.csh $(INSTDIR)/dayfact |
43 |
|
cp debugcal.csh $(INSTDIR)/debugcal |
45 |
|
cp raddepend.csh $(INSTDIR)/raddepend |
46 |
|
cp compamb.csh $(INSTDIR)/compamb |
47 |
|
cp vinfo.csh $(INSTDIR)/vinfo |
48 |
< |
cp genambpos.csh $(INSTDIR)/genambpos |
48 |
> |
cp genambpos.pl $(INSTDIR)/genambpos |
49 |
|
cp fieldcomb.csh $(INSTDIR)/fieldcomb |
50 |
< |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
51 |
< |
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
52 |
< |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \ |
53 |
< |
$(INSTDIR)/compamb $(INSTDIR)/vinfo $(INSTDIR)/genambpos \ |
54 |
< |
$(INSTDIR)/fieldcomb |
50 |
> |
cp genklemsamp.pl $(INSTDIR)/genklemsamp |
51 |
> |
cp genskyvec.pl $(INSTDIR)/genskyvec |
52 |
> |
cp genBSDF.pl $(INSTDIR)/genBSDF |
53 |
> |
cp bsdfview.pl $(INSTDIR)/bsdfview |
54 |
> |
cp ltview.pl $(INSTDIR)/ltview |
55 |
> |
cp ltpict.pl $(INSTDIR)/ltpict |
56 |
> |
cp rtpict.pl $(INSTDIR)/rtpict |
57 |
> |
cp rcode2bmp.pl $(INSTDIR)/rcode2bmp |
58 |
> |
cd $(INSTDIR) ; chmod 755 objview objpict \ |
59 |
> |
glare dayfact debugcal rlux raddepend objline \ |
60 |
> |
compamb vinfo genambpos fieldcomb genklemsamp \ |
61 |
> |
genskyvec genBSDF rtpict rcode2bmp |
62 |
> |
cd $(LIBDIR) && rm -f $(LIBFILES) |
63 |
> |
cp $(LIBFILES) $(LIBDIR) |
64 |
|
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
65 |
|
|
66 |
|
clean: |
67 |
< |
set nonomatch; rm -f *.o $(PROGS) glrad core Version.c x11findwind.c |
67 |
> |
set nonomatch; rm -f *.o $(PROGS) glrad Version.c x11findwind.c |
68 |
|
|
69 |
|
ogl: glrad |
70 |
|
cp glrad $(INSTDIR) |
101 |
|
rpiece: rpiece.o Version.o |
102 |
|
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrtrad $(MLIB) |
103 |
|
|
88 |
– |
rtcontrib: rtcontrib.o Version.o |
89 |
– |
$(CC) $(CFLAGS) -o rtcontrib rtcontrib.o Version.o -lrtrad $(MLIB) |
90 |
– |
|
104 |
|
vwright: vwright.o |
105 |
|
$(CC) $(CFLAGS) -o vwright vwright.o -lrtrad $(MLIB) |
106 |
|
|
112 |
|
|
113 |
|
glrad: glrad.o |
114 |
|
$(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrtrad -lGLU -lGL \ |
115 |
< |
-lX11 -lXext |
115 |
> |
-lX11 -lXext $(MLIB) |
116 |
|
|
117 |
+ |
dctimestep: dctimestep.o cmbsdf.o cmatrix.o |
118 |
+ |
$(CC) $(CFLAGS) -o dctimestep dctimestep.o cmbsdf.o cmatrix.o \ |
119 |
+ |
-lrtrad $(MLIB) |
120 |
+ |
|
121 |
+ |
rttree_reduce: rttree_reduce.o |
122 |
+ |
$(CC) $(CFLAGS) -o rttree_reduce rttree_reduce.o -lrtrad $(MLIB) |
123 |
+ |
|
124 |
+ |
rcollate: rcollate.o |
125 |
+ |
$(CC) $(CFLAGS) -o rcollate rcollate.o -lrtrad |
126 |
+ |
|
127 |
+ |
eplus_adduvf: eplus_adduvf.o eplus_idf.o |
128 |
+ |
$(CC) $(CFLAGS) -o eplus_adduvf eplus_adduvf.o eplus_idf.o \ |
129 |
+ |
-lrtrad $(MLIB) |
130 |
+ |
|
131 |
+ |
rfluxmtx: rfluxmtx.o |
132 |
+ |
$(CC) $(CFLAGS) -o rfluxmtx rfluxmtx.o -lrtrad $(MLIB) |
133 |
+ |
|
134 |
+ |
rmtxop: rmtxop.o rmatrix.o cmatrix.o cmbsdf.o |
135 |
+ |
$(CC) $(CFLAGS) -o rmtxop rmtxop.o rmatrix.o cmatrix.o cmbsdf.o \ |
136 |
+ |
-lrtrad $(MLIB) |
137 |
+ |
|
138 |
+ |
wrapBSDF: wrapBSDF.o |
139 |
+ |
$(CC) $(CFLAGS) -o wrapBSDF wrapBSDF.o -lrtrad $(MLIB) |
140 |
+ |
|
141 |
+ |
evalglare: evalglare.o pictool.o |
142 |
+ |
$(CC) $(CFLAGS) -o evalglare evalglare.o pictool.o -lreetz -lrtrad $(MLIB) |
143 |
+ |
|
144 |
+ |
radcompare: radcompare.o |
145 |
+ |
$(CC) $(CFLAGS) -o radcompare radcompare.o -lrtrad $(MLIB) |
146 |
+ |
|
147 |
|
setscan.o: setscan.h |
148 |
|
|
149 |
+ |
rcode_depth: rcode_depth.o |
150 |
+ |
$(CC) $(CFLAGS) -o rcode_depth rcode_depth.o \ |
151 |
+ |
-lrtrad $(MLIB) |
152 |
+ |
|
153 |
+ |
rcode_norm: rcode_norm.o |
154 |
+ |
$(CC) $(CFLAGS) -o rcode_norm rcode_norm.o \ |
155 |
+ |
-lrtrad $(MLIB) |
156 |
+ |
|
157 |
+ |
rcode_ident: rcode_ident.o |
158 |
+ |
$(CC) $(CFLAGS) -o rcode_ident rcode_ident.o -lrtrad |
159 |
+ |
|
160 |
+ |
dcglare: dcglare.o cmbsdf.o cmatrix.o cmglare.o |
161 |
+ |
$(CC) $(CFLAGS) -o dcglare dcglare.o cmbsdf.o cmatrix.o cmglare.o \ |
162 |
+ |
-lrtrad $(MLIB) |
163 |
+ |
|
164 |
+ |
eplus_adduvf.o: ../common/triangulate.h ../common/rtprocess.h \ |
165 |
+ |
../common/paths.h ../common/rtio.h ../common/random.h \ |
166 |
+ |
../common/rtmath.h ../common/mat4.h ../common/fvect.h |
167 |
+ |
|
168 |
+ |
eplus_adduvf.o eplus_idf.o: eplus_idf.h \ |
169 |
+ |
../common/lookup.h |
170 |
+ |
|
171 |
|
findglare.o glareval.o \ |
172 |
|
glaresrc.o: glare.h ../common/standard.h \ |
173 |
|
../common/rtmisc.h ../common/rtio.h \ |
174 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
175 |
< |
../common/rterror.h ../common/tifftypes.h \ |
111 |
< |
../common/view.h ../common/color.h setscan.h |
175 |
> |
../common/rterror.h ../common/view.h ../common/color.h setscan.h |
176 |
|
|
177 |
|
glaresrc.o: ../common/linregr.h |
178 |
|
|
179 |
|
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
180 |
|
|
181 |
< |
rtcontrib.o: ../common/platform.h ../common/rtprocess.h \ |
182 |
< |
../common/color.h ../common/resolu.h ../common/lookup.h \ |
183 |
< |
../common/calcomp.h ../common/selcall.h |
181 |
> |
dctimestep.o: ../common/standard.h \ |
182 |
> |
../common/rtmisc.h ../common/rtio.h \ |
183 |
> |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
184 |
> |
../common/rterror.h ../common/resolu.h |
185 |
|
|
186 |
< |
rad.o ranimate.o rpiece.o rtcontrib.o xglaresrc.o: ../common/standard.h \ |
186 |
> |
dctimestep.o cmatrix.o cmbsdf.o: cmatrix.h ../common/color.h |
187 |
> |
|
188 |
> |
cmatrix.o cmbsdf.o: ../common/standard.h \ |
189 |
|
../common/rtmisc.h ../common/rtio.h \ |
190 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
191 |
< |
../common/rterror.h ../common/tifftypes.h |
191 |
> |
../common/rterror.h |
192 |
|
|
193 |
+ |
cmbsdf.o: ../common/paths.h ../common/bsdf.h ../common/bsdf_m.h |
194 |
+ |
|
195 |
+ |
rfluxmtx.o: ../common/rtio.h ../common/random.h ../common/triangulate.h \ |
196 |
+ |
../common/rtmath.h ../common/fvect.h ../common/mat4.h ../common/tiff.h \ |
197 |
+ |
../common/platform.h ../common/bsdf.h ../common/bsdf_m.h ../common/rtprocess.h |
198 |
+ |
|
199 |
+ |
rmtxop.o dctimestep.o cmatrix.o: ../common/platform.h |
200 |
+ |
|
201 |
+ |
dcglare.o rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \ |
202 |
+ |
../common/rtmisc.h ../common/rtio.h \ |
203 |
+ |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
204 |
+ |
../common/rterror.h |
205 |
+ |
|
206 |
|
xglaresrc.o: ../common/view.h |
207 |
|
|
208 |
|
glareval.o xglaresrc.o: ../common/resolu.h |
209 |
|
|
210 |
+ |
glareval.o: ../common/platform.h ../common/rtprocess.h |
211 |
+ |
|
212 |
|
rad.o ranimate.o: ../common/vars.h |
213 |
|
|
214 |
|
ranimove1.o ranimove2.o vwrays.o: ../common/random.h |
217 |
|
|
218 |
|
ranimate.o netproc.o: netproc.h |
219 |
|
|
220 |
< |
ranimove1.o: ../common/otypes.h |
220 |
> |
ranimove1.o: ../common/otypes.h ../rt/otspecial.h ../rt/source.h |
221 |
|
|
222 |
|
netproc.o: ../common/paths.h |
223 |
|
|
225 |
|
|
226 |
|
glrad.o: ../common/radogl.h \ |
227 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
228 |
< |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
147 |
< |
../common/rterror.h ../common/tifftypes.h \ |
228 |
> |
../common/rtmath.h ../common/mat4.h ../common/fvect.h ../common/rterror.h \ |
229 |
|
../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h |
230 |
|
|
231 |
|
glrad.o: glradicon.h ../common/view.h ../common/paths.h |
236 |
|
../common/object.h ../common/color.h \ |
237 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
238 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
239 |
< |
../common/rterror.h ../common/tifftypes.h |
239 |
> |
../common/rterror.h |
240 |
|
|
241 |
|
rsensor.o: ../rt/ray.h ../common/octree.h \ |
242 |
|
../common/object.h ../common/color.h \ |
243 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
244 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
245 |
< |
../common/rterror.h ../common/tifftypes.h |
245 |
> |
../common/rterror.h |
246 |
|
|
247 |
|
rsensor.o: ../common/view.h ../common/resolu.h ../rt/source.h |
248 |
|
|
249 |
+ |
rcollate.o: ../common/platform.h \ |
250 |
+ |
../common/rtio.h ../common/resolu.h |
251 |
+ |
|
252 |
|
Version.c: ../rt/Version.c |
253 |
|
cp ../rt/Version.c . |
254 |
|
|
255 |
|
x11findwind.c: ../common/x11findwind.c |
256 |
|
cp ../common/x11findwind.c . |
257 |
+ |
|
258 |
+ |
rttree_reduce.o: ../common/rtio.h ../common/rterror.h |
259 |
+ |
|
260 |
+ |
rmatrix.o: rmatrix.h cmatrix.h ../common/resolu.h |
261 |
+ |
|
262 |
+ |
rmtxop.o: rmatrix.h cmatrix.h ../common/rtio.h ../common/resolu.h |
263 |
+ |
|
264 |
+ |
wrapBSDF.o: ../common/rtio.h ../common/rtprocess.h ../common/ezxml.h \ |
265 |
+ |
../common/bsdf.h ../common/bsdf_m.h ../common/fvect.h ../common/ccolor.h |
266 |
+ |
|
267 |
+ |
pictool.o evalglare.o: pictool.h ../common/g3vector.h ../common/g3affine.h \ |
268 |
+ |
../common/g3flist.h ../common/fvect.h ../common/gbasic.h |
269 |
+ |
|
270 |
+ |
evalglare.o: ../common/rtio.h |
271 |
+ |
|
272 |
+ |
radcompare.o: ../common/rtio.h ../common/color.h ../common/lookup.h \ |
273 |
+ |
../common/platform.h ../common/normcodec.h ../common/depthcodec.h \ |
274 |
+ |
../common/rtmath.h ../common/view.h |
275 |
+ |
|
276 |
+ |
pictool.o: ../common/view.h ../common/color.h |
277 |
+ |
|
278 |
+ |
getinfo.o: ../common/rtprocess.h ../common/platform.h ../common/resolu.h |
279 |
+ |
|
280 |
+ |
rcode_depth.o: ../common/depthcodec.h \ |
281 |
+ |
../common/view.h ../common/fvect.h ../common/resolu.h ../common/rtio.h \ |
282 |
+ |
../common/platform.h |
283 |
+ |
|
284 |
+ |
rcode_norm.o: ../common/normcodec.h \ |
285 |
+ |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
286 |
+ |
../common/resolu.h ../common/rtio.h ../common/platform.h |
287 |
+ |
|
288 |
+ |
rcode_ident.o: ../common/idmap.h ../common/resolu.h \ |
289 |
+ |
../common/platform.h ../common/rtio.h ../common/lookup.h |
290 |
+ |
|
291 |
+ |
dcglare.o: ../common/platform.h ../common/resolu.h cmglare.h |