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.34 by greg, Fri Jun 6 18:38:19 2003 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2   #
2 # SCCSid "$SunId$ LBL"
3   # Radiance makefile for utility programs
4   #
5  
# Line 7 | Line 7 | MACH = -DBSD
7  
8   OPT = -O
9  
10 < CFLAGS = $(MACH) $(OPT) -I../common -L../lib
10 > CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH)
11  
12   CC = cc
13  
14 + SPECIAL =
15 +
16   INSTDIR = /usr/local/bin
17  
18 < PROGS = findglare xglaresrc glarendx rpiece rad
18 > LIBDIR = /usr/local/lib/ray
19  
20 + PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \
21 +                vwrays xglaresrc
22 +
23   all:    $(PROGS)
24  
25 < install:        all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \
26 < raddepend.csh ivprep.csh ivpict.csh
25 > install:        all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \
26 > rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh
27          cp $(PROGS) $(INSTDIR)
28          cp objview.csh $(INSTDIR)/objview
29 +        cp objline.csh $(INSTDIR)/objline
30          cp objpict.csh $(INSTDIR)/objpict
31          cp glare.csh $(INSTDIR)/glare
32          cp dayfact.csh $(INSTDIR)/dayfact
33          cp debugcal.csh $(INSTDIR)/debugcal
34          cp rlux.csh $(INSTDIR)/rlux
35          cp raddepend.csh $(INSTDIR)/raddepend
36 <        cp ivprep.csh $(INSTDIR)/ivprep
37 <        cp ivpict.csh $(INSTDIR)/ivpict
36 >        cp compamb.csh $(INSTDIR)/compamb
37 >        cp vinfo.csh $(INSTDIR)/vinfo
38          chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
39                  $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
40 <                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \
41 <                $(INSTDIR)/ivpict
40 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
41 >                $(INSTDIR)/compamb $(INSTDIR)/vinfo
42 >        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
43  
44   clean:
45 <        set nonomatch; rm -f *.o $(PROGS) core
45 >        set nonomatch; rm -f *.o $(PROGS) glrad core
46  
47 + ogl:    glrad
48 +        cp glrad $(INSTDIR)
49 +
50 + x10:
51 +
52 + aed:
53 +
54 + sgi:
55 +
56 + sun:
57 +
58   scanner:        scanner.o
59          $(CC) $(CFLAGS) -o scanner scanner.o -lm
60  
# Line 57 | Line 75 | x11findwind.o -lrt -lX11 -lm
75   rad:    rad.o
76          $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
77  
78 + ranimate:       ranimate.o netproc.o
79 +        $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
80 +
81 + ranimove:       ranimove.o ranimove1.o ranimove2.o
82 +        $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
83 + -lraycalls -lradiance -lrt -lm
84 +
85   rpiece: rpiece.o Version.o
86          $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
87  
88 + vwright:        vwright.o
89 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
90 +
91 + vwrays:         vwrays.o
92 +        $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm
93 +
94 + getinfo:        getinfo.o
95 +        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
96 +
97 + glrad:  glrad.o
98 +        $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
99 + -lX11 -lXext -lm
100 +
101   contour:        contour.o
102          $(CC) $(CFLAGS) -o contour contour.o -lm
103  
# Line 83 | Line 121 | glaresrc.o:    ../common/linregr.h
121  
122   rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
123  
124 < rad.o rpiece.o xglaresrc.o:     ../common/standard.h \
124 > rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \
125   ../common/mat4.h ../common/fvect.h
126  
127   xglaresrc.o:    ../common/view.h
# Line 93 | Line 131 | swaprasheader.o:       ../common/rasterfile.h
131   glareval.o xglaresrc.o: ../common/resolu.h
132  
133   xglaresrc.o:    ../common/vfork.h
134 +
135 + rad.o ranimate.o:       ../common/vars.h
136 +
137 + ranimove1.o ranimove2.o:        ../common/random.h
138 +
139 + rad.o:  ../common/paths.h
140 +
141 + ranimate.o netproc.o:   netproc.h
142 +
143 + ranimove1.o:    ../common/otypes.h
144 +
145 + netproc.o:      ../common/paths.h
146 +
147 + rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h
148 +
149 + glrad.o:        ../common/radogl.h \
150 + ../common/standard.h ../common/mat4.h ../common/fvect.h \
151 + ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
152 +
153 + glrad.o:        glradicon.h ../common/view.h ../common/paths.h
154 +
155 + ranimove.o ranimove1.o ranimove2.o:     ranimove.h \
156 + ../common/vars.h ../common/view.h \
157 + ../rt/ray.h ../common/standard.h ../common/octree.h \
158 + ../common/mat4.h ../common/fvect.h ../common/object.h ../common/color.h
159 +
160 + Version.c:      ../rt/Version.c
161 +        cp ../rt/Version.c .
162 +
163 + x11findwind.c:  ../common/x11findwind.c
164 +        cp ../common/x11findwind.c .

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines