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.27 by gwlarson, Tue Jun 9 11:37:52 1998 UTC vs.
Revision 2.40 by schorsch, Sun Jun 8 12:03:09 2003 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2   #
2 # SCCSid "$SunId$ SGI"
3   # Makefile for ray tracing library routines
4   #
5  
# Line 13 | Line 13 | COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o r
13  
14   LIBDIR = /usr/local/lib/ray
15  
16 < RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \
17 <        octree.o readfargs.o modobject.o getlibpath.o
16 > RTOBJ = cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o \
17 >        objset.o octree.o readfargs.o modobject.o getlibpath.o \
18 >        addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o
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
21 >        colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o
22  
23   STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
24 <        urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \
24 >        urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o \
25          multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
26          badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
27          clip.o plocate.o eputs.o wputs.o quit.o lookup.o \
28 <        loadvars.o
28 >        loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o
29  
30   SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
31  
32   OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
33  
34 + LIBFILES = tmesh.cal
35 +
36 + all:    librt.a $(SPECIAL)
37 +
38   librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
39          ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
40          -ranlib librt.a
41  
42 < install:        librt.a
42 > install:        all
43          mv librt.a ../lib/librt.a
44 +        cd $(LIBDIR) ; rm -f $(LIBFILES)
45 +        cp $(LIBFILES) $(LIBDIR)
46  
47   clean:
48          rm -f *.o librt.a
# Line 45 | Line 52 | ogl:   $(OGLOBJ)
52          -ranlib librgl.a
53          mv librgl.a ../lib/librgl.a
54  
55 < calexpr.o:      calexpr.c calcomp.h
49 <        $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
55 > x10:
56  
57 < caldefn.o:      caldefn.c calcomp.h
52 <        $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
57 > aed:
58  
59 < calfunc.o:      calfunc.c calcomp.h
55 <        $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
59 > sgi:
60  
61 + sun:
62 +
63   getlibpath.o:   getlibpath.c
64          $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
65  
66 + tmapcolrs.o:    tmapcolrs.c
67 +        $(CC) $(CFLAGS) -DPCOND=\"pcond\" -c tmapcolrs.c
68 +
69   color.o colrops.o lamps.o spec_rgb.o:   color.h
70  
71   cone.o:         cone.h
# Line 72 | Line 81 | linregr.o:     linregr.h
81   mat4.o invmat4.o:               mat4.h fvect.h
82  
83   cone.o face.o instance.o objset.o otypes.o \
84 < modobject.o readfargs.o readobj.o readoct.o:    object.h
84 > mesh.o modobject.o readfargs.o readmesh.o \
85 > readobj.o readoct.o sceneio.o:  object.h
86  
87 < objset.o octree.o readoct.o:    octree.h
87 > mesh.o objset.o octree.o readmesh.o readoct.o sceneio.o:        octree.h
88  
89 < cone.o modobject.o otypes.o readobj.o readoct.o:        otypes.h
89 > cone.o mesh.o modobject.o otypes.o \
90 > readobj.o readoct.o sceneio.o:  otypes.h
91  
92   multisamp.o urand.o:    random.h
93  
94 < cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
95 < otypes.o readobj.o readoct.o xf.o:      standard.h mat4.h fvect.h
94 > cone.o face.o free_os.o image.o instance.o error.o objset.o \
95 > octree.o modobject.o readfargs.o otypes.o dircode.o mesh.o \
96 > readmesh.o readobj.o readoct.o sceneio.o xf.o:  standard.h mat4.h fvect.h
97  
86 readfargs.o:    fvect.h
87
98   image.o:        view.h
99  
100 < calprnt.o:      calcomp.h
100 > caldefn.o calexpr.o calfunc.o calprnt.o:        calcomp.h
101  
102   process.o:      vfork.h
103  
# Line 101 | Line 111 | lookup.o:      lookup.h
111  
112   loadvars.o:     vars.h
113  
114 < tonemap.o tmapcolrs.o:  tmprivat.h tonemap.h color.h
114 > mesh.o readmesh.o:      mesh.h lookup.h
115  
116 + tonemap.o tmapcolrs.o tmapluv.o:        tmprivat.h tonemap.h color.h
117 +
118 + tmapluv.o:      uvcode.h tiffio.h tmaptiff.h tiff.h
119 +
120   tonemap.o:      tmerrmsg.h
121  
122 + tmaptiff.o:     tmprivat.h tmaptiff.h color.h tonemap.h
123 +
124   rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o:     radogl.h \
125   standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h
126 +
127 + free_os.o:      octree.h object.h otypes.h face.h cone.h instance.h
128 +
129 + tmesh.o:        tmesh.h fvect.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines