--- ray/src/util/Rmakefile 1994/01/01 12:15:44 2.10 +++ ray/src/util/Rmakefile 1994/11/04 17:40:46 2.13 @@ -1,6 +1,5 @@ # # SCCSid "$SunId$ LBL" -# # Radiance makefile for utility programs # @@ -14,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 +raddepend.csh ivprep.csh ivpict.csh trad.wsh cp $(PROGS) $(INSTDIR) cp objview.csh $(INSTDIR)/objview cp objpict.csh $(INSTDIR)/objpict @@ -28,9 +34,17 @@ raddepend.csh cp debugcal.csh $(INSTDIR)/debugcal cp rlux.csh $(INSTDIR)/rlux cp raddepend.csh $(INSTDIR)/raddepend + cp ivprep.csh $(INSTDIR)/ivprep + cp ivpict.csh $(INSTDIR)/ivpict + sed -e "1s|/usr/local/bin/wish|`which wish`|" \ + -e "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)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ + $(INSTDIR)/ivpict $(INSTDIR)/trad + cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) + cp $(TLIBFILES) $(LIBDIR)/tcl clean: set nonomatch; rm -f *.o $(PROGS) core