ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/Rmakefile
(Generate patch)

Comparing ray/src/util/Rmakefile (file contents):
Revision 2.11 by greg, Sat Jan 1 15:10:17 1994 UTC vs.
Revision 2.14 by greg, Mon Nov 21 16:50:03 1994 UTC

# Line 13 | Line 13 | CC = cc
13  
14   INSTDIR = /usr/local/bin
15  
16 < PROGS = findglare xglaresrc glarendx rpiece rad
16 > LIBDIR = /usr/local/lib/ray
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 +
25   all:    $(PROGS)
26  
27   install:        all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \
28 < raddepend.csh ivprep.csh ivpict.csh
28 > raddepend.csh ivprep.csh ivpict.csh trad.wsh
29          cp $(PROGS) $(INSTDIR)
30          cp objview.csh $(INSTDIR)/objview
31          cp objpict.csh $(INSTDIR)/objpict
# Line 29 | Line 36 | raddepend.csh ivprep.csh ivpict.csh
36          cp raddepend.csh $(INSTDIR)/raddepend
37          cp ivprep.csh $(INSTDIR)/ivprep
38          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
42          chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
43                  $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
44                  $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \
45 <                $(INSTDIR)/ivpict
45 >                $(INSTDIR)/ivpict $(INSTDIR)/trad
46 >        cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES)
47 >        cp $(TLIBFILES) $(LIBDIR)/tcl
48  
49   clean:
50          set nonomatch; rm -f *.o $(PROGS) core
# Line 59 | Line 71 | rad:   rad.o
71  
72   rpiece: rpiece.o Version.o
73          $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
74 +
75 + vwright:        vwright.o
76 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
77  
78   contour:        contour.o
79          $(CC) $(CFLAGS) -o contour contour.o -lm

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines