--- ray/src/util/Rmakefile 1994/10/27 22:07:06 2.12 +++ ray/src/util/Rmakefile 1995/06/27 12:29:39 2.15 @@ -15,7 +15,7 @@ INSTDIR = /usr/local/bin LIBDIR = /usr/local/lib/ray -PROGS = findglare xglaresrc glarendx rpiece rad +PROGS = findglare xglaresrc glarendx rpiece rad vwright TLIBFILES = do_action.tcl do_file.tcl do_options.tcl do_results.tcl \ do_scene.tcl do_views.tcl do_zone.tcl \ @@ -36,11 +36,14 @@ raddepend.csh ivprep.csh ivpict.csh trad.wsh 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)/trad + $(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)/trad cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) cp $(TLIBFILES) $(LIBDIR)/tcl @@ -69,6 +72,9 @@ rad: rad.o rpiece: rpiece.o Version.o $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm + +vwright: vwright.o + $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm contour: contour.o $(CC) $(CFLAGS) -o contour contour.o -lm