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.12 by greg, Mon Jul 15 12:52:25 1991 UTC vs.
Revision 2.34 by greg, Fri Jun 6 18:38:19 2003 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2   #
3 < # 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) -I../common
10 > CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH)
11  
12 < INSTDIR = /lumen/lumen/ray/bin.sun3
12 > CC = cc
13  
14 < PROGS = makedist swaprasheader findglare xglaresrc glarendx
14 > SPECIAL =
15  
16 + INSTDIR = /usr/local/bin
17 +
18 + LIBDIR = /usr/local/lib/ray
19 +
20 + PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \
21 +                vwrays xglaresrc
22 +
23   all:    $(PROGS)
24  
25 < install:        all objview.csh objpict.csh proj.csh glare.csh dayfact.csh
25 > install:        all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \
26 > rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh
27          cp $(PROGS) $(INSTDIR)
28          cp objview.csh $(INSTDIR)/objview
29 +        cp objline.csh $(INSTDIR)/objline
30          cp objpict.csh $(INSTDIR)/objpict
31          cp glare.csh $(INSTDIR)/glare
32          cp dayfact.csh $(INSTDIR)/dayfact
33 +        cp debugcal.csh $(INSTDIR)/debugcal
34 +        cp rlux.csh $(INSTDIR)/rlux
35 +        cp raddepend.csh $(INSTDIR)/raddepend
36 +        cp compamb.csh $(INSTDIR)/compamb
37 +        cp vinfo.csh $(INSTDIR)/vinfo
38          chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
39 <                $(INSTDIR)/glare $(INSTDIR)/dayfact
39 >                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
40 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
41 >                $(INSTDIR)/compamb $(INSTDIR)/vinfo
42 >        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
43  
44   clean:
45 <        set nonomatch; rm -f *.o $(PROGS) core
45 >        set nonomatch; rm -f *.o $(PROGS) glrad core
46  
47 + ogl:    glrad
48 +        cp glrad $(INSTDIR)
49 +
50 + x10:
51 +
52 + aed:
53 +
54 + sgi:
55 +
56 + sun:
57 +
58   scanner:        scanner.o
59 <        cc $(CFLAGS) -o scanner scanner.o -lm
59 >        $(CC) $(CFLAGS) -o scanner scanner.o -lm
60  
61   makedist:       makedist.o setscan.o
62 <        cc $(CFLAGS) -o makedist makedist.o setscan.o ../common/librt.a -lm
62 >        $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
63  
64   findglare:      findglare.o glareval.o glaresrc.o setscan.o
65 <        cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
66 < setscan.o ../common/librt.a -lm
65 >        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
66 > setscan.o -lrt -lm
67  
68   glarendx:       glarendx.o
69 <        cc $(CFLAGS) -o glarendx glarendx.o ../common/librt.a -lm
69 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
70  
71   xglaresrc:      xglaresrc.o x11findwind.o
72 <        cc $(CFLAGS) -o xglaresrc xglaresrc.o \
73 < x11findwind.o ../common/librt.a -lm -lX11
72 >        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
73 > x11findwind.o -lrt -lX11 -lm
74  
75 + rad:    rad.o
76 +        $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
77 +
78 + ranimate:       ranimate.o netproc.o
79 +        $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
80 +
81 + ranimove:       ranimove.o ranimove1.o ranimove2.o
82 +        $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
83 + -lraycalls -lradiance -lrt -lm
84 +
85 + rpiece: rpiece.o Version.o
86 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
87 +
88 + vwright:        vwright.o
89 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
90 +
91 + vwrays:         vwrays.o
92 +        $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm
93 +
94 + getinfo:        getinfo.o
95 +        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
96 +
97 + glrad:  glrad.o
98 +        $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
99 + -lX11 -lXext -lm
100 +
101   contour:        contour.o
102 <        cc $(CFLAGS) -o contour contour.o -lm
102 >        $(CC) $(CFLAGS) -o contour contour.o -lm
103  
104   pranim: pranim.o client/libclient.a
105 <        cc $(CFLAGS) -o pranim pranim.o \
105 >        $(CC) $(CFLAGS) -o pranim pranim.o \
106   client/libclient.a -lrpcsvc
107  
108   t16anim:        t16anim.o client/libclient.a
109 <        cc $(CFLAGS) -o t16anim t16anim.o \
109 >        $(CC) $(CFLAGS) -o t16anim t16anim.o \
110   client/libclient.a -lrpcsvc
111  
112   t16anim.o pranim.o:     client/clnt.h
# Line 64 | Line 119 | glaresrc.o:    glare.h ../common/standard.h ../common/mat
119  
120   glaresrc.o:     ../common/linregr.h
121  
122 < image.o xglaresrc.o:    ../common/standard.h ../common/mat4.h \
68 < ../common/fvect.h ../common/view.h
122 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
123  
124 + rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \
125 + ../common/mat4.h ../common/fvect.h
126 +
127 + xglaresrc.o:    ../common/view.h
128 +
129   swaprasheader.o:        ../common/rasterfile.h
130 +
131 + glareval.o xglaresrc.o: ../common/resolu.h
132 +
133 + xglaresrc.o:    ../common/vfork.h
134 +
135 + rad.o ranimate.o:       ../common/vars.h
136 +
137 + ranimove1.o ranimove2.o:        ../common/random.h
138 +
139 + rad.o:  ../common/paths.h
140 +
141 + ranimate.o netproc.o:   netproc.h
142 +
143 + ranimove1.o:    ../common/otypes.h
144 +
145 + netproc.o:      ../common/paths.h
146 +
147 + rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h
148 +
149 + glrad.o:        ../common/radogl.h \
150 + ../common/standard.h ../common/mat4.h ../common/fvect.h \
151 + ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
152 +
153 + glrad.o:        glradicon.h ../common/view.h ../common/paths.h
154 +
155 + ranimove.o ranimove1.o ranimove2.o:     ranimove.h \
156 + ../common/vars.h ../common/view.h \
157 + ../rt/ray.h ../common/standard.h ../common/octree.h \
158 + ../common/mat4.h ../common/fvect.h ../common/object.h ../common/color.h
159 +
160 + Version.c:      ../rt/Version.c
161 +        cp ../rt/Version.c .
162 +
163 + x11findwind.c:  ../common/x11findwind.c
164 +        cp ../common/x11findwind.c .

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines