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 1.11 by greg, Wed Jun 5 10:04:13 1991 UTC vs.
Revision 2.79 by greg, Wed Feb 11 18:08:10 2015 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2   #
3 < # SCCSid "$SunId$ LBL"
3 > # Radiance makefile for utility programs
4   #
5  
6 < MACH = -f68881 /usr/lib/libm.il -DIEEE -DBSD -DSTRUCTASSIGN
6 > MACH = -DBSD
7  
8   OPT = -O
9  
10 < CFLAGS = $(MACH) $(OPT)
10 > CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH)
11  
12 < INSTDIR = /lumen/lumen/ray/bin.sun3
12 > MLIB = -lm
13  
14 < PROGS = makedist swaprasheader findglare xglaresrc glarendx
14 > CC = cc
15  
16 + SPECIAL =
17 +
18 + INSTDIR = /usr/local/bin
19 +
20 + LIBDIR = /usr/local/lib/ray
21 +
22 + PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \
23 +                vwrays xglaresrc rsensor dctimestep rttree_reduce rcollate \
24 +                eplus_adduvf rfluxmtx rmtxop wrapBSDF
25 +
26 + LIBFILES = rambpos.cal ambpos.cal tregsamp.dat reinhartb.cal \
27 + klems_full.cal klems_half.cal klems_quarter.cal disk2square.cal
28 +
29   all:    $(PROGS)
30  
31 < install:        all objview.csh objpict.csh proj.csh glare.csh dayfact.csh
31 > install:        all $(SPECIAL) objview.pl objpict.pl glare.csh dayfact.csh \
32 > rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \
33 > ltview.pl ltpict.pl genambpos.pl fieldcomb.csh genklemsamp.pl \
34 > genskyvec.pl genBSDF.pl $(LIBFILES)
35          cp $(PROGS) $(INSTDIR)
36 <        cp objview.csh $(INSTDIR)/objview
37 <        cp objpict.csh $(INSTDIR)/objpict
36 >        cp objview.pl $(INSTDIR)/objview
37 >        cp objline.csh $(INSTDIR)/objline
38 >        cp objpict.pl $(INSTDIR)/objpict
39          cp glare.csh $(INSTDIR)/glare
40          cp dayfact.csh $(INSTDIR)/dayfact
41 <        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
42 <                $(INSTDIR)/glare $(INSTDIR)/dayfact
41 >        cp debugcal.csh $(INSTDIR)/debugcal
42 >        cp rlux.csh $(INSTDIR)/rlux
43 >        cp raddepend.csh $(INSTDIR)/raddepend
44 >        cp compamb.csh $(INSTDIR)/compamb
45 >        cp vinfo.csh $(INSTDIR)/vinfo
46 >        cp genambpos.pl $(INSTDIR)/genambpos
47 >        cp fieldcomb.csh $(INSTDIR)/fieldcomb
48 >        cp genklemsamp.pl $(INSTDIR)/genklemsamp
49 >        cp genskyvec.pl $(INSTDIR)/genskyvec
50 >        cp genBSDF.pl $(INSTDIR)/genBSDF
51 >        cp ltview.pl $(INSTDIR)/ltview
52 >        cp ltpict.pl $(INSTDIR)/ltpict
53 >        cd $(INSTDIR) ; chmod 755 objview objpict \
54 >                glare dayfact debugcal rlux raddepend objline \
55 >                compamb vinfo genambpos fieldcomb genklemsamp \
56 >                genskyvec genBSDF
57 >        cd $(LIBDIR) && rm -f $(LIBFILES)
58 >        cp $(LIBFILES) $(LIBDIR)
59 >        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
60  
61   clean:
62 <        set nonomatch; rm -f *.o $(PROGS) core
62 >        set nonomatch; rm -f *.o $(PROGS) glrad Version.c x11findwind.c
63  
64 < scanner:        scanner.o
65 <        cc $(CFLAGS) -o scanner scanner.o -lm
64 > ogl:    glrad
65 >        cp glrad $(INSTDIR)
66  
67 < makedist:       makedist.o fvect.o setscan.o
33 <        cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm
67 > sgi:
68  
69 < findglare:      findglare.o glareval.o glaresrc.o color.o fvect.o image.o \
36 < header.o resolu.o setscan.o linregr.o
37 <        cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
38 < color.o fvect.o image.o header.o resolu.o setscan.o linregr.o -lm
69 > sun:
70  
71 < glarendx:       glarendx.o image.o header.o erf.o fvect.o resolu.o
72 <        cc $(CFLAGS) -o glarendx glarendx.o image.o header.o fvect.o \
73 < erf.o resolu.o -lm
71 > findglare:      findglare.o glareval.o glaresrc.o setscan.o
72 >        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
73 > setscan.o -lrtrad $(MLIB)
74  
75 < xglaresrc:      xglaresrc.o fvect.o image.o resolu.o header.o x11findwind.o
76 <        cc $(CFLAGS) -o xglaresrc xglaresrc.o fvect.o image.o \
46 < header.o resolu.o x11findwind.o -lm -lX11
75 > glarendx:       glarendx.o
76 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrtrad $(MLIB)
77  
78 < contour:        contour.o
79 <        cc $(CFLAGS) -o contour contour.o -lm
78 > xglaresrc:      xglaresrc.o x11findwind.o
79 >        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
80 > x11findwind.o -lrtrad -lX11 $(MLIB)
81  
82 < pranim: pranim.o client/libclient.a
83 <        cc $(CFLAGS) -o pranim pranim.o \
53 < client/libclient.a -lrpcsvc
82 > rad:    rad.o
83 >        $(CC) $(CFLAGS) -o rad rad.o -lrtrad $(MLIB)
84  
85 < t16anim:        t16anim.o client/libclient.a
86 <        cc $(CFLAGS) -o t16anim t16anim.o \
57 < client/libclient.a -lrpcsvc
85 > ranimate:       ranimate.o netproc.o
86 >        $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrtrad $(MLIB)
87  
88 < t16anim.o pranim.o:     client/clnt.h
88 > ranimove:       ranimove.o ranimove1.o ranimove2.o
89 >        $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
90 > -lraycalls -lradiance -lrtrad $(MLIB)
91  
92 < setscan.o makedist.o:   setscan.h
92 > rsensor:        rsensor.o
93 >        $(CC) $(CFLAGS) -o rsensor rsensor.o \
94 > -lraycalls -lradiance -lrtrad $(MLIB)
95  
96 + rpiece: rpiece.o Version.o
97 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrtrad $(MLIB)
98 +
99 + vwright:        vwright.o
100 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrtrad $(MLIB)
101 +
102 + vwrays:         vwrays.o
103 +        $(CC) $(CFLAGS) -o vwrays vwrays.o -lrtrad $(MLIB)
104 +
105 + getinfo:        getinfo.o
106 +        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrtrad
107 +
108 + glrad:  glrad.o
109 +        $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrtrad -lGLU -lGL \
110 + -lX11 -lXext $(MLIB)
111 +
112 + dctimestep:     dctimestep.o cmbsdf.o cmatrix.o
113 +        $(CC) $(CFLAGS) -o dctimestep dctimestep.o cmbsdf.o cmatrix.o \
114 + -lrtrad $(MLIB)
115 +
116 + rttree_reduce:  rttree_reduce.o
117 +        $(CC) $(CFLAGS) -o rttree_reduce rttree_reduce.o -lrtrad $(MLIB)
118 +
119 + rcollate:       rcollate.o
120 +        $(CC) $(CFLAGS) -o rcollate rcollate.o -lrtrad
121 +
122 + eplus_adduvf:   eplus_adduvf.o eplus_idf.o
123 +        $(CC) $(CFLAGS) -o eplus_adduvf eplus_adduvf.o eplus_idf.o \
124 + -lrtrad $(MLIB)
125 +
126 + rfluxmtx:       rfluxmtx.o
127 +        $(CC) $(CFLAGS) -o rfluxmtx rfluxmtx.o -lrtrad $(MLIB)
128 +
129 + rmtxop: rmtxop.o rmatrix.o cmatrix.o cmbsdf.o
130 +        $(CC) $(CFLAGS) -o rmtxop rmtxop.o rmatrix.o cmatrix.o cmbsdf.o \
131 + -lrtrad $(MLIB)
132 +
133 + wrapBSDF:       wrapBSDF.o
134 +        $(CC) $(CFLAGS) -o wrapBSDF wrapBSDF.o -lrtrad $(MLIB)
135 +
136 + setscan.o:      setscan.h
137 +
138 + eplus_adduvf.o: ../common/triangulate.h ../common/rtprocess.h \
139 + ../common/paths.h ../common/rtio.h ../common/random.h \
140 + ../common/rtmath.h ../common/mat4.h ../common/fvect.h
141 +
142 + eplus_adduvf.o eplus_idf.o:     eplus_idf.h \
143 + ../common/lookup.h
144 +
145   findglare.o glareval.o \
146 < glaresrc.o:     glare.h standard.h mat4.h fvect.h view.h color.h setscan.h
146 > glaresrc.o:     glare.h ../common/standard.h \
147 > ../common/rtmisc.h ../common/rtio.h \
148 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
149 > ../common/rterror.h ../common/view.h ../common/color.h setscan.h
150  
151 < glaresrc.o linregr.o:   linregr.h
151 > glaresrc.o:     ../common/linregr.h
152  
153 < image.o xglaresrc.o:    standard.h mat4.h fvect.h view.h
153 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
154  
155 < fvect.o:        fvect.h
155 > dctimestep.o:   ../common/standard.h \
156 > ../common/rtmisc.h ../common/rtio.h \
157 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
158 > ../common/rterror.h ../common/resolu.h
159  
160 < resolu.o:       color.h
160 > dctimestep.o cmatrix.o cmbsdf.o:        cmatrix.h ../common/color.h
161  
162 < swaprasheader.o:        rasterfile.h
162 > cmatrix.o cmbsdf.o:     ../common/standard.h \
163 > ../common/rtmisc.h ../common/rtio.h \
164 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
165 > ../common/rterror.h
166 >
167 > cmbsdf.o:       ../common/paths.h ../common/bsdf.h ../common/bsdf_m.h
168 >
169 > rfluxmtx.o:     ../common/rtio.h ../common/random.h ../common/triangulate.h \
170 > ../common/rtmath.h ../common/fvect.h ../common/mat4.h ../common/tiff.h \
171 > ../common/platform.h ../common/bsdf.h ../common/bsdf_m.h ../common/rtprocess.h
172 >
173 > dctimestep.o cmatrix.o: ../common/platform.h
174 >
175 > rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \
176 > ../common/rtmisc.h ../common/rtio.h \
177 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
178 > ../common/rterror.h
179 >
180 > xglaresrc.o:    ../common/view.h
181 >
182 > glareval.o xglaresrc.o: ../common/resolu.h
183 >
184 > glareval.o:     ../common/platform.h ../common/rtprocess.h
185 >
186 > rad.o ranimate.o:       ../common/vars.h
187 >
188 > ranimove1.o ranimove2.o vwrays.o:       ../common/random.h
189 >
190 > rad.o:  ../common/paths.h
191 >
192 > ranimate.o netproc.o:   netproc.h
193 >
194 > ranimove1.o:    ../common/otypes.h
195 >
196 > netproc.o:      ../common/paths.h
197 >
198 > rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h
199 >
200 > glrad.o:        ../common/radogl.h \
201 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
202 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h ../common/rterror.h \
203 > ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
204 >
205 > glrad.o:        glradicon.h ../common/view.h ../common/paths.h
206 >
207 > ranimove.o ranimove1.o ranimove2.o:     ranimove.h \
208 > ../common/vars.h ../common/view.h \
209 > ../rt/ray.h ../common/octree.h \
210 > ../common/object.h ../common/color.h \
211 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
212 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
213 > ../common/rterror.h
214 >
215 > rsensor.o:      ../rt/ray.h ../common/octree.h \
216 > ../common/object.h ../common/color.h \
217 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
218 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
219 > ../common/rterror.h
220 >
221 > rsensor.o:      ../common/view.h ../common/resolu.h ../rt/source.h
222 >
223 > rcollate.o:     ../common/platform.h ../common/rtio.h ../common/resolu.h
224 >
225 > Version.c:      ../rt/Version.c
226 >        cp ../rt/Version.c .
227 >
228 > x11findwind.c:  ../common/x11findwind.c
229 >        cp ../common/x11findwind.c .
230 >
231 > rttree_reduce.o:        ../common/rtio.h ../common/rterror.h
232 >
233 > rmatrix.o:      rmatrix.h cmatrix.h ../common/resolu.h
234 >
235 > rmtxop.o:       rmatrix.h cmatrix.h ../common/rtio.h ../common/resolu.h
236 >
237 > wrapBSDF.o:     ../common/rtio.h ../common/rtprocess.h ../common/ezxml.h \
238 > ../common/bsdf.h ../common/bsdf_m.h ../common/fvect.h ../common/ccolor.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines