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.5 by greg, Thu Aug 6 17:16:30 1992 UTC vs.
Revision 2.13 by greg, Fri Nov 4 17:40:46 1994 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
16 > LIBDIR = /usr/local/lib/ray
17  
18 + PROGS = findglare xglaresrc glarendx rpiece rad
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
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
32          cp glare.csh $(INSTDIR)/glare
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 +        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
43 >                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
44 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \
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 46 | Line 66 | xglaresrc:     xglaresrc.o x11findwind.o
66          $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
67   x11findwind.o -lrt -lX11 -lm
68  
69 + rad:    rad.o
70 +        $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
71 +
72   rpiece: rpiece.o Version.o
73          $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
74  
# Line 72 | Line 95 | glaresrc.o:    ../common/linregr.h
95  
96   rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
97  
98 < rpiece.o xglaresrc.o:   ../common/standard.h ../common/mat4.h \
99 < ../common/fvect.h
98 > rad.o rpiece.o xglaresrc.o:     ../common/standard.h \
99 > ../common/mat4.h ../common/fvect.h
100  
101   xglaresrc.o:    ../common/view.h
102  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines