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.47 by greg, Tue Oct 28 13:16:00 2003 UTC vs.
Revision 2.62 by greg, Wed Jun 17 20:41:47 2009 UTC

# Line 9 | Line 9 | CFLAGS = $(MACH) $(OPT)
9   CC = cc
10   SPECIAL =
11  
12 < COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.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
22 >        tmap16bit.o bmpfile.o falsecolor.o
23  
24 + UTLOBJ = ezxml.o bsdf.o
25 +
26   STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
27          urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o \
28          unix_process.o process.o gethomedir.o getpath.o error.o savestr.o \
29          savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
30 <        clip.o plocate.o eputs.o wputs.o quit.o lookup.o \
31 <        loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o
30 >        clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o \
31 >        loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o
32  
33   SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
34  
# Line 34 | Line 36 | OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglin
36  
37   LIBFILES = tmesh.cal
38  
39 < all:    librt.a $(SPECIAL)
39 > librtrad.a:     $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
40 >        rm -f librtrad.a
41 >        ar rc librtrad.a $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
42 >        -ranlib librtrad.a
43  
39 librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
40        ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
41        -ranlib librt.a
42        mv librt.a ../lib/librt.a
43
44   install:        all
45 +        mv -f librtrad.a ../lib
46          cd $(LIBDIR) && rm -f $(LIBFILES)
47 <        cp $(LIBFILES) $(LIBDIR)
47 >        cp -f $(LIBFILES) $(LIBDIR)
48  
49 + all:    librtrad.a $(SPECIAL)
50 +
51   clean:
52 <        rm -f *.o librt.a
52 >        rm -f *.o librtrad.a
53  
54   ogl:    $(OGLOBJ)
55 +        rm -f librgl.a
56          ar rc librgl.a $(OGLOBJ)
57          -ranlib librgl.a
58 <        mv librgl.a ../lib/librgl.a
58 >        mv -f librgl.a ../lib
59  
60   x10:
61  
# Line 95 | Line 99 | multisamp.o urand.o:   random.h
99   cone.o face.o free_os.o image.o instance.o objset.o \
100   octree.o modobject.o readfargs.o otypes.o mesh.o \
101   readmesh.o readobj.o readoct.o sceneio.o:       standard.h \
102 < rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h
102 > rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h tiff.h
103  
104   image.o:        view.h
105  
106   caldefn.o calexpr.o calfunc.o calprnt.o:        calcomp.h
107  
104 process.o:      vfork.h
105
108   clip.o plocate.o:       plocate.h
109  
110   font.o: font.h
# Line 116 | Line 118 | loadvars.o:    vars.h
118   mesh.o readmesh.o:      mesh.h lookup.h
119  
120   tonemap.o tmapcolrs.o tmapluv.o tmap16bit.o:    tmprivat.h tonemap.h \
121 < tifftypes.h color.h
121 > tiff.h color.h
122  
123 < tmapluv.o:      uvcode.h tiffio.h tmaptiff.h tiff.h
123 > tmapluv.o:      tiffio.h tmaptiff.h tiff.h
124  
125 + falsecolor.o:   falsecolor.h tmprivat.h tonemap.h color.h tiff.h
126 +
127   tonemap.o:      tmerrmsg.h
128  
129 < tmaptiff.o:     tmprivat.h tmaptiff.h color.h tonemap.h tifftypes.h
129 > tmaptiff.o:     tmprivat.h tmaptiff.h color.h tonemap.h tiff.h
130  
131   rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o:     radogl.h \
132   standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h
# Line 131 | Line 135 | free_os.o:     octree.h object.h otypes.h face.h cone.h in
135  
136   tmesh.o:        tmesh.h fvect.h
137  
138 < fgetword.o fputword.o fgetval.o fgetline.o fdate.o \
139 < expandarg.o badarg.o xf.o:      rtio.h
138 > fgetword.o fputword.o fgetval.o fgetline.o fdate.o unix_process.o \
139 > byteswap.o expandarg.o badarg.o xf.o:   rtio.h
140  
141   expandarg.o:    rtmisc.h
142  
143 < dircode.o xf.o: rtmath.h mat4.h fvect.h
143 > dircode.o xf.o: rtmath.h mat4.h fvect.h tiff.h
144  
145   error.o:        rterror.h
146 +
147 + bmpfile.o:      bmpfile.h tiff.h
148 +
149 + header.o readmesh.o readoct.o resolu.o rglinst.o tmapcolrs.o:   resolu.h
150 +
151 + ezxml.o bsdf.o: ezxml.h
152 +
153 + bsdf.o: ../common/paths.h
154 +
155 + bsdf.o: bsdf.h standard.h rtmisc.h rtio.h rtmath.h mat4.h fvect.h rterror.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines