15 |
|
|
16 |
|
LIBDIR = /usr/local/lib/ray |
17 |
|
|
18 |
< |
PROGS = findglare xglaresrc glarendx rpiece rad vwright |
18 |
> |
PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright |
19 |
|
|
20 |
– |
TLIBFILES = do_action.tcl do_file.tcl do_options.tcl do_results.tcl \ |
21 |
– |
do_scene.tcl do_views.tcl do_zone.tcl \ |
22 |
– |
getfile.tcl gethelp.tcl util.tcl tclIndex \ |
23 |
– |
trad.hlp help.hlp file.hlp trad.icon |
24 |
– |
|
20 |
|
all: $(PROGS) |
21 |
|
|
22 |
|
install: all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \ |
23 |
< |
raddepend.csh ivprep.csh ivpict.csh trad.wsh |
23 |
> |
raddepend.csh trad.wsh objline.csh |
24 |
|
cp $(PROGS) $(INSTDIR) |
25 |
|
cp objview.csh $(INSTDIR)/objview |
26 |
+ |
cp objline.csh $(INSTDIR)/objline |
27 |
|
cp objpict.csh $(INSTDIR)/objpict |
28 |
|
cp glare.csh $(INSTDIR)/glare |
29 |
|
cp dayfact.csh $(INSTDIR)/dayfact |
30 |
|
cp debugcal.csh $(INSTDIR)/debugcal |
31 |
|
cp rlux.csh $(INSTDIR)/rlux |
32 |
|
cp raddepend.csh $(INSTDIR)/raddepend |
37 |
– |
cp ivprep.csh $(INSTDIR)/ivprep |
38 |
– |
cp ivpict.csh $(INSTDIR)/ivpict |
39 |
– |
sed -e "1s|/usr/local/bin/wish|`which wish`|" \ |
40 |
– |
-e "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" \ |
41 |
– |
trad.wsh > $(INSTDIR)/trad |
33 |
|
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
34 |
|
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
35 |
< |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ |
36 |
< |
$(INSTDIR)/ivpict $(INSTDIR)/trad |
46 |
< |
cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) |
47 |
< |
cp $(TLIBFILES) $(LIBDIR)/tcl |
35 |
> |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline |
36 |
> |
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
37 |
|
|
38 |
|
clean: |
39 |
|
set nonomatch; rm -f *.o $(PROGS) core |
55 |
|
$(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \ |
56 |
|
x11findwind.o -lrt -lX11 -lm |
57 |
|
|
58 |
< |
rad: rad.o |
59 |
< |
$(CC) $(CFLAGS) -o rad rad.o -lrt -lm |
58 |
> |
rad: rad.o loadvars.o |
59 |
> |
$(CC) $(CFLAGS) -o rad rad.o loadvars.o -lrt -lm |
60 |
|
|
61 |
+ |
ranimate: ranimate.o loadvars.o netproc.o |
62 |
+ |
$(CC) $(CFLAGS) -o ranimate ranimate.o loadvars.o netproc.o -lrt -lm |
63 |
+ |
|
64 |
|
rpiece: rpiece.o Version.o |
65 |
|
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm |
66 |
|
|
90 |
|
|
91 |
|
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
92 |
|
|
93 |
< |
rad.o rpiece.o xglaresrc.o: ../common/standard.h \ |
93 |
> |
rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \ |
94 |
|
../common/mat4.h ../common/fvect.h |
95 |
|
|
96 |
|
xglaresrc.o: ../common/view.h |
100 |
|
glareval.o xglaresrc.o: ../common/resolu.h |
101 |
|
|
102 |
|
xglaresrc.o: ../common/vfork.h |
103 |
+ |
|
104 |
+ |
rad.o ranimate.o loadvars.o: vars.h |
105 |
+ |
|
106 |
+ |
rad.o: ../common/paths.h |
107 |
+ |
|
108 |
+ |
ranimate.o netproc.o: netproc.h |
109 |
+ |
|
110 |
+ |
netproc.o: ../common/paths.h |
111 |
+ |
|
112 |
+ |
ranimate.o: ../common/view.h |