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 2.24 by gregl, Fri Oct 17 10:36:44 1997 UTC vs.
Revision 2.37 by greg, Wed May 19 14:44:06 2004 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2   #
2 # SCCSid "$SunId$ LBL"
3   # Radiance makefile for utility programs
4   #
5  
# Line 7 | Line 7 | MACH = -DBSD
7  
8   OPT = -O
9  
10 < CFLAGS = $(MACH) $(OPT) -I../common -L../lib
10 > CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH)
11  
12   CC = cc
13  
14 + SPECIAL =
15 +
16   INSTDIR = /usr/local/bin
17  
18   LIBDIR = /usr/local/lib/ray
19  
20 < PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright getinfo vwrays
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 glare.csh dayfact.csh rlux.csh \
26 < raddepend.csh trad.wsh objline.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
# Line 30 | Line 33 | raddepend.csh trad.wsh objline.csh
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 +        cp genambpos.csh $(INSTDIR)/genambpos
39          chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
40                  $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
41 <                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline
41 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
42 >                $(INSTDIR)/compamb $(INSTDIR)/vinfo $(INSTDIR)/genambpos
43          csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
44  
45   clean:
46 <        set nonomatch; rm -f *.o $(PROGS) core
46 >        set nonomatch; rm -f *.o $(PROGS) glrad core
47  
48 + ogl:    glrad
49 +        cp glrad $(INSTDIR)
50 +
51 + x10:
52 +
53 + aed:
54 +
55 + sgi:
56 +
57 + sun:
58 +
59   scanner:        scanner.o
60          $(CC) $(CFLAGS) -o scanner scanner.o -lm
61  
# Line 61 | Line 79 | rad:   rad.o
79   ranimate:       ranimate.o netproc.o
80          $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
81  
82 + ranimove:       ranimove.o ranimove1.o ranimove2.o
83 +        $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
84 + -lraycalls -lradiance -lrt -lm
85 +
86   rpiece: rpiece.o Version.o
87          $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
88  
# Line 73 | Line 95 | vwrays:                vwrays.o
95   getinfo:        getinfo.o
96          $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
97  
98 + glrad:  glrad.o
99 +        $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
100 + -lX11 -lXext -lm
101 +
102   contour:        contour.o
103          $(CC) $(CFLAGS) -o contour contour.o -lm
104  
# Line 89 | Line 115 | t16anim.o pranim.o:    client/clnt.h
115   setscan.o makedist.o:   setscan.h
116  
117   findglare.o glareval.o \
118 < glaresrc.o:     glare.h ../common/standard.h ../common/mat4.h \
119 < ../common/fvect.h ../common/view.h ../common/color.h setscan.h
118 > glaresrc.o:     glare.h ../common/standard.h \
119 > ../common/rtmisc.h ../common/rtio.h \
120 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
121 > ../common/rterror.h \
122 > ../common/view.h ../common/color.h setscan.h
123  
124   glaresrc.o:     ../common/linregr.h
125  
126   rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
127  
128   rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \
129 < ../common/mat4.h ../common/fvect.h
129 > ../common/rtmisc.h ../common/rtio.h \
130 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
131 > ../common/rterror.h
132  
133   xglaresrc.o:    ../common/view.h
134  
# Line 105 | Line 136 | swaprasheader.o:       ../common/rasterfile.h
136  
137   glareval.o xglaresrc.o: ../common/resolu.h
138  
108 xglaresrc.o:    ../common/vfork.h
109
139   rad.o ranimate.o:       ../common/vars.h
140  
141 + ranimove1.o ranimove2.o:        ../common/random.h
142 +
143   rad.o:  ../common/paths.h
144  
145   ranimate.o netproc.o:   netproc.h
146  
147 + ranimove1.o:    ../common/otypes.h
148 +
149   netproc.o:      ../common/paths.h
150  
151 < ranimate.o:     ../common/view.h
151 > rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h
152 >
153 > glrad.o:        ../common/radogl.h \
154 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
155 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
156 > ../common/rterror.h \
157 > ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
158 >
159 > glrad.o:        glradicon.h ../common/view.h ../common/paths.h
160 >
161 > ranimove.o ranimove1.o ranimove2.o:     ranimove.h \
162 > ../common/vars.h ../common/view.h \
163 > ../rt/ray.h ../common/octree.h \
164 > ../common/object.h ../common/color.h \
165 > ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
166 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
167 > ../common/rterror.h
168 >
169 > Version.c:      ../rt/Version.c
170 >        cp ../rt/Version.c .
171 >
172 > x11findwind.c:  ../common/x11findwind.c
173 >        cp ../common/x11findwind.c .

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines