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.10 by greg, Tue Apr 30 16:24:06 1991 UTC vs.
Revision 2.16 by greg, Wed Sep 13 16:15:36 1995 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines