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 |
25 |
|
|
26 |
+ |
LIBFILES = rambpos.cal ambpos.cal tregsamp.dat |
27 |
+ |
|
28 |
|
all: $(PROGS) |
29 |
|
|
30 |
< |
install: all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \ |
30 |
> |
install: all $(SPECIAL) objview.pl objpict.pl glare.csh dayfact.csh \ |
31 |
|
rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \ |
32 |
< |
genambpos.csh fieldcomb.csh |
32 |
> |
ltview.pl ltpict.pl genambpos.pl fieldcomb.csh genklemsamp.pl \ |
33 |
> |
genskyvec.pl genBSDF.pl $(LIBFILES) |
34 |
|
cp $(PROGS) $(INSTDIR) |
35 |
< |
cp objview.csh $(INSTDIR)/objview |
35 |
> |
cp objview.pl $(INSTDIR)/objview |
36 |
|
cp objline.csh $(INSTDIR)/objline |
37 |
< |
cp objpict.csh $(INSTDIR)/objpict |
37 |
> |
cp objpict.pl $(INSTDIR)/objpict |
38 |
|
cp glare.csh $(INSTDIR)/glare |
39 |
|
cp dayfact.csh $(INSTDIR)/dayfact |
40 |
|
cp debugcal.csh $(INSTDIR)/debugcal |
42 |
|
cp raddepend.csh $(INSTDIR)/raddepend |
43 |
|
cp compamb.csh $(INSTDIR)/compamb |
44 |
|
cp vinfo.csh $(INSTDIR)/vinfo |
45 |
< |
cp genambpos.csh $(INSTDIR)/genambpos |
45 |
> |
cp genambpos.pl $(INSTDIR)/genambpos |
46 |
|
cp fieldcomb.csh $(INSTDIR)/fieldcomb |
47 |
< |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
48 |
< |
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
49 |
< |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \ |
50 |
< |
$(INSTDIR)/compamb $(INSTDIR)/vinfo $(INSTDIR)/genambpos \ |
51 |
< |
$(INSTDIR)/fieldcomb |
47 |
> |
cp genklemsamp.pl $(INSTDIR)/genklemsamp |
48 |
> |
cp genskyvec.pl $(INSTDIR)/genskyvec |
49 |
> |
cp genBSDF.pl $(INSTDIR)/genBSDF |
50 |
> |
cp ltview.pl $(INSTDIR)/ltview |
51 |
> |
cp ltpict.pl $(INSTDIR)/ltpict |
52 |
> |
cd $(INSTDIR) ; chmod 755 objview objpict \ |
53 |
> |
glare dayfact debugcal rlux raddepend objline \ |
54 |
> |
compamb vinfo genambpos fieldcomb genklemsamp \ |
55 |
> |
genskyvec genBSDF |
56 |
> |
cd $(LIBDIR) && rm -f $(LIBFILES) |
57 |
> |
cp $(LIBFILES) $(LIBDIR) |
58 |
|
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
59 |
|
|
60 |
|
clean: |
61 |
< |
set nonomatch; rm -f *.o $(PROGS) glrad core Version.c x11findwind.c |
61 |
> |
set nonomatch; rm -f *.o $(PROGS) glrad Version.c x11findwind.c |
62 |
|
|
63 |
|
ogl: glrad |
64 |
|
cp glrad $(INSTDIR) |
95 |
|
rpiece: rpiece.o Version.o |
96 |
|
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrtrad $(MLIB) |
97 |
|
|
88 |
– |
rtcontrib: rtcontrib.o Version.o |
89 |
– |
$(CC) $(CFLAGS) -o rtcontrib rtcontrib.o Version.o -lrtrad $(MLIB) |
90 |
– |
|
98 |
|
vwright: vwright.o |
99 |
|
$(CC) $(CFLAGS) -o vwright vwright.o -lrtrad $(MLIB) |
100 |
|
|
108 |
|
$(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrtrad -lGLU -lGL \ |
109 |
|
-lX11 -lXext $(MLIB) |
110 |
|
|
111 |
+ |
dctimestep: dctimestep.o cmbsdf.o cmatrix.o |
112 |
+ |
$(CC) $(CFLAGS) -o dctimestep dctimestep.o cmbsdf.o cmatrix.o \ |
113 |
+ |
-lrtrad $(MLIB) |
114 |
+ |
|
115 |
+ |
rttree_reduce: rttree_reduce.o |
116 |
+ |
$(CC) $(CFLAGS) -o rttree_reduce rttree_reduce.o -lrtrad $(MLIB) |
117 |
+ |
|
118 |
+ |
rcollate: rcollate.o |
119 |
+ |
$(CC) $(CFLAGS) -o rcollate rcollate.o -lrtrad |
120 |
+ |
|
121 |
+ |
eplus_adduvf: eplus_adduvf.o eplus_idf.o |
122 |
+ |
$(CC) $(CFLAGS) -o eplus_adduvf eplus_adduvf.o eplus_idf.o \ |
123 |
+ |
-lrtrad $(MLIB) |
124 |
+ |
|
125 |
+ |
rfluxmtx: rfluxmtx.o |
126 |
+ |
$(CC) $(CFLAGS) -o rfluxmtx rfluxmtx.o -lrtrad $(MLIB) |
127 |
+ |
|
128 |
+ |
rmtxop: rmtxop.o rmatrix.o cmatrix.o cmbsdf.o |
129 |
+ |
$(CC) $(CFLAGS) -o rmtxop rmtxop.o rmatrix.o cmatrix.o cmbsdf.o \ |
130 |
+ |
-lrtrad $(MLIB) |
131 |
+ |
|
132 |
|
setscan.o: setscan.h |
133 |
|
|
134 |
+ |
eplus_adduvf.o: ../common/triangulate.h ../common/rtprocess.h \ |
135 |
+ |
../common/paths.h ../common/rtio.h ../common/random.h \ |
136 |
+ |
../common/rtmath.h ../common/mat4.h ../common/fvect.h |
137 |
+ |
|
138 |
+ |
eplus_adduvf.o eplus_idf.o: eplus_idf.h \ |
139 |
+ |
../common/lookup.h |
140 |
+ |
|
141 |
|
findglare.o glareval.o \ |
142 |
|
glaresrc.o: glare.h ../common/standard.h \ |
143 |
|
../common/rtmisc.h ../common/rtio.h \ |
144 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
145 |
< |
../common/rterror.h ../common/tifftypes.h \ |
111 |
< |
../common/view.h ../common/color.h setscan.h |
145 |
> |
../common/rterror.h ../common/view.h ../common/color.h setscan.h |
146 |
|
|
147 |
|
glaresrc.o: ../common/linregr.h |
148 |
|
|
149 |
|
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
150 |
|
|
151 |
< |
rtcontrib.o: ../common/platform.h ../common/rtprocess.h \ |
152 |
< |
../common/color.h ../common/resolu.h ../common/lookup.h \ |
153 |
< |
../common/calcomp.h ../common/selcall.h |
151 |
> |
dctimestep.o: ../common/standard.h \ |
152 |
> |
../common/rtmisc.h ../common/rtio.h \ |
153 |
> |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
154 |
> |
../common/rterror.h ../common/resolu.h |
155 |
|
|
156 |
< |
rad.o ranimate.o rpiece.o rtcontrib.o xglaresrc.o: ../common/standard.h \ |
156 |
> |
dctimestep.o cmatrix.o cmbsdf.o: cmatrix.h ../common/color.h |
157 |
> |
|
158 |
> |
cmatrix.o cmbsdf.o: ../common/standard.h \ |
159 |
|
../common/rtmisc.h ../common/rtio.h \ |
160 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
161 |
< |
../common/rterror.h ../common/tifftypes.h |
161 |
> |
../common/rterror.h |
162 |
|
|
163 |
+ |
cmbsdf.o: ../common/paths.h ../common/bsdf.h ../common/bsdf_m.h |
164 |
+ |
|
165 |
+ |
rfluxmtx.o: ../common/rtio.h ../common/random.h ../common/triangulate.h \ |
166 |
+ |
../common/rtmath.h ../common/fvect.h ../common/mat4.h ../common/tiff.h \ |
167 |
+ |
../common/platform.h ../common/bsdf.h ../common/bsdf_m.h |
168 |
+ |
|
169 |
+ |
dctimestep.o cmatrix.o: ../common/platform.h |
170 |
+ |
|
171 |
+ |
rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \ |
172 |
+ |
../common/rtmisc.h ../common/rtio.h \ |
173 |
+ |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
174 |
+ |
../common/rterror.h |
175 |
+ |
|
176 |
|
xglaresrc.o: ../common/view.h |
177 |
|
|
178 |
|
glareval.o xglaresrc.o: ../common/resolu.h |
179 |
|
|
180 |
+ |
glareval.o: ../common/platform.h ../common/rtprocess.h |
181 |
+ |
|
182 |
|
rad.o ranimate.o: ../common/vars.h |
183 |
|
|
184 |
|
ranimove1.o ranimove2.o vwrays.o: ../common/random.h |
195 |
|
|
196 |
|
glrad.o: ../common/radogl.h \ |
197 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
198 |
< |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
147 |
< |
../common/rterror.h ../common/tifftypes.h \ |
198 |
> |
../common/rtmath.h ../common/mat4.h ../common/fvect.h ../common/rterror.h \ |
199 |
|
../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h |
200 |
|
|
201 |
|
glrad.o: glradicon.h ../common/view.h ../common/paths.h |
206 |
|
../common/object.h ../common/color.h \ |
207 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
208 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
209 |
< |
../common/rterror.h ../common/tifftypes.h |
209 |
> |
../common/rterror.h |
210 |
|
|
211 |
|
rsensor.o: ../rt/ray.h ../common/octree.h \ |
212 |
|
../common/object.h ../common/color.h \ |
213 |
|
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
214 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
215 |
< |
../common/rterror.h ../common/tifftypes.h |
215 |
> |
../common/rterror.h |
216 |
|
|
217 |
|
rsensor.o: ../common/view.h ../common/resolu.h ../rt/source.h |
218 |
|
|
219 |
+ |
rcollate.o: ../common/platform.h ../common/rtio.h ../common/resolu.h |
220 |
+ |
|
221 |
|
Version.c: ../rt/Version.c |
222 |
|
cp ../rt/Version.c . |
223 |
|
|
224 |
|
x11findwind.c: ../common/x11findwind.c |
225 |
|
cp ../common/x11findwind.c . |
226 |
+ |
|
227 |
+ |
rttree_reduce.o: ../common/rtio.h ../common/rterror.h |
228 |
+ |
|
229 |
+ |
rmatrix.o: rmatrix.h cmatrix.h ../common/resolu.h |
230 |
+ |
|
231 |
+ |
rmtxop.o: rmatrix.h cmatrix.h ../common/rtio.h ../common/resolu.h |