| 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 \ | 
| 31 | 
  | 
        cp raddepend.csh $(INSTDIR)/raddepend | 
| 32 | 
  | 
        cp ivprep.csh $(INSTDIR)/ivprep | 
| 33 | 
  | 
        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 | 
| 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) | 
| 47 | 
< | 
        cp $(TLIBFILES) $(LIBDIR)/tcl | 
| 37 | 
> | 
                $(INSTDIR)/ivpict | 
| 38 | 
> | 
        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl | 
| 39 | 
  | 
 | 
| 40 | 
  | 
clean: | 
| 41 | 
  | 
        set nonomatch; rm -f *.o $(PROGS) core |