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 1.1 by greg, Mon Jul 15 11:25:02 1991 UTC vs.
Revision 2.17 by greg, Mon Apr 3 16:47:41 1995 UTC

# Line 3 | Line 3
3   # Makefile for ray tracing library routines
4   #
5  
6 < OPT = -O -pipe
7 < MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/libm.il
6 > OPT = -O
7 > MACH = -DBSD
8   CFLAGS = $(MACH) $(OPT)
9   CC = cc
10  
11 + COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o
12 +
13 + LIBDIR = /usr/local/lib/ray
14 +
15   RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \
16 <        octree.o
16 >        octree.o readfargs.o modobject.o getlibpath.o
17  
18   PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
19 <        colrops.o
19 >        colrops.o font.o
20  
21 < STDOBJ = fgetline.o linregr.o xf.o mat4.o misc.o fvect.o \
22 <        savestr.o urand.o cputs.o wputs.o eputs.o quit.o
21 > STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
22 >        urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \
23 >        multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
24 >        badarg.o fgetword.o words.o expandarg.o wordfile.o \
25 >        clip.o plocate.o cputs.o wputs.o eputs.o quit.o lookup.o
26  
27 < SYSOBJ = ealloc.o bmalloc.o # erf.o frexp.o fwrite.o random.o bcopy.o
27 > SYSOBJ = ealloc.o fdate.o portio.o $(COMPAT)
28  
29   librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
30          ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
31 <        @ ranlib librt.a
31 >        -ranlib librt.a
32  
33 < color.o colrops.o resolu.o spec_rgb.o:  color.h
33 > install:        librt.a
34 >        mv librt.a ../lib
35  
36 + clean:
37 +        rm -f *.o librt.a
38 +
39 + calexpr.o:      calexpr.c calcomp.h
40 +        $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
41 +
42 + caldefn.o:      caldefn.c calcomp.h
43 +        $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
44 +
45 + calfunc.o:      calfunc.c calcomp.h
46 +        $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
47 +
48 + getlibpath.o:   getlibpath.c
49 +        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
50 +
51 + color.o colrops.o spec_rgb.o:   color.h
52 +
53   cone.o:         cone.h
54  
55   face.o:         face.h
# Line 35 | Line 60 | instance.o:    instance.h
60  
61   linregr.o:      linregr.h
62  
63 < mat4.o:         mat4.h
63 > mat4.o invmat4.o:               mat4.h fvect.h
64  
65   cone.o face.o instance.o objset.o otypes.o \
66 < readobj.o readoct.o:    object.h
66 > modobject.o readfargs.o readobj.o readoct.o:    object.h
67  
68   objset.o octree.o readoct.o:    octree.h
69  
70 < cone.o objset.o otypes.o readobj.o readoct.o:   otypes.h
70 > cone.o modobject.o objset.o otypes.o readobj.o readoct.o:       otypes.h
71  
72   urand.o:        random.h
73  
74 < cone.o face.o image.o instance.o misc.o objset.o octree.o \
74 > cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
75   otypes.o readobj.o readoct.o xf.o:      standard.h mat4.h fvect.h
76  
77 + readfargs.o:    fvect.h
78 +
79   image.o:        view.h
80 +
81 + calprnt.o:      calcomp.h
82 +
83 + process.o:      vfork.h
84 +
85 + clip.o plocate.o:       plocate.h
86 +
87 + font.o: font.h
88 +
89 + fropen.o getpath.o image.o:     paths.h
90 +
91 + lookup.o:       lookup.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines