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.9 by greg, Wed Apr 24 13:18:31 1991 UTC vs.
Revision 2.63 by greg, Wed Dec 4 20:07:07 2013 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 +
25   all:    $(PROGS)
26  
27 < install:        all objview.csh objpict.csh proj.csh glare.csh
27 > install:        all $(SPECIAL) objview.pl objpict.pl glare.csh dayfact.csh \
28 > rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh vinfo.csh \
29 > genambpos.csh fieldcomb.csh genklemsamp.pl genskyvec.pl genBSDF.pl tregsamp.dat
30          cp $(PROGS) $(INSTDIR)
31 <        cp objview.csh $(INSTDIR)/objview
32 <        cp objpict.csh $(INSTDIR)/objpict
31 >        cp objview.pl $(INSTDIR)/objview
32 >        cp objline.csh $(INSTDIR)/objline
33 >        cp objpict.pl $(INSTDIR)/objpict
34          cp glare.csh $(INSTDIR)/glare
35 <        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict $(INSTDIR)/glare
35 >        cp dayfact.csh $(INSTDIR)/dayfact
36 >        cp debugcal.csh $(INSTDIR)/debugcal
37 >        cp rlux.csh $(INSTDIR)/rlux
38 >        cp raddepend.csh $(INSTDIR)/raddepend
39 >        cp compamb.csh $(INSTDIR)/compamb
40 >        cp vinfo.csh $(INSTDIR)/vinfo
41 >        cp genambpos.csh $(INSTDIR)/genambpos
42 >        cp fieldcomb.csh $(INSTDIR)/fieldcomb
43 >        cp genklemsamp.pl $(INSTDIR)/genklemsamp
44 >        cp genskyvec.pl $(INSTDIR)/genskyvec
45 >        cp genBSDF.pl $(INSTDIR)/genBSDF
46 >        cd $(INSTDIR) ; chmod 755 objview objpict \
47 >                glare dayfact debugcal rlux raddepend objline \
48 >                compamb vinfo genambpos fieldcomb genklemsamp \
49 >                genskyvec genBSDF
50 >        cp tregsamp.dat $(LIBDIR)
51 >        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
52  
53   clean:
54 <        set nonomatch; rm -f *.o $(PROGS) core
54 >        set nonomatch; rm -f *.o $(PROGS) glrad core Version.c x11findwind.c
55  
56 < scanner:        scanner.o
57 <        cc $(CFLAGS) -o scanner scanner.o -lm
56 > ogl:    glrad
57 >        cp glrad $(INSTDIR)
58  
59 < makedist:       makedist.o fvect.o setscan.o
31 <        cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm
59 > sgi:
60  
61 < findglare:      findglare.o glareval.o glaresrc.o color.o fvect.o image.o \
34 < header.o resolu.o setscan.o
35 <        cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
36 < color.o fvect.o image.o header.o resolu.o setscan.o -lm
61 > sun:
62  
63 < glarendx:       glarendx.o image.o header.o erf.o fvect.o resolu.o
64 <        cc $(CFLAGS) -o glarendx glarendx.o image.o header.o fvect.o \
65 < erf.o resolu.o -lm
63 > findglare:      findglare.o glareval.o glaresrc.o setscan.o
64 >        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
65 > setscan.o -lrtrad $(MLIB)
66  
67 < xglaresrc:      xglaresrc.o fvect.o image.o resolu.o header.o x11findwind.o
68 <        cc $(CFLAGS) -o xglaresrc xglaresrc.o fvect.o image.o \
44 < header.o resolu.o x11findwind.o -lm -lX11
67 > glarendx:       glarendx.o
68 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrtrad $(MLIB)
69  
70 < contour:        contour.o
71 <        cc $(CFLAGS) -o contour contour.o -lm
70 > xglaresrc:      xglaresrc.o x11findwind.o
71 >        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
72 > x11findwind.o -lrtrad -lX11 $(MLIB)
73  
74 < pranim: pranim.o client/libclient.a
75 <        cc $(CFLAGS) -o pranim pranim.o \
51 < client/libclient.a -lrpcsvc
74 > rad:    rad.o
75 >        $(CC) $(CFLAGS) -o rad rad.o -lrtrad $(MLIB)
76  
77 < t16anim:        t16anim.o client/libclient.a
78 <        cc $(CFLAGS) -o t16anim t16anim.o \
55 < client/libclient.a -lrpcsvc
77 > ranimate:       ranimate.o netproc.o
78 >        $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrtrad $(MLIB)
79  
80 < t16anim.o pranim.o:     client/clnt.h
80 > ranimove:       ranimove.o ranimove1.o ranimove2.o
81 >        $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
82 > -lraycalls -lradiance -lrtrad $(MLIB)
83  
84 < setscan.o makedist.o:   setscan.h
84 > rsensor:        rsensor.o
85 >        $(CC) $(CFLAGS) -o rsensor rsensor.o \
86 > -lraycalls -lradiance -lrtrad $(MLIB)
87  
88 + rpiece: rpiece.o Version.o
89 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrtrad $(MLIB)
90 +
91 + rtcontrib:      rtcontrib.o Version.o
92 +        $(CC) $(CFLAGS) -o rtcontrib rtcontrib.o Version.o -lrtrad $(MLIB)
93 +
94 + vwright:        vwright.o
95 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrtrad $(MLIB)
96 +
97 + vwrays:         vwrays.o
98 +        $(CC) $(CFLAGS) -o vwrays vwrays.o -lrtrad $(MLIB)
99 +
100 + getinfo:        getinfo.o
101 +        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrtrad
102 +
103 + glrad:  glrad.o
104 +        $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrtrad -lGLU -lGL \
105 + -lX11 -lXext $(MLIB)
106 +
107 + dctimestep:     dctimestep.o
108 +        $(CC) $(CFLAGS) -o dctimestep dctimestep.o -lrtrad $(MLIB)
109 +
110 + rttree_reduce:  rttree_reduce.o
111 +        $(CC) $(CFLAGS) -o rttree_reduce rttree_reduce.o -lrtrad $(MLIB)
112 +
113 + rcollate:       rcollate.o
114 +        $(CC) $(CFLAGS) -o rcollate rcollate.o -lrtrad
115 +
116 + setscan.o:      setscan.h
117 +
118   findglare.o glareval.o \
119 < glaresrc.o:     glare.h standard.h mat4.h fvect.h view.h color.h setscan.h
119 > glaresrc.o:     glare.h ../common/standard.h \
120 > ../common/rtmisc.h ../common/rtio.h \
121 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
122 > ../common/rterror.h ../common/view.h ../common/color.h setscan.h
123  
124 < image.o xglaresrc.o:    standard.h mat4.h fvect.h view.h
124 > glaresrc.o:     ../common/linregr.h
125  
126 < fvect.o:        fvect.h
126 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
127  
128 < resolu.o:       color.h
128 > dctimestep.o:   ../common/standard.h \
129 > ../common/rtmisc.h ../common/rtio.h \
130 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
131 > ../common/rterror.h ../common/platform.h ../common/paths.h \
132 > ../common/color.h ../common/bsdf.h ../common/bsdf_m.h ../common/resolu.h
133  
134 < swaprasheader.o:        rasterfile.h
134 > rtcontrib.o:    ../common/platform.h ../common/rtprocess.h \
135 > ../common/color.h ../common/resolu.h ../common/lookup.h \
136 > ../common/calcomp.h ../common/selcall.h
137 >
138 > rad.o ranimate.o rpiece.o rtcontrib.o xglaresrc.o:      ../common/standard.h \
139 > ../common/rtmisc.h ../common/rtio.h \
140 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
141 > ../common/rterror.h
142 >
143 > xglaresrc.o:    ../common/view.h
144 >
145 > glareval.o xglaresrc.o: ../common/resolu.h
146 >
147 > glareval.o:     ../common/platform.h ../common/rtprocess.h
148 >
149 > rad.o ranimate.o:       ../common/vars.h
150 >
151 > ranimove1.o ranimove2.o vwrays.o:       ../common/random.h
152 >
153 > rad.o:  ../common/paths.h
154 >
155 > ranimate.o netproc.o:   netproc.h
156 >
157 > ranimove1.o:    ../common/otypes.h
158 >
159 > netproc.o:      ../common/paths.h
160 >
161 > rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h
162 >
163 > glrad.o:        ../common/radogl.h \
164 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
165 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h ../common/rterror.h \
166 > ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
167 >
168 > glrad.o:        glradicon.h ../common/view.h ../common/paths.h
169 >
170 > ranimove.o ranimove1.o ranimove2.o:     ranimove.h \
171 > ../common/vars.h ../common/view.h \
172 > ../rt/ray.h ../common/octree.h \
173 > ../common/object.h ../common/color.h \
174 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
175 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
176 > ../common/rterror.h
177 >
178 > rsensor.o:      ../rt/ray.h ../common/octree.h \
179 > ../common/object.h ../common/color.h \
180 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
181 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
182 > ../common/rterror.h
183 >
184 > rsensor.o:      ../common/view.h ../common/resolu.h ../rt/source.h
185 >
186 > rcollate.o:     ../common/platform.h ../common/rtio.h ../common/resolu.h
187 >
188 > Version.c:      ../rt/Version.c
189 >        cp ../rt/Version.c .
190 >
191 > x11findwind.c:  ../common/x11findwind.c
192 >        cp ../common/x11findwind.c .
193 >
194 > rttree_reduce.o:        ../common/rtio.h ../common/rterror.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines