| 20 |
|
LIBDIR = /usr/local/lib/ray |
| 21 |
|
|
| 22 |
|
PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ |
| 23 |
< |
vwrays xglaresrc rtcontrib rsensor dctimestep |
| 23 |
> |
vwrays xglaresrc rsensor dctimestep rttree_reduce rcollate |
| 24 |
|
|
| 25 |
|
all: $(PROGS) |
| 26 |
|
|
| 27 |
< |
install: all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \ |
| 27 |
> |
install: all $(SPECIAL) objview.pl objpict.pl glare.csh dayfact.csh \ |
| 28 |
|
rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \ |
| 29 |
< |
genambpos.csh fieldcomb.csh genklemsamp.pl gentregvec.pl tregsamp.dat |
| 29 |
> |
genambpos.csh fieldcomb.csh genklemsamp.pl genskyvec.pl genBSDF.pl tregsamp.dat |
| 30 |
|
cp $(PROGS) $(INSTDIR) |
| 31 |
< |
cp objview.csh $(INSTDIR)/objview |
| 31 |
> |
cp objview.pl $(INSTDIR)/objview |
| 32 |
|
cp objline.csh $(INSTDIR)/objline |
| 33 |
< |
cp objpict.csh $(INSTDIR)/objpict |
| 33 |
> |
cp objpict.pl $(INSTDIR)/objpict |
| 34 |
|
cp glare.csh $(INSTDIR)/glare |
| 35 |
|
cp dayfact.csh $(INSTDIR)/dayfact |
| 36 |
|
cp debugcal.csh $(INSTDIR)/debugcal |
| 41 |
|
cp genambpos.csh $(INSTDIR)/genambpos |
| 42 |
|
cp fieldcomb.csh $(INSTDIR)/fieldcomb |
| 43 |
|
cp genklemsamp.pl $(INSTDIR)/genklemsamp |
| 44 |
< |
cp gentregvec.pl $(INSTDIR)/gentregvec |
| 44 |
> |
cp genskyvec.pl $(INSTDIR)/genskyvec |
| 45 |
> |
cp genBSDF.pl $(INSTDIR)/genBSDF |
| 46 |
|
cd $(INSTDIR) ; chmod 755 objview objpict \ |
| 47 |
|
glare dayfact debugcal rlux raddepend objline \ |
| 48 |
< |
compamb vinfo genambpos fieldcomb genklemsamp gentregvec |
| 48 |
> |
compamb vinfo genambpos fieldcomb genklemsamp \ |
| 49 |
> |
genskyvec genBSDF |
| 50 |
|
cp tregsamp.dat $(LIBDIR) |
| 51 |
|
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
| 52 |
|
|
| 104 |
|
$(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrtrad -lGLU -lGL \ |
| 105 |
|
-lX11 -lXext $(MLIB) |
| 106 |
|
|
| 107 |
< |
dctimestep: dctimestep.o |
| 108 |
< |
$(CC) $(CFLAGS) -o dctimestep dctimestep.o -lrtrad |
| 107 |
> |
dctimestep: dctimestep.o cmbsdf.o cmatrix.o |
| 108 |
> |
$(CC) $(CFLAGS) -o dctimestep dctimestep.o cmbsdf.o cmatrix.o \ |
| 109 |
> |
-lrtrad $(MLIB) |
| 110 |
|
|
| 111 |
+ |
rttree_reduce: rttree_reduce.o |
| 112 |
+ |
$(CC) $(CFLAGS) -o rttree_reduce rttree_reduce.o -lrtrad $(MLIB) |
| 113 |
+ |
|
| 114 |
+ |
rcollate: rcollate.o |
| 115 |
+ |
$(CC) $(CFLAGS) -o rcollate rcollate.o -lrtrad |
| 116 |
+ |
|
| 117 |
|
setscan.o: setscan.h |
| 118 |
|
|
| 119 |
|
findglare.o glareval.o \ |
| 129 |
|
dctimestep.o: ../common/standard.h \ |
| 130 |
|
../common/rtmisc.h ../common/rtio.h \ |
| 131 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
| 132 |
< |
../common/rterror.h ../common/platform.h \ |
| 124 |
< |
../common/color.h ../common/bsdf.h ../common/resolu.h |
| 132 |
> |
../common/rterror.h ../common/resolu.h |
| 133 |
|
|
| 134 |
+ |
dctimestep.o cmatrix.o cmbsdf.o: cmatrix.h ../common/color.h |
| 135 |
+ |
|
| 136 |
+ |
cmatrix.o cmbsdf.o: ../common/standard.h \ |
| 137 |
+ |
../common/rtmisc.h ../common/rtio.h \ |
| 138 |
+ |
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
| 139 |
+ |
../common/rterror.h |
| 140 |
+ |
|
| 141 |
+ |
cmbsdf.o: ../common/paths.h ../common/bsdf.h ../common/bsdf_m.h |
| 142 |
+ |
|
| 143 |
+ |
dctimestep.o cmatrix.o: ../common/platform.h |
| 144 |
+ |
|
| 145 |
|
rtcontrib.o: ../common/platform.h ../common/rtprocess.h \ |
| 146 |
|
../common/color.h ../common/resolu.h ../common/lookup.h \ |
| 147 |
|
../common/calcomp.h ../common/selcall.h |
| 155 |
|
|
| 156 |
|
glareval.o xglaresrc.o: ../common/resolu.h |
| 157 |
|
|
| 158 |
+ |
glareval.o: ../common/platform.h ../common/rtprocess.h |
| 159 |
+ |
|
| 160 |
|
rad.o ranimate.o: ../common/vars.h |
| 161 |
|
|
| 162 |
|
ranimove1.o ranimove2.o vwrays.o: ../common/random.h |
| 194 |
|
|
| 195 |
|
rsensor.o: ../common/view.h ../common/resolu.h ../rt/source.h |
| 196 |
|
|
| 197 |
+ |
rcollate.o: ../common/platform.h ../common/rtio.h ../common/resolu.h |
| 198 |
+ |
|
| 199 |
|
Version.c: ../rt/Version.c |
| 200 |
|
cp ../rt/Version.c . |
| 201 |
|
|
| 202 |
|
x11findwind.c: ../common/x11findwind.c |
| 203 |
|
cp ../common/x11findwind.c . |
| 204 |
+ |
|
| 205 |
+ |
rttree_reduce.o: ../common/rtio.h ../common/rterror.h |