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 2.1 by greg, Tue Nov 12 17:04:55 1991 UTC vs.
Revision 2.8 by greg, Fri Jun 27 06:53:22 2003 UTC

# Line 1 | Line 1
1 < # SCCSid "$SunId$ LBL"
2 <
1 > # RCSid: $Id$
2   #
3   # Makefile for object generation programs
4   #
5  
6   OPT = -O
7   MACH = -DBSD
8 < CFLAGS = $(MACH) $(OPT) -I../common -L../lib
8 > CFLAGS = -I../common -L../lib $(OPT) $(MACH)
9 > CC = cc
10 > MLIB = -lm
11  
12   INSTDIR = /usr/local/bin
13  
14   LIBDIR = /usr/local/lib/ray
15  
16   PROGS = genbox gensky xform genblinds genrev genworm \
17 <                gensurf genprism replmarks mkillum
17 >                gensurf genprism replmarks mkillum genclock
18  
19 < CALFILES = illum.cal rev.cal skybright.cal surf.cal
19 > LIBFILES = illum.cal rev.cal skybright.cal surf.cal clockface.hex \
20 >                glaze1.cal glaze2.cal
21  
22   all:    $(PROGS)
23  
24 < install:        $(PROGS) genpine.csh genwindow.csh $(CALFILES)
24 > install:        $(PROGS) $(LIBFILES) glaze.csh
25          cp $(PROGS) $(INSTDIR)
26 <        cp genwindow.csh $(INSTDIR)/genwindow
27 <        chmod 755 $(INSTDIR)/genwindow
28 <        cd $(LIBDIR) ; rm -f $(CALFILES)
29 <        cp $(CALFILES) $(LIBDIR)
26 >        cp glaze.csh $(INSTDIR)/glaze
27 >        chmod 755 $(INSTDIR)/glaze
28 >        cd $(LIBDIR) ; rm -f $(LIBFILES)
29 >        cp $(LIBFILES) $(LIBDIR)
30  
31   clean:
32          set nonomatch; rm -f $(PROGS) *.o core
33  
34   genbeads:       genbeads.o hermite3.o
35 <        cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm
35 >        $(CC) $(CFLAGS) -o genbeads genbeads.o hermite3.o $(MLIB)
36  
37   genbox: genbox.o
38 <        cc $(CFLAGS) -o genbox genbox.o
38 >        $(CC) $(CFLAGS) -o genbox genbox.o
39  
40   genmarble:      genmarble.o ../common/random.h
41 <        cc $(CFLAGS) -o genmarble genmarble.o -lm
41 >        $(CC) $(CFLAGS) -o genmarble genmarble.o $(MLIB)
42  
43   gensky: gensky.o sun.o
44 <        cc $(CFLAGS) -o gensky gensky.o sun.o -lm
44 >        $(CC) $(CFLAGS) -o gensky gensky.o sun.o $(MLIB)
45  
46   genblinds:      genblinds.o
47 <        cc $(CFLAGS) -o genblinds genblinds.o -lm
47 >        $(CC) $(CFLAGS) -o genblinds genblinds.o $(MLIB)
48  
49   genprism:       genprism.o
50 <        cc $(CFLAGS) -o genprism genprism.o
50 >        $(CC) $(CFLAGS) -o genprism genprism.o $(MLIB)
51  
52   xform:  xform.o
53 <        cc $(CFLAGS) -o xform xform.o -lrt -lm
53 >        $(CC) $(CFLAGS) -o xform xform.o -lrt $(MLIB)
54  
55   replmarks:      replmarks.o
56 <        cc $(CFLAGS) -o replmarks replmarks.o -lrt -lm
56 >        $(CC) $(CFLAGS) -o replmarks replmarks.o -lrt $(MLIB)
57  
58   mkillum:        mkillum.o mkillum2.o mkillum3.o
59 <        cc $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o -lrt -lm
59 >        $(CC) $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o -lrt $(MLIB)
60  
61   genrev: genrev.o
62 <        cc $(CFLAGS) -o genrev genrev.o -lrt -lm
62 >        $(CC) $(CFLAGS) -o genrev genrev.o -lrt $(MLIB)
63  
64 + gencat: gencat.o
65 +        $(CC) $(CFLAGS) -o gencat gencat.o -lrt $(MLIB)
66 +
67   genworm:        genworm.o
68 <        cc $(CFLAGS) -o genworm genworm.o -lrt -lm
68 >        $(CC) $(CFLAGS) -o genworm genworm.o -lrt $(MLIB)
69  
70   gensurf:        gensurf.o
71 <        cc $(CFLAGS) -o gensurf gensurf.o -lrt -lm
71 >        $(CC) $(CFLAGS) -o gensurf gensurf.o -lrt $(MLIB)
72  
73 + genclock:       genclock.o
74 +        $(CC) $(CFLAGS) -o genclock genclock.o $(MLIB)
75 +
76   genbranch:      genbranch.o
77 <        cc $(CFLAGS) -o genbranch genbranch.o -lm
77 >        $(CC) $(CFLAGS) -o genbranch genbranch.o $(MLIB)
78  
71 gensurf.o:      ../common/standard.h ../common/mat4.h ../common/fvect.h
72
79   genworm.o replmarks.o:  ../common/fvect.h
80  
81 < xform.o:        ../common/standard.h ../common/mat4.h ../common/fvect.h \
82 < ../common/otypes.h ../common/object.h
81 > gensurf.o xform.o:      ../common/standard.h \
82 > ../common/rtmisc.h ../common/rtio.h \
83 > ../common/rtmath.h ../common/rterror.h \
84 > ../common/mat4.h ../common/fvect.h \
85 >
86 > xform.o:        ../common/otypes.h ../common/object.h
87  
88   mkillum.o mkillum2.o mkillum3.o:        mkillum.h ../common/standard.h \
89   ../common/mat4.h ../common/fvect.h ../common/otypes.h ../common/object.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines