--- ray/src/util/Rmakefile 1994/01/01 15:10:17 2.11 +++ ray/src/util/Rmakefile 1994/10/27 22:07:06 2.12 @@ -13,12 +13,19 @@ CC = cc INSTDIR = /usr/local/bin +LIBDIR = /usr/local/lib/ray + PROGS = findglare xglaresrc glarendx rpiece rad +TLIBFILES = do_action.tcl do_file.tcl do_options.tcl do_results.tcl \ + do_scene.tcl do_views.tcl do_zone.tcl \ + getfile.tcl gethelp.tcl util.tcl tclIndex \ + trad.hlp help.hlp file.hlp trad.icon + all: $(PROGS) install: all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \ -raddepend.csh ivprep.csh ivpict.csh +raddepend.csh ivprep.csh ivpict.csh trad.wsh cp $(PROGS) $(INSTDIR) cp objview.csh $(INSTDIR)/objview cp objpict.csh $(INSTDIR)/objpict @@ -29,10 +36,13 @@ raddepend.csh ivprep.csh ivpict.csh cp raddepend.csh $(INSTDIR)/raddepend cp ivprep.csh $(INSTDIR)/ivprep cp ivpict.csh $(INSTDIR)/ivpict + sed "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" trad.wsh > $(INSTDIR)/trad chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ - $(INSTDIR)/ivpict + $(INSTDIR)/ivpict $(INSTDIR)/trad + cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) + cp $(TLIBFILES) $(LIBDIR)/tcl clean: set nonomatch; rm -f *.o $(PROGS) core