ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/Rmakefile
Revision: 3.25
Committed: Fri Nov 5 03:31:37 2004 UTC (20 years ago) by greg
Branch: MAIN
Changes since 3.24: +1 -64 lines
Log Message:
Removed unused programs and files from distribution (sources to CVS attic)

File Contents

# User Rev Content
1 greg 3.25 # RCSid: $Id: Rmakefile,v 3.24 2004/10/27 23:23:47 greg Exp $
2 gregl 3.1 #
3     # Radiance makefile for holodeck programs
4     #
5    
6     MACH = -DBSD
7    
8     OPT = -O
9    
10 greg 3.21 CFLAGS = -I../common -L../lib $(OPT) $(MACH)
11 gregl 3.1
12     CC = cc
13    
14 gwlarson 3.14 SPECIAL =
15    
16 gregl 3.1 INSTDIR = /usr/local/bin
17 gregl 3.2 DEVDIR = $(INSTDIR)/dev
18 gregl 3.1
19     LIBDIR = /usr/local/lib/ray
20    
21 gwlarson 3.20 PROGS = rholo rhpict rhcopy genrhgrid rhoptimize rhinfo
22 gregl 3.1
23 gwlarson 3.14 DEVS = $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi
24 gregl 3.2
25 gwlarson 3.16 all: $(PROGS)
26 gregl 3.1
27 gwlarson 3.16 install: all $(DEVS) $(SPECIAL)
28 gregl 3.1 cp $(PROGS) $(INSTDIR)
29    
30     clean:
31     set nonomatch; rm -f *.o $(PROGS) core
32    
33 greg 3.21 ogl: $(DEVDIR)/ogl.hdi $(DEVDIR)/oglh.hdi \
34 simmons 3.17 $(DEVDIR)/oglo.hdi $(DEVDIR)/ogloh.hdi \
35     $(DEVDIR)/ogls.hdi $(DEVDIR)/oglsh.hdi \
36 greg 3.21 $(DEVDIR)/oglso.hdi $(DEVDIR)/oglsoh.hdi \
37     $(DEVDIR)/glx1.hdi $(DEVDIR)/glx1h.hdi
38 gwlarson 3.14
39     x10:
40    
41     aed:
42    
43     sgi:
44    
45     sun:
46    
47 simmons 3.17 rholo: rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o holo.o holofile.o \
48 greg 3.21 viewbeams.o Version.o
49 gregl 3.1 $(CC) $(CFLAGS) -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
50 greg 3.21 holo.o holofile.o viewbeams.o Version.o -lrt -lm
51 gregl 3.1
52 greg 3.21 rhpict: rhpict.o rhpict2.o holo.o holofile.o viewbeams.o Version.o
53 gwlarson 3.20 $(CC) $(CFLAGS) -o rhpict rhpict.o rhpict2.o holo.o holofile.o \
54 greg 3.21 viewbeams.o Version.o -lrt -lm
55 gwlarson 3.20
56 simmons 3.17 rhcopy: rhcopy.o clumpbeams.o holo.o holofile.o
57     $(CC) $(CFLAGS) -o rhcopy rhcopy.o clumpbeams.o \
58     holo.o holofile.o -lrt -lm
59 gregl 3.7
60 simmons 3.17 rhoptimize: rhoptimize.o clumpbeams.o holo.o holofile.o
61     $(CC) $(CFLAGS) -o rhoptimize rhoptimize.o clumpbeams.o \
62     holo.o holofile.o -lrt -lm
63    
64 gwlarson 3.19 rhinfo: rhinfo.o holo.o holofile.o
65     $(CC) $(CFLAGS) -o rhinfo rhinfo.o holo.o holofile.o -lrt -lm
66    
67 gregl 3.12 genrhenv: genrhenv.o holo.o holofile.o
68     $(CC) $(CFLAGS) -o genrhenv genrhenv.o holo.o holofile.o -lrt -lm
69    
70 gregl 3.13 genrhgrid: genrhgrid.o holo.o
71     $(CC) $(CFLAGS) -o genrhgrid genrhgrid.o holo.o -lrt -lm
72    
73 gregl 3.8 $(DEVDIR)/x11h.hdi: $(DEVDIR)/x11.hdi
74     rm -f $(DEVDIR)/x11h.hdi
75     ln $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi
76 gregl 3.1
77 gwlarson 3.20 $(DEVDIR)/x11.hdi: rhdisp.o rhdisp2.o viewbeams.o rhd_x11.o rhd_qtree.o \
78 greg 3.22 rhd_qtree2r.o rhd_ctab.o holo.o
79 gwlarson 3.20 $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdi rhdisp.o rhdisp2.o viewbeams.o \
80 greg 3.22 rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o -lrt -lX11 -lm
81 gregl 3.1
82 simmons 3.17 $(DEVDIR)/glx1h.hdi: $(DEVDIR)/glx1.hdi
83     rm -f $(DEVDIR)/glx1h.hdi
84     ln $(DEVDIR)/glx1.hdi $(DEVDIR)/glx1h.hdi
85    
86 gregl 3.10 $(DEVDIR)/glxh.hdi: $(DEVDIR)/glx.hdi
87     rm -f $(DEVDIR)/glxh.hdi
88     ln $(DEVDIR)/glx.hdi $(DEVDIR)/glxh.hdi
89    
90 gwlarson 3.14 $(DEVDIR)/glxoh.hdi: $(DEVDIR)/glxo.hdi
91     rm -f $(DEVDIR)/glxoh.hdi
92     ln $(DEVDIR)/glxo.hdi $(DEVDIR)/glxoh.hdi
93 gregl 3.10
94 gwlarson 3.14 $(DEVDIR)/glxsh.hdi: $(DEVDIR)/glxs.hdi
95     rm -f $(DEVDIR)/glxsh.hdi
96     ln $(DEVDIR)/glxs.hdi $(DEVDIR)/glxsh.hdi
97    
98     $(DEVDIR)/glxsoh.hdi: $(DEVDIR)/glxso.hdi
99     rm -f $(DEVDIR)/glxsoh.hdi
100     ln $(DEVDIR)/glxso.hdi $(DEVDIR)/glxsoh.hdi
101    
102 simmons 3.17 $(DEVDIR)/oglh.hdi: $(DEVDIR)/ogl.hdi
103     rm -f $(DEVDIR)/oglh.hdi
104     ln $(DEVDIR)/ogl.hdi $(DEVDIR)/oglh.hdi
105    
106     $(DEVDIR)/ogloh.hdi: $(DEVDIR)/oglo.hdi
107     rm -f $(DEVDIR)/ogloh.hdi
108     ln $(DEVDIR)/oglo.hdi $(DEVDIR)/ogloh.hdi
109    
110     $(DEVDIR)/oglsh.hdi: $(DEVDIR)/ogls.hdi
111     rm -f $(DEVDIR)/oglsh.hdi
112     ln $(DEVDIR)/ogls.hdi $(DEVDIR)/oglsh.hdi
113    
114     $(DEVDIR)/oglsoh.hdi: $(DEVDIR)/oglso.hdi
115     rm -f $(DEVDIR)/oglsoh.hdi
116     ln $(DEVDIR)/oglso.hdi $(DEVDIR)/oglsoh.hdi
117    
118 gwlarson 3.20 $(DEVDIR)/glx1.hdi: rhd_glx1.o rhdisp.o rhdisp2.o viewbeams.o \
119 greg 3.22 rhd_qtree.o rhd_qtree2c.o holo.o
120 simmons 3.17 rm -f $(DEVDIR)/glx1.hdi
121     $(CC) $(CFLAGS) -o $(DEVDIR)/glx1.hdi rhd_glx1.o rhdisp.o rhdisp2.o \
122 greg 3.22 viewbeams.o holo.o rhd_qtree.o rhd_qtree2c.o -lrt -lGLU -lGL -lX11 -lm
123 simmons 3.17
124 gwlarson 3.20 $(DEVDIR)/ogl.hdi: rhd_ogl0.o rhdisp.o rhdisp2.o viewbeams.o \
125 gwlarson 3.18 rhd_odraw.o rhd_geom.o holo.o
126 simmons 3.17 $(CC) $(CFLAGS) -o $(DEVDIR)/ogl.hdi rhd_ogl0.o rhdisp.o rhdisp2.o \
127 gwlarson 3.20 viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrt -lGLU -lGL -lX11 -lm
128 simmons 3.17
129 gwlarson 3.20 $(DEVDIR)/oglo.hdi: rhd_oglo.o rhdisp.o rhdisp2.o viewbeams.o \
130 gwlarson 3.18 rhd_odraw.o rhd_geom.o holo.o rhdobj.o
131 simmons 3.17 $(CC) $(CFLAGS) -o $(DEVDIR)/oglo.hdi rhd_oglo.o rhdisp.o \
132 gwlarson 3.20 rhdisp2.o viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
133 simmons 3.17 -lrgl -lrt -lGLU -lGL -lX11 -lm
134    
135 gwlarson 3.20 $(DEVDIR)/ogls.hdi: rhd_ogls.o rhdisp.o rhdisp2.o viewbeams.o \
136 gwlarson 3.18 rhd_odraw.o rhd_geom.o holo.o
137 simmons 3.17 $(CC) $(CFLAGS) -o $(DEVDIR)/ogls.hdi rhd_ogls.o rhdisp.o rhdisp2.o \
138 gwlarson 3.20 viewbeams.o holo.o rhd_odraw.o rhd_geom.o \
139 simmons 3.17 -lrgl -lrt -lGLU -lGL -lX11 -lXext -lm
140    
141 gwlarson 3.20 $(DEVDIR)/oglso.hdi: rhd_oglso.o rhdisp.o rhdisp2.o viewbeams.o \
142 gwlarson 3.18 rhd_odraw.o rhd_geom.o holo.o rhdobj.o
143 simmons 3.17 $(CC) $(CFLAGS) -o $(DEVDIR)/oglso.hdi rhd_oglso.o rhdisp.o rhdisp2.o \
144 gwlarson 3.20 viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
145 simmons 3.17 -lrgl -lrt -lGLU -lGL -lX11 -lXext -lm
146    
147 gwlarson 3.14 rhd_glx0.o: rhd_glx.c
148     $(CC) $(CFLAGS) -c rhd_glx.c
149     mv -f rhd_glx.o rhd_glx0.o
150    
151     rhd_glxo.o: rhd_glx.c
152     $(CC) $(CFLAGS) -DDOBJ -c rhd_glx.c
153     mv -f rhd_glx.o rhd_glxo.o
154    
155     rhd_glxs.o: rhd_glx.c
156     $(CC) $(CFLAGS) -DSTEREO -c rhd_glx.c
157     mv -f rhd_glx.o rhd_glxs.o
158    
159     rhd_glxso.o: rhd_glx.c
160     $(CC) $(CFLAGS) -DDOBJ -DSTEREO -c rhd_glx.c
161     mv -f rhd_glx.o rhd_glxso.o
162    
163 simmons 3.17 rhd_ogl0.o: rhd_ogl.c
164     $(CC) $(CFLAGS) -c rhd_ogl.c
165     mv -f rhd_ogl.o rhd_ogl0.o
166    
167     rhd_oglo.o: rhd_ogl.c
168     $(CC) $(CFLAGS) -DDOBJ -c rhd_ogl.c
169     mv -f rhd_ogl.o rhd_oglo.o
170    
171     rhd_ogls.o: rhd_ogl.c
172     $(CC) $(CFLAGS) -DSTEREO -c rhd_ogl.c
173     mv -f rhd_ogl.o rhd_ogls.o
174    
175     rhd_oglso.o: rhd_ogl.c
176     $(CC) $(CFLAGS) -DDOBJ -DSTEREO -c rhd_ogl.c
177     mv -f rhd_ogl.o rhd_oglso.o
178    
179 gregl 3.2 rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
180 gwlarson 3.20 rhdisp.o rhdisp2.o rhpict.o viewbeams.o: rholo.h
181 gregl 3.2
182 gregl 3.6 rholo2l.o: ../common/paths.h
183    
184 gwlarson 3.20 rhpict2.o rholo3.o: ../common/view.h
185 gregl 3.2
186 gwlarson 3.20 rholo4.o: rhdisp.h
187    
188 gregl 3.2 rhdisp.o rhdisp2.o: rhdisp.h rhdriver.h ../common/view.h
189    
190 gwlarson 3.20 viewbeams.o: ../common/view.h ../common/random.h
191 gregl 3.2
192 gwlarson 3.20 rhpict.o: ../common/view.h ../common/resolu.h
193    
194     holo.o holofile.o rhdisp.o rhdisp2.o viewbeams.o genrhenv.o genrhgrid.o \
195 simmons 3.17 rhcopy.o rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
196 gwlarson 3.20 rhinfo.o clumpbeams.o rhoptimize.o rhpict.o rhpict2.o: holo.h \
197 gregl 3.1 ../common/vars.h ../common/color.h \
198 greg 3.23 ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
199     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
200 greg 3.24 ../common/rterror.h ../common/tifftypes.h
201 gregl 3.7
202 gwlarson 3.15 rhcopy.o: ../common/resolu.h ../common/view.h
203 gregl 3.7
204 simmons 3.17 rhd_x11.o rhd_qtree.o rhd_sets.o rhd_qtree2r.o rhd_odraw.o rhd_ogl0.o \
205     rhd_oglo.o rhd_ogls.o rhd_oglso.o: ../common/standard.h \
206 greg 3.23 ../common/rtmisc.h ../common/rtio.h \
207     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
208     ../common/rterror.h
209 gregl 3.10
210 gwlarson 3.14 rhd_x11.o rhd_qtree.o rhd_qtree2r.o: rhd_qtree.h rhdriver.h \
211 simmons 3.17 ../common/view.h ../common/tonemap.h ../common/color.h
212 gregl 3.2
213 simmons 3.17 rhd_x11.o: x11icon.h
214    
215 gwlarson 3.15 rhd_glxo.o rhd_glxso.o rhdobj.o: rhdobj.h
216    
217     rhdobj.o: rhdisp.h rhdriver.h ../common/view.h ../common/tonemap.h \
218 greg 3.23 ../common/radogl.h ../common/standard.h \
219     ../common/rtmisc.h ../common/rtio.h \
220     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
221     ../common/rterror.h \
222 gwlarson 3.15 ../common/object.h ../common/otypes.h ../common/lookup.h
223 gwlarson 3.14
224 simmons 3.17 rhd_glx1.o: rhd_qtree.h rhdriver.h x11icon.h ../common/view.h \
225 greg 3.23 ../common/color.h ../common/tonemap.h \
226     ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
227     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
228     ../common/rterror.h
229 simmons 3.17
230     rhd_odraw.o rhd_ogl0.o rhd_oglo.o rhd_ogls.o rhd_oglso.o: rhd_odraw.h \
231     rhdriver.h ../common/view.h ../common/color.h ../common/tonemap.h
232    
233     rhd_ogl0.o rhd_oglo.o rhd_ogls.o rhd_oglso.o: x11icon.h
234    
235     rhd_oglo.o rhd_oglso.o: rhdobj.h
236 gwlarson 3.18
237     rhd_geom.o: rhdriver.h ../common/view.h \
238 greg 3.23 ../common/radogl.h ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
239     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
240     ../common/rterror.h ../common/object.h ../common/otypes.h ../common/lookup.h
241 greg 3.21
242     Version.c: ../rt/Version.c
243     cp ../rt/Version.c .