ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/Rmakefile
(Generate patch)

Comparing ray/src/gen/Rmakefile (file contents):
Revision 1.5 by greg, Sat Oct 14 11:34:08 1989 UTC vs.
Revision 1.18 by greg, Thu Aug 22 08:55:34 1991 UTC

# Line 5 | Line 5
5   #
6  
7   OPT = -O
8 < MACH = -f68881 /usr/lib/f68881.il -DIEEE
9 < CFLAGS = $(MACH) $(OPT)
8 > MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE
9 > CFLAGS = $(MACH) $(OPT) -I../common
10  
11 < INSTDIR = /usr/local/ray
11 > INSTDIR = /lumen/lumen/ray/bin.sun3
12  
13 + LIBDIR = /lumen/lumen/ray/lib
14 +
15   PROGS = genbox gensky xform genblinds genrev genworm \
16 <                gensurf genprism
16 >                gensurf genprism replmarks mkillum
17  
18 + CALFILES = illum.cal rev.cal skybright.cal surf.cal
19 +
20   all:    $(PROGS)
21  
22 < install:        $(PROGS) genpine.csh genwindow.csh
22 > install:        $(PROGS) genpine.csh genwindow.csh $(CALFILES)
23          cp $(PROGS) $(INSTDIR)
24 <        install genpine.csh $(INSTDIR)/genpine
25 <        install genwindow.csh $(INSTDIR)/genwindow
24 >        cp genwindow.csh $(INSTDIR)/genwindow
25 >        chmod 755 $(INSTDIR)/genwindow
26 >        cd $(LIBDIR) ; rm -f $(CALFILES)
27 >        cp $(CALFILES) $(LIBDIR)
28  
29 + clean:
30 +        set nonomatch; rm -f $(PROGS) *.o core
31 +
32   genbeads:       genbeads.o hermite3.o
33          cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm
34  
35   genbox: genbox.o
36          cc $(CFLAGS) -o genbox genbox.o
37  
38 < genmarble:      genmarble.o random.h
38 > genmarble:      genmarble.o ../common/random.h
39          cc $(CFLAGS) -o genmarble genmarble.o -lm
40  
41   gensky: gensky.o sun.o
# Line 38 | Line 47 | genblinds:     genblinds.o
47   genprism:       genprism.o
48          cc $(CFLAGS) -o genprism genprism.o
49  
50 < xform:  xform.o xf.o mat4.o fgetline.o
51 <        cc $(CFLAGS) -o xform xform.o xf.o mat4.o fgetline.o -lm
50 > xform:  xform.o
51 >        cc $(CFLAGS) -o xform xform.o ../common/librt.a -lm
52  
53 < genrev: genrev.o calexpr.o caldefn.o calfunc.o \
54 < ealloc.o savestr.o
46 <        cc $(CFLAGS) -o genrev genrev.o caldefn.o calexpr.o \
47 < calfunc.o ealloc.o savestr.o -lm
53 > replmarks:      replmarks.o
54 >        cc $(CFLAGS) -o replmarks replmarks.o ../common/librt.a -lm
55  
56 < genworm:        genworm.o calexpr.o caldefn.o calfunc.o \
57 < ealloc.o savestr.o fvect.o
58 <        cc $(CFLAGS) -o genworm genworm.o caldefn.o calexpr.o \
52 < calfunc.o ealloc.o savestr.o fvect.o -lm
56 > mkillum:        mkillum.o mkillum2.o mkillum3.o
57 >        cc $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o \
58 > ../common/librt.a -lm
59  
60 < gensurf:        gensurf.o fvect.o calexpr.o caldefn.o calfunc.o \
61 < ealloc.o savestr.o
56 <        cc $(CFLAGS) -o gensurf gensurf.o caldefn.o calexpr.o \
57 < calfunc.o ealloc.o savestr.o fvect.o -lm
60 > genrev: genrev.o
61 >        cc $(CFLAGS) -o genrev genrev.o ../common/librt.a -lm
62  
63 + genworm:        genworm.o
64 +        cc $(CFLAGS) -o genworm genworm.o ../common/librt.a -lm
65 +
66 + gensurf:        gensurf.o
67 +        cc $(CFLAGS) -o gensurf gensurf.o ../common/librt.a -lm
68 +
69   genbranch:      genbranch.o
70          cc $(CFLAGS) -o genbranch genbranch.o -lm
71  
72 < calexpr.o:      calexpr.c calcomp.h
63 <        cc $(CFLAGS) -c -DVARIABLE -DFUNCTION -DRCONST calexpr.c
72 > gensurf.o:      ../common/standard.h ../common/mat4.h ../common/fvect.h
73  
74 < caldefn.o:      caldefn.c calcomp.h
66 <        cc $(CFLAGS) -c -DFUNCTION caldefn.c
74 > genworm.o replmarks.o:  ../common/fvect.h
75  
76 < calfunc.o:      calfunc.c calcomp.h
77 <        cc $(CFLAGS) -c -DVARIABLE -DBIGLIB calfunc.c
76 > xform.o:        ../common/standard.h ../common/mat4.h ../common/fvect.h \
77 > ../common/otypes.h ../common/object.h
78  
79 < fvect.o genworm.o:      fvect.h
79 > mkillum.o mkillum2.o mkillum3.o:        mkillum.h ../common/standard.h \
80 > ../common/mat4.h ../common/fvect.h ../common/otypes.h ../common/object.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines