--- ray/src/util/Rmakefile 1994/11/04 17:40:46 2.13 +++ ray/src/util/Rmakefile 1996/01/12 12:16:32 2.19 @@ -15,36 +15,25 @@ INSTDIR = /usr/local/bin LIBDIR = /usr/local/lib/ray -PROGS = findglare xglaresrc glarendx rpiece rad +PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright -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 trad.wsh +raddepend.csh trad.wsh objline.csh cp $(PROGS) $(INSTDIR) cp objview.csh $(INSTDIR)/objview + cp objline.csh $(INSTDIR)/objline cp objpict.csh $(INSTDIR)/objpict cp glare.csh $(INSTDIR)/glare cp dayfact.csh $(INSTDIR)/dayfact 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)/ivprep \ - $(INSTDIR)/ivpict $(INSTDIR)/trad - cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) - cp $(TLIBFILES) $(LIBDIR)/tcl + $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline + csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl clean: set nonomatch; rm -f *.o $(PROGS) core @@ -66,12 +55,18 @@ xglaresrc: xglaresrc.o x11findwind.o $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \ x11findwind.o -lrt -lX11 -lm -rad: rad.o - $(CC) $(CFLAGS) -o rad rad.o -lrt -lm +rad: rad.o loadvars.o + $(CC) $(CFLAGS) -o rad rad.o loadvars.o -lrt -lm +ranimate: ranimate.o loadvars.o + $(CC) $(CFLAGS) -o ranimate ranimate.o loadvars.o -lrt -lm + 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 @@ -105,3 +100,5 @@ swaprasheader.o: ../common/rasterfile.h glareval.o xglaresrc.o: ../common/resolu.h xglaresrc.o: ../common/vfork.h + +rad.o loadvars.o: vars.h