| 17 |
|
|
| 18 |
|
PROGS = findglare xglaresrc glarendx rpiece rad 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 \ |
| 35 |
|
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
| 36 |
|
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ |
| 37 |
|
$(INSTDIR)/ivpict |
| 38 |
< |
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 |
| 38 |
> |
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
| 39 |
|
|
| 40 |
|
clean: |
| 41 |
|
set nonomatch; rm -f *.o $(PROGS) core |