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.11 by greg, Wed Mar 10 19:39:22 1993 UTC vs.
Revision 2.32 by gwlarson, Wed Oct 28 09:30:41 1998 UTC

# Line 1 | Line 1
1   #
2 < # SCCSid "$SunId$ LBL"
2 > # SCCSid "$SunId$ SGI"
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 + SPECIAL =
11  
12   COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o
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
17 >        octree.o readfargs.o modobject.o getlibpath.o addobjnotify.o
18  
19   PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
20 <        colrops.o font.o
20 >        colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o
21  
22 < STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \
22 > STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
23          urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \
24          multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
25 <        badarg.o fgetword.o words.o expandarg.o wordfile.o \
26 <        cputs.o wputs.o eputs.o quit.o
25 >        badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
26 >        clip.o plocate.o eputs.o wputs.o quit.o lookup.o \
27 >        loadvars.o
28  
29 < SYSOBJ = ealloc.o fdate.o portio.o $(COMPAT)
29 > SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
30  
31 + OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
32 +
33 + all:    librt.a $(SPECIAL)
34 +
35   librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
36          ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
37          -ranlib librt.a
38  
39 < install:        librt.a
40 <        mv librt.a ../lib
39 > install:        all
40 >        mv librt.a ../lib/librt.a
41  
42   clean:
43          rm -f *.o librt.a
44  
45 < fropen.o:       fropen.c
46 <        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
45 > ogl:    $(OGLOBJ)
46 >        ar rc librgl.a $(OGLOBJ)
47 >        -ranlib librgl.a
48 >        mv librgl.a ../lib/librgl.a
49  
50 + x10:
51 +
52 + aed:
53 +
54 + sgi:
55 +
56 + sun:
57 +
58   calexpr.o:      calexpr.c calcomp.h
59          $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
60  
# Line 48 | Line 64 | caldefn.o:     caldefn.c calcomp.h
64   calfunc.o:      calfunc.c calcomp.h
65          $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
66  
67 < color.o colrops.o resolu.o spec_rgb.o:  color.h
67 > getlibpath.o:   getlibpath.c
68 >        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
69  
70 + tmapcolrs.o:    tmapcolrs.c
71 +        $(CC) $(CFLAGS) -DPCOND=\"pcond\" -c tmapcolrs.c
72 +
73 + color.o colrops.o lamps.o spec_rgb.o:   color.h
74 +
75   cone.o:         cone.h
76  
77   face.o:         face.h
# Line 60 | Line 82 | instance.o:    instance.h
82  
83   linregr.o:      linregr.h
84  
85 < mat4.o:         mat4.h fvect.h
85 > mat4.o invmat4.o:               mat4.h fvect.h
86  
87   cone.o face.o instance.o objset.o otypes.o \
88   modobject.o readfargs.o readobj.o readoct.o:    object.h
89  
90   objset.o octree.o readoct.o:    octree.h
91  
92 < cone.o modobject.o objset.o otypes.o readobj.o readoct.o:       otypes.h
92 > cone.o modobject.o otypes.o readobj.o readoct.o:        otypes.h
93  
94 < urand.o:        random.h
94 > multisamp.o urand.o:    random.h
95  
96   cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
97 < otypes.o readobj.o readoct.o xf.o:      standard.h mat4.h fvect.h
97 > readfargs.o otypes.o readobj.o readoct.o xf.o:  standard.h mat4.h fvect.h
98  
77 readfargs.o:    fvect.h
78
99   image.o:        view.h
100  
101   calprnt.o:      calcomp.h
102  
103   process.o:      vfork.h
104  
105 + clip.o plocate.o:       plocate.h
106 +
107   font.o: font.h
108  
109   fropen.o getpath.o image.o:     paths.h
110 +
111 + lookup.o:       lookup.h
112 +
113 + loadvars.o:     vars.h
114 +
115 + tonemap.o tmapcolrs.o tmapluv.o:        tmprivat.h tonemap.h color.h
116 +
117 + tmapluv.o:      uvcode.h tiffio.h tiff.h
118 +
119 + tonemap.o:      tmerrmsg.h
120 +
121 + rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o:     radogl.h \
122 + standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines