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.22 by greg, Fri Mar 7 15:45:32 1997 UTC vs.
Revision 2.83 by greg, Mon Mar 30 18:28:35 2020 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2   #
2 # SCCSid "$SunId$ LBL"
3   # Makefile for ray tracing library routines
4   #
5  
# Line 7 | Line 7 | OPT = -O
7   MACH = -DBSD
8   CFLAGS = $(MACH) $(OPT)
9   CC = cc
10 + AR = ar
11 + SPECIAL =
12  
13 < COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o
13 > COMPAT = erf.o strcmp.o strlcpy.o
14  
15   LIBDIR = /usr/local/lib/ray
16  
17 < RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \
18 <        octree.o readfargs.o modobject.o getlibpath.o
17 > RTOBJ = cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o \
18 >        objset.o octree.o readfargs.o modobject.o getlibpath.o \
19 >        addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o
20  
21   PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
22 <        colrops.o font.o
22 >        colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o \
23 >        tmap16bit.o bmpfile.o falsecolor.o depthcodec.o normcodec.o \
24 >        idmap.o fltdepth.o
25  
26 + UTLOBJ = ezxml.o ccolor.o ccyrgb.o bsdf.o bsdf_m.o bsdf_t.o loadbsdf.o \
27 +        disk2square.o hilbert.o interp2d.o triangulate.o
28 +
29   STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
30 <        urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \
31 <        multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
32 <        badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
33 <        clip.o plocate.o cputs.o wputs.o eputs.o quit.o lookup.o
30 >        urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o \
31 >        unix_process.o process.o gethomedir.o getpath.o error.o savestr.o \
32 >        savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
33 >        clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o \
34 >        loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o \
35 >        cvtcmd.o
36  
37   SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
38  
39 < librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
30 <        ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
31 <        -ranlib librt.a
39 > MGFOBJ = mgf_parser.o mgf_object.o mgf_xf.o mgf_context.o
40  
41 < install:        librt.a
34 <        mv librt.a ../lib/librt.a
41 > WFOBJ = objutil.o readwfobj.o convertobj.o writewfobj.o
42  
43 + REETZOBJ = g3affine.o g3flist.o g3sphere.o g3vector.o gbasic.o muc_randvar.o
44 +
45 + OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
46 +
47 + LIBFILES = tmesh.cal
48 +
49 + librtrad.a:     $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
50 +        rm -f librtrad.a
51 +        $(AR) rc librtrad.a $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
52 +        -ranlib librtrad.a
53 +
54 + libmgf.a:       $(MGFOBJ)
55 +        rm -f libmgf.a
56 +        $(AR) rc libmgf.a $(MGFOBJ)
57 +        -ranlib libmgf.a
58 +
59 + libwfobj.a:     $(WFOBJ)
60 +        rm -f libwfobj.a
61 +        $(AR) rc libwfobj.a $(WFOBJ)
62 +        -ranlib libwfobj.a
63 +
64 + libreetz.a:     $(REETZOBJ)
65 +        rm -f libreetz.a
66 +        $(AR) rc libreetz.a $(REETZOBJ)
67 +        -ranlib libreetz.a
68 +
69 + install:        all
70 +        mv -f librtrad.a libmgf.a libwfobj.a libreetz.a ../lib
71 +        cd $(LIBDIR) && rm -f $(LIBFILES)
72 +        cp -f $(LIBFILES) $(LIBDIR)
73 +
74 + all:    librtrad.a libmgf.a libreetz.a $(SPECIAL)
75 +
76   clean:
77 <        rm -f *.o librt.a
77 >        rm -f *.o librtrad.a libmgf.a
78  
79 < calexpr.o:      calexpr.c calcomp.h
80 <        $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
79 > ogl:    $(OGLOBJ)
80 >        rm -f librgl.a
81 >        $(AR) rc librgl.a $(OGLOBJ)
82 >        -ranlib librgl.a
83 >        mv -f librgl.a ../lib
84  
85 < caldefn.o:      caldefn.c calcomp.h
43 <        $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
85 > x10:
86  
87 < calfunc.o:      calfunc.c calcomp.h
46 <        $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
87 > aed:
88  
89 + sgi:
90 +
91 + sun:
92 +
93   getlibpath.o:   getlibpath.c
94          $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
95  
96 + tmapcolrs.o:    tmapcolrs.c
97 +        $(CC) $(CFLAGS) -DPCOND=\"pcond\" -c tmapcolrs.c
98 +
99 + testBSDF:       testBSDF.c bsdf.h rtio.h
100 +        $(CC) -L../lib $(CFLAGS) -o testBSDF testBSDF.c -lrtrad -lm
101 +
102   color.o colrops.o lamps.o spec_rgb.o:   color.h
103  
104   cone.o:         cone.h
105  
106   face.o:         face.h
107  
108 < fvect.o:        fvect.h
108 > fvect.o:        fvect.h random.h
109  
110   instance.o:     instance.h
111  
# Line 63 | Line 114 | linregr.o:     linregr.h
114   mat4.o invmat4.o:               mat4.h fvect.h
115  
116   cone.o face.o instance.o objset.o otypes.o \
117 < modobject.o readfargs.o readobj.o readoct.o:    object.h
117 > mesh.o modobject.o readfargs.o readmesh.o \
118 > readobj.o readoct.o sceneio.o:  object.h
119  
120 < objset.o octree.o readoct.o:    octree.h
120 > mesh.o objset.o octree.o readmesh.o readoct.o sceneio.o:        octree.h
121  
122 < cone.o modobject.o otypes.o readobj.o readoct.o:        otypes.h
122 > cone.o mesh.o modobject.o otypes.o \
123 > readobj.o readoct.o sceneio.o:  otypes.h
124  
125 < urand.o:        random.h
125 > multisamp.o urand.o:    random.h
126  
127 < cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
128 < otypes.o readobj.o readoct.o xf.o:      standard.h mat4.h fvect.h
127 > cone.o face.o free_os.o image.o instance.o objset.o \
128 > octree.o modobject.o readfargs.o otypes.o mesh.o \
129 > readmesh.o readobj.o readoct.o sceneio.o:       standard.h \
130 > rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h tiff.h
131  
77 readfargs.o:    fvect.h
78
132   image.o:        view.h
133  
134 < calprnt.o:      calcomp.h
134 > caldefn.o calexpr.o calfunc.o calprnt.o:        calcomp.h
135  
83 process.o:      vfork.h
84
136   clip.o plocate.o:       plocate.h
137  
138   font.o: font.h
139  
140 < fropen.o getpath.o image.o:     paths.h
140 > cvtcmd.o fropen.o getpath.o image.o:    paths.h
141  
142   lookup.o:       lookup.h
143 +
144 + loadvars.o:     vars.h
145 +
146 + mesh.o readmesh.o:      mesh.h lookup.h
147 +
148 + tonemap.o tmapcolrs.o tmapluv.o tmap16bit.o:    tmprivat.h tonemap.h \
149 + tiff.h color.h
150 +
151 + tmapluv.o:      tiffio.h tmaptiff.h tiff.h
152 +
153 + falsecolor.o:   falsecolor.h tmprivat.h tonemap.h color.h tiff.h
154 +
155 + tonemap.o:      tmerrmsg.h
156 +
157 + tmaptiff.o:     tmprivat.h tmaptiff.h color.h tonemap.h tiff.h
158 +
159 + rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o:     radogl.h \
160 + standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h
161 +
162 + free_os.o:      octree.h object.h otypes.h face.h cone.h instance.h
163 +
164 + tmesh.o:        tmesh.h fvect.h
165 +
166 + fgetword.o fputword.o fgetval.o fgetline.o fdate.o unix_process.o \
167 + byteswap.o expandarg.o badarg.o xf.o:   rtio.h
168 +
169 + expandarg.o:    rtmisc.h
170 +
171 + dircode.o interp2d.o xf.o:      rtmath.h mat4.h fvect.h tiff.h
172 +
173 + error.o:        rterror.h
174 +
175 + bmpfile.o:      bmpfile.h tiff.h
176 +
177 + header.o readmesh.o readoct.o resolu.o rglinst.o tmapcolrs.o:   resolu.h
178 +
179 + ezxml.o bsdf.o bsdf_m.o bsdf_t.o:       ezxml.h
180 +
181 + bsdf_m.o bsdf_t.o:      rtio.h
182 +
183 + bsdf.o: bsdf.h fvect.h bsdf_m.h bsdf_t.h hilbert.h ezxml.h
184 +
185 + bsdf.o bsdf_m.o bsdf_t.o ccolor.o:      ccolor.h
186 +
187 + mgf_parser.o mgf_context.o mgf_xf.o mgf_object.o:       mgf_parser.h ccolor.h
188 +
189 + ccyrgb.o:       ccolor.h color.h
190 +
191 + mgf_parser.o mgf_context.o:     lookup.h
192 +
193 + mgf_parser.o:   mgf_mesg.h
194 +
195 + bsdf_m.o:       bsdf.h bsdf_m.h
196 +
197 + bsdf_t.o:       bsdf.h bsdf_t.h hilbert.h
198 +
199 + hilbert.o:      hilbert.h
200 +
201 + loadbsdf.o:     bsdf.h rtio.h rterror.h paths.h
202 +
203 + interp2d.o:     interp2d.h
204 +
205 + triangulate.o:  triangulate.h
206 +
207 + process.o readobj.o readoct.o rglfile.o \
208 + tmapcolrs.o unix_process.o win_process.o:       rtprocess.h
209 +
210 + gbasic.o:       gbasic.h
211 +
212 + g3flist.o g3affine.o g3sphere.o g3vector.o:     g3vector.h gbasic.h fvect.h
213 +
214 + g3affine.o:     g3affine.h
215 +
216 + g3affine.o g3sphere.o:  g3sphere.h
217 +
218 + g3flist.o:      g3flist.h
219 +
220 + maxheap.o:      maxheap.h
221 +
222 + ezxml.o readmesh.o readobj.o readoct.o rglinst.o wordfile.o:    platform.h
223 +
224 + depthcodec.o:   depthcodec.h view.h fvect.h resolu.h rtio.h
225 +
226 + normcodec.o:    normcodec.h rtmath.h mat4.h fvect.h resolu.h rtio.h
227 +
228 + idmap.o:        idmap.h resolu.h platform.h rtio.h
229 +
230 + rcode_ident.o:  lookup.h
231 +
232 + objutil.o:      objutil.h rterror.h rtio.h rtmath.h mat4.h fvect.h lookup.h
233 +
234 + readwfobj.o:    objutil.h rtio.h rterror.h fvect.h
235 +
236 + writewfobj.o:   objutil.h rterror.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines