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.14 by greg, Wed Jun 29 18:18:07 1994 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 >        cputs.o wputs.o eputs.o quit.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 + fropen.o:       fropen.c
40 +        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
41 +
42 + calexpr.o:      calexpr.c calcomp.h
43 +        $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
44 +
45 + caldefn.o:      caldefn.c calcomp.h
46 +        $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
47 +
48 + calfunc.o:      calfunc.c calcomp.h
49 +        $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
50 +
51 + getlibpath.o:   getlibpath.c
52 +        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
53 +
54 + color.o colrops.o spec_rgb.o:   color.h
55 +
56   cone.o:         cone.h
57  
58   face.o:         face.h
# Line 35 | Line 63 | instance.o:    instance.h
63  
64   linregr.o:      linregr.h
65  
66 < mat4.o:         mat4.h
66 > mat4.o invmat4.o:               mat4.h fvect.h
67  
68   cone.o face.o instance.o objset.o otypes.o \
69 < readobj.o readoct.o:    object.h
69 > modobject.o readfargs.o readobj.o readoct.o:    object.h
70  
71   objset.o octree.o readoct.o:    octree.h
72  
73 < cone.o objset.o otypes.o readobj.o readoct.o:   otypes.h
73 > cone.o modobject.o objset.o otypes.o readobj.o readoct.o:       otypes.h
74  
75   urand.o:        random.h
76  
77 < cone.o face.o image.o instance.o misc.o objset.o octree.o \
77 > cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
78   otypes.o readobj.o readoct.o xf.o:      standard.h mat4.h fvect.h
79  
80 + readfargs.o:    fvect.h
81 +
82   image.o:        view.h
83 +
84 + calprnt.o:      calcomp.h
85 +
86 + process.o:      vfork.h
87 +
88 + font.o: font.h
89 +
90 + fropen.o getpath.o image.o:     paths.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines