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.7 by greg, Wed Apr 21 09:09:20 1993 UTC vs.
Revision 2.15 by greg, Tue Jun 27 12:29:39 1995 UTC

# Line 1 | Line 1
1   #
2   # SCCSid "$SunId$ LBL"
3 + # Radiance makefile for utility programs
4   #
5  
6   MACH = -DBSD
# Line 12 | 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 proj.csh glare.csh dayfact.csh \
28 < rlux.csh
27 > install:        all objview.csh objpict.csh glare.csh dayfact.csh rlux.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 25 | Line 33 | rlux.csh
33          cp dayfact.csh $(INSTDIR)/dayfact
34          cp debugcal.csh $(INSTDIR)/debugcal
35          cp rlux.csh $(INSTDIR)/rlux
36 +        cp raddepend.csh $(INSTDIR)/raddepend
37 +        cp ivprep.csh $(INSTDIR)/ivprep
38 +        cp ivpict.csh $(INSTDIR)/ivpict
39          chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
40                  $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
41 <                $(INSTDIR)/rlux
41 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \
42 >                $(INSTDIR)/ivpict
43 >        sed -e "1s|/usr/local/bin/wish|`which wish`|" \
44 >                -e "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" \
45 >                trad.wsh > $(INSTDIR)/trad
46 >        chmod 755 $(INSTDIR)/trad
47 >        cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES)
48 >        cp $(TLIBFILES) $(LIBDIR)/tcl
49  
50   clean:
51          set nonomatch; rm -f *.o $(PROGS) core
# Line 54 | Line 72 | rad:   rad.o
72  
73   rpiece: rpiece.o Version.o
74          $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
75 +
76 + vwright:        vwright.o
77 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
78  
79   contour:        contour.o
80          $(CC) $(CFLAGS) -o contour contour.o -lm

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines