15 |
|
|
16 |
|
LIBDIR = /usr/local/lib/ray |
17 |
|
|
18 |
< |
PROGS = findglare xglaresrc glarendx rpiece rad |
18 |
> |
PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright getinfo vwrays |
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 compamb.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 |
33 |
< |
cp ivprep.csh $(INSTDIR)/ivprep |
38 |
< |
cp ivpict.csh $(INSTDIR)/ivpict |
39 |
< |
sed "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" trad.wsh > $(INSTDIR)/trad |
33 |
> |
cp compamb.csh $(INSTDIR)/compamb |
34 |
|
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
35 |
|
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
36 |
< |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ |
37 |
< |
$(INSTDIR)/ivpict $(INSTDIR)/trad |
38 |
< |
cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) |
45 |
< |
cp $(TLIBFILES) $(LIBDIR)/tcl |
36 |
> |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \ |
37 |
> |
$(INSTDIR)/compamb |
38 |
> |
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
39 |
|
|
40 |
|
clean: |
41 |
|
set nonomatch; rm -f *.o $(PROGS) core |
60 |
|
rad: rad.o |
61 |
|
$(CC) $(CFLAGS) -o rad rad.o -lrt -lm |
62 |
|
|
63 |
+ |
ranimate: ranimate.o netproc.o |
64 |
+ |
$(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm |
65 |
+ |
|
66 |
|
rpiece: rpiece.o Version.o |
67 |
|
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm |
68 |
|
|
69 |
+ |
vwright: vwright.o |
70 |
+ |
$(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm |
71 |
+ |
|
72 |
+ |
vwrays: vwrays.o |
73 |
+ |
$(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm |
74 |
+ |
|
75 |
+ |
getinfo: getinfo.o |
76 |
+ |
$(CC) $(CFLAGS) -o getinfo getinfo.o -lrt |
77 |
+ |
|
78 |
|
contour: contour.o |
79 |
|
$(CC) $(CFLAGS) -o contour contour.o -lm |
80 |
|
|
98 |
|
|
99 |
|
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
100 |
|
|
101 |
< |
rad.o rpiece.o xglaresrc.o: ../common/standard.h \ |
101 |
> |
rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \ |
102 |
|
../common/mat4.h ../common/fvect.h |
103 |
|
|
104 |
|
xglaresrc.o: ../common/view.h |
108 |
|
glareval.o xglaresrc.o: ../common/resolu.h |
109 |
|
|
110 |
|
xglaresrc.o: ../common/vfork.h |
111 |
+ |
|
112 |
+ |
rad.o ranimate.o: ../common/vars.h |
113 |
+ |
|
114 |
+ |
rad.o: ../common/paths.h |
115 |
+ |
|
116 |
+ |
ranimate.o netproc.o: netproc.h |
117 |
+ |
|
118 |
+ |
netproc.o: ../common/paths.h |
119 |
+ |
|
120 |
+ |
rad.o ranimate.o: ../common/view.h |