ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
(Generate patch)

Comparing ray/src/common/Rmakefile (file contents):
Revision 2.52 by greg, Fri Nov 5 03:31:36 2004 UTC vs.
Revision 2.74 by greg, Tue Feb 2 18:02:32 2016 UTC

# Line 9 | Line 9 | CFLAGS = $(MACH) $(OPT)
9   CC = cc
10   SPECIAL =
11  
12 < COMPAT = bmalloc.o erf.o strcmp.o
12 > COMPAT = erf.o strcmp.o
13  
14   LIBDIR = /usr/local/lib/ray
15  
# Line 19 | Line 19 | RTOBJ = cone.o face.o free_os.o instance.o readobj.o r
19  
20   PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
21          colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o \
22 <        tmap16bit.o bmpfile.o
22 >        tmap16bit.o bmpfile.o falsecolor.o
23  
24 + UTLOBJ = ezxml.o ccolor.o ccyrgb.o bsdf.o bsdf_m.o bsdf_t.o loadbsdf.o \
25 +        disk2square.o hilbert.o interp2d.o triangulate.o
26 +
27   STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
28          urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o \
29          unix_process.o process.o gethomedir.o getpath.o error.o savestr.o \
30          savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
31 <        clip.o plocate.o eputs.o wputs.o quit.o lookup.o \
32 <        loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o
31 >        clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o \
32 >        loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o \
33 >        cvtcmd.o
34  
35   SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
36  
37 + MGFOBJ = mgf_parser.o mgf_object.o mgf_xf.o mgf_context.o
38 +
39 + REETZOBJ = g3affine.o g3flist.o g3sphere.o g3vector.o gbasic.o maxheap.o
40 +
41   OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
42  
43   LIBFILES = tmesh.cal
44  
45 < all:    librt.a $(SPECIAL)
45 > librtrad.a:     $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
46 >        rm -f librtrad.a
47 >        ar rc librtrad.a $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
48 >        -ranlib librtrad.a
49  
50 < librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
51 <        ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
52 <        -ranlib librt.a
53 <        mv librt.a ../lib/librt.a
50 > libmgf.a:       $(MGFOBJ)
51 >        rm -f libmgf.a
52 >        ar rc libmgf.a $(MGFOBJ)
53 >        -ranlib libmgf.a
54  
55 + libreetz.a:     $(REETZOBJ)
56 +        rm -f libreetz.a
57 +        ar rc libreetz.a $(REETZOBJ)
58 +        -ranlib libreetz.a
59 +
60   install:        all
61 +        mv -f librtrad.a libmgf.a libreetz.a ../lib
62          cd $(LIBDIR) && rm -f $(LIBFILES)
63 <        cp $(LIBFILES) $(LIBDIR)
63 >        cp -f $(LIBFILES) $(LIBDIR)
64  
65 + all:    librtrad.a libmgf.a libreetz.a $(SPECIAL)
66 +
67   clean:
68 <        rm -f *.o librt.a
68 >        rm -f *.o librtrad.a libmgf.a
69  
70   ogl:    $(OGLOBJ)
71 +        rm -f librgl.a
72          ar rc librgl.a $(OGLOBJ)
73          -ranlib librgl.a
74 <        mv librgl.a ../lib/librgl.a
74 >        mv -f librgl.a ../lib
75  
76   x10:
77  
# Line 73 | Line 93 | cone.o:                cone.h
93  
94   face.o:         face.h
95  
96 < fvect.o:        fvect.h
96 > fvect.o:        fvect.h random.h
97  
98   instance.o:     instance.h
99  
# Line 95 | Line 115 | multisamp.o urand.o:   random.h
115   cone.o face.o free_os.o image.o instance.o objset.o \
116   octree.o modobject.o readfargs.o otypes.o mesh.o \
117   readmesh.o readobj.o readoct.o sceneio.o:       standard.h \
118 < rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h tifftypes.h
118 > rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h tiff.h
119  
120   image.o:        view.h
121  
# Line 105 | Line 125 | clip.o plocate.o:      plocate.h
125  
126   font.o: font.h
127  
128 < fropen.o getpath.o image.o:     paths.h
128 > cvtcmd.o fropen.o getpath.o image.o:    paths.h
129  
130   lookup.o:       lookup.h
131  
# Line 114 | Line 134 | loadvars.o:    vars.h
134   mesh.o readmesh.o:      mesh.h lookup.h
135  
136   tonemap.o tmapcolrs.o tmapluv.o tmap16bit.o:    tmprivat.h tonemap.h \
137 < tifftypes.h color.h
137 > tiff.h color.h
138  
139 < tmapluv.o:      uvcode.h tiffio.h tmaptiff.h tiff.h
139 > tmapluv.o:      tiffio.h tmaptiff.h tiff.h
140  
141 + falsecolor.o:   falsecolor.h tmprivat.h tonemap.h color.h tiff.h
142 +
143   tonemap.o:      tmerrmsg.h
144  
145 < tmaptiff.o:     tmprivat.h tmaptiff.h color.h tonemap.h tifftypes.h
145 > tmaptiff.o:     tmprivat.h tmaptiff.h color.h tonemap.h tiff.h
146  
147   rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o:     radogl.h \
148   standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h
# Line 129 | Line 151 | free_os.o:     octree.h object.h otypes.h face.h cone.h in
151  
152   tmesh.o:        tmesh.h fvect.h
153  
154 < fgetword.o fputword.o fgetval.o fgetline.o fdate.o \
155 < expandarg.o badarg.o xf.o:      rtio.h
154 > fgetword.o fputword.o fgetval.o fgetline.o fdate.o unix_process.o \
155 > byteswap.o expandarg.o badarg.o xf.o:   rtio.h
156  
157   expandarg.o:    rtmisc.h
158  
159 < dircode.o xf.o: rtmath.h mat4.h fvect.h tifftypes.h
159 > dircode.o interp2d.o xf.o:      rtmath.h mat4.h fvect.h tiff.h
160  
161   error.o:        rterror.h
162  
163 < bmpfile.o:      bmpfile.h tifftypes.h
163 > bmpfile.o:      bmpfile.h tiff.h
164 >
165 > header.o readmesh.o readoct.o resolu.o rglinst.o tmapcolrs.o:   resolu.h
166 >
167 > ezxml.o bsdf.o bsdf_m.o bsdf_t.o:       ezxml.h
168 >
169 > bsdf_m.o bsdf_t.o:      rtio.h
170 >
171 > bsdf.o: bsdf.h fvect.h bsdf_m.h bsdf_t.h hilbert.h ezxml.h
172 >
173 > bsdf.o bsdf_m.o bsdf_t.o ccolor.o:      ccolor.h
174 >
175 > mgf_parser.o mgf_context.o mgf_xf.o mgf_object.o:       mgf_parser.h ccolor.h
176 >
177 > ccyrgb.o:       ccolor.h color.h
178 >
179 > mgf_parser.o mgf_context.o:     lookup.h
180 >
181 > mgf_parser.o:   mgf_mesg.h
182 >
183 > bsdf_m.o:       bsdf.h bsdf_m.h
184 >
185 > bsdf_t.o:       bsdf.h bsdf_t.h hilbert.h
186 >
187 > hilbert.o:      hilbert.h
188 >
189 > loadbsdf.o:     bsdf.h rtio.h rterror.h paths.h
190 >
191 > interp2d.o:     interp2d.h
192 >
193 > triangulate.o:  triangulate.h
194 >
195 > process.o readobj.o readoct.o rglfile.o \
196 > tmapcolrs.o unix_process.o win_process.o:       rtprocess.h
197 >
198 > gbasic.o:       gbasic.h
199 >
200 > g3flist.o g3affine.o g3sphere.o g3vector.o:     g3vector.h gbasic.h fvect.h
201 >
202 > g3affine.o:     g3affine.h
203 >
204 > g3affine.o g3sphere.o:  g3sphere.h
205 >
206 > g3flist.o:      g3flist.h
207 >
208 > maxheap.o:      maxheap.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines