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

Comparing ray/src/util/Rmakefile (file contents):
Revision 1.2 by greg, Thu Mar 14 17:38:42 1991 UTC vs.
Revision 2.9 by greg, Thu Dec 9 17:32:14 1993 UTC

# Line 2 | Line 2
2   # SCCSid "$SunId$ LBL"
3   #
4  
5 < MACH = -f68881 /usr/lib/libm.il -DIEEE -DBSD -DSTRUCTASSIGN
5 > MACH = -DBSD
6  
7   OPT = -O
8  
9 < CFLAGS = $(MACH) $(OPT)
9 > CFLAGS = $(MACH) $(OPT) -I../common -L../lib
10  
11 < INSTDIR = /lumen/lumen/ray/bin.sun3
11 > CC = cc
12  
13 < PROGS = makedist swaprasheader
13 > MLIB = -lm
14  
15 + INSTDIR = /usr/local/bin
16 +
17 + PROGS = findglare xglaresrc glarendx rpiece rad
18 +
19   all:    $(PROGS)
20  
21 < install:        all objview.csh objpict.csh proj.csh
21 > install:        all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh
22          cp $(PROGS) $(INSTDIR)
23          cp objview.csh $(INSTDIR)/objview
24          cp objpict.csh $(INSTDIR)/objpict
25 <        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict
25 >        cp glare.csh $(INSTDIR)/glare
26 >        cp dayfact.csh $(INSTDIR)/dayfact
27 >        cp debugcal.csh $(INSTDIR)/debugcal
28 >        cp rlux.csh $(INSTDIR)/rlux
29 >        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
30 >                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
31 >                $(INSTDIR)/rlux
32  
33   clean:
34 <        rm -f *.o $(PROGS) core
34 >        set nonomatch; rm -f *.o $(PROGS) core
35  
36   scanner:        scanner.o
37 <        cc $(CFLAGS) -o scanner scanner.o -lm
37 >        $(CC) $(CFLAGS) -o scanner scanner.o $(MLIB)
38  
39 < makedist:       makedist.o fvect.o setscan.o
40 <        cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm
39 > makedist:       makedist.o setscan.o
40 >        $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt $(MLIB)
41  
42 + findglare:      findglare.o glareval.o glaresrc.o setscan.o
43 +        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
44 + setscan.o -lrt $(MLIB)
45 +
46 + glarendx:       glarendx.o
47 +        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt $(MLIB)
48 +
49 + xglaresrc:      xglaresrc.o x11findwind.o
50 +        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
51 + x11findwind.o -lrt -lX11 $(MLIB)
52 +
53 + rad:    rad.o
54 +        $(CC) $(CFLAGS) -o rad rad.o -lrt $(MLIB)
55 +
56 + rpiece: rpiece.o Version.o
57 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt $(MLIB)
58 +
59   contour:        contour.o
60 <        cc $(CFLAGS) -o contour contour.o -lm
60 >        $(CC) $(CFLAGS) -o contour contour.o $(MLIB)
61  
62   pranim: pranim.o client/libclient.a
63 <        cc $(CFLAGS) -o pranim pranim.o \
63 >        $(CC) $(CFLAGS) -o pranim pranim.o \
64   client/libclient.a -lrpcsvc
65  
66   t16anim:        t16anim.o client/libclient.a
67 <        cc $(CFLAGS) -o t16anim t16anim.o \
67 >        $(CC) $(CFLAGS) -o t16anim t16anim.o \
68   client/libclient.a -lrpcsvc
69  
70   t16anim.o pranim.o:     client/clnt.h
71  
72 < makedist.o:     setscan.h
72 > setscan.o makedist.o:   setscan.h
73 >
74 > findglare.o glareval.o \
75 > glaresrc.o:     glare.h ../common/standard.h ../common/mat4.h \
76 > ../common/fvect.h ../common/view.h ../common/color.h setscan.h
77 >
78 > glaresrc.o:     ../common/linregr.h
79 >
80 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
81 >
82 > rad.o rpiece.o xglaresrc.o:     ../common/standard.h \
83 > ../common/mat4.h ../common/fvect.h
84 >
85 > xglaresrc.o:    ../common/view.h
86 >
87 > swaprasheader.o:        ../common/rasterfile.h
88 >
89 > glareval.o xglaresrc.o: ../common/resolu.h
90 >
91 > xglaresrc.o:    ../common/vfork.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines