| 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 getinfo |
| 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 |
| 33 |
|
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
| 34 |
|
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
| 35 |
< |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ |
| 36 |
< |
$(INSTDIR)/ivpict |
| 43 |
< |
sed -e "1s|/usr/local/bin/wish|`which wish`|" \ |
| 44 |
< |
-e "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" \ |
| 45 |
< |
trad.wsh > $(INSTDIR)/trad |
| 46 |
< |
chmod 755 $(INSTDIR)/trad |
| 47 |
< |
cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) |
| 48 |
< |
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 |
| 58 |
|
rad: rad.o |
| 59 |
|
$(CC) $(CFLAGS) -o rad rad.o -lrt -lm |
| 60 |
|
|
| 61 |
+ |
ranimate: ranimate.o netproc.o |
| 62 |
+ |
$(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm |
| 63 |
+ |
|
| 64 |
|
rpiece: rpiece.o Version.o |
| 65 |
|
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm |
| 66 |
|
|
| 67 |
|
vwright: vwright.o |
| 68 |
|
$(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm |
| 69 |
|
|
| 70 |
+ |
getinfo: getinfo.o |
| 71 |
+ |
$(CC) $(CFLAGS) -o getinfo getinfo.o -lrt |
| 72 |
+ |
|
| 73 |
|
contour: contour.o |
| 74 |
|
$(CC) $(CFLAGS) -o contour contour.o -lm |
| 75 |
|
|
| 93 |
|
|
| 94 |
|
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
| 95 |
|
|
| 96 |
< |
rad.o rpiece.o xglaresrc.o: ../common/standard.h \ |
| 96 |
> |
rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \ |
| 97 |
|
../common/mat4.h ../common/fvect.h |
| 98 |
|
|
| 99 |
|
xglaresrc.o: ../common/view.h |
| 103 |
|
glareval.o xglaresrc.o: ../common/resolu.h |
| 104 |
|
|
| 105 |
|
xglaresrc.o: ../common/vfork.h |
| 106 |
+ |
|
| 107 |
+ |
rad.o ranimate.o: ../common/vars.h |
| 108 |
+ |
|
| 109 |
+ |
rad.o: ../common/paths.h |
| 110 |
+ |
|
| 111 |
+ |
ranimate.o netproc.o: netproc.h |
| 112 |
+ |
|
| 113 |
+ |
netproc.o: ../common/paths.h |
| 114 |
+ |
|
| 115 |
+ |
ranimate.o: ../common/view.h |