1 |
< |
# SCCSid "$SunId$ LBL" |
2 |
< |
|
1 |
> |
# RCSid: $Id$ |
2 |
|
# |
3 |
< |
# Compiles for ray tracing programs. |
3 |
> |
# Compiles for ray tracing programs. |
4 |
|
# |
5 |
|
|
6 |
|
OPT = -O |
7 |
< |
MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/f68881.il |
8 |
< |
CFLAGS = $(MACH) $(OPT) |
7 |
> |
MACH = -DBSD |
8 |
> |
CFLAGS = -I../common -L../lib $(OPT) $(MACH) |
9 |
> |
SPECIAL = |
10 |
> |
CC = cc |
11 |
> |
MLIB = -lm |
12 |
> |
LINT = lint |
13 |
> |
LINTFLAGS = -DBSD |
14 |
|
|
15 |
|
# |
16 |
|
# The following are user-definable: |
17 |
|
# |
18 |
|
DESTDIR = . |
19 |
< |
INSTDIR = /usr/local/ray |
19 |
> |
INSTDIR = /usr/local/bin |
20 |
|
INSTALL = cp |
21 |
|
|
22 |
|
# |
23 |
|
# The following paths must exist and be relative to root: |
24 |
|
# |
25 |
< |
DEVDIR = $(INSTDIR) |
25 |
> |
DEVDIR = $(INSTDIR)/dev |
26 |
|
LIBDIR = /usr/local/lib/ray |
27 |
|
|
28 |
|
# |
29 |
|
# Library routines: |
30 |
|
# |
31 |
< |
LIBS = -lm |
32 |
< |
COMPAT = malloc.o |
31 |
> |
RLIB = ../lib/libradiance.a |
32 |
> |
RCLIB = ../lib/libraycalls.a |
33 |
> |
LIBS = -lrtrad $(MLIB) |
34 |
|
|
35 |
|
# |
36 |
< |
# Device drivers for rview (see also devtable.c): |
36 |
> |
# Device drivers for rvu (see also devtable.c): |
37 |
|
# |
38 |
< |
DOBJS = devtable.o devcomm.o aed.o tty.o editline.o x10.o xtwind.o \ |
38 |
> |
DOBJS = devtable.o devcomm.o editline.o x11.o x11twind.o \ |
39 |
|
colortab.o |
40 |
< |
DLIBS = -lX |
41 |
< |
DRIVERS = $(DEVDIR)/sundev $(DEVDIR)/sun.com $(DEVDIR)/x11dev |
40 |
> |
DSRC = devtable.c devcomm.c editline.c x11.c x11twind.c \ |
41 |
> |
colortab.c |
42 |
> |
DLIBS = -lX11 |
43 |
|
|
44 |
|
# |
45 |
|
# Standard object files: |
46 |
|
# |
47 |
|
|
48 |
< |
RTOBJS = rtmain.o rtrace.o $(ROBJS) |
48 |
> |
RTOBJS = rtmain.o rtrace.o duphead.o persist.o |
49 |
> |
RTSRC = rtmain.c rtrace.c duphead.c persist.c |
50 |
|
|
51 |
< |
RPOBJS = rpmain.o rpict.o image.o $(ROBJS) |
51 |
> |
RPOBJS = rpmain.o rpict.o srcdraw.o duphead.o persist.o |
52 |
> |
RPSRC = rpmain.c rpict.c srcdraw.c duphead.c persist.c |
53 |
|
|
54 |
< |
RVOBJS = rvmain.o rview.o rv2.o rv3.o image.o $(DOBJS) $(ROBJS) |
54 |
> |
RVOBJS = rvmain.o rview.o rv2.o rv3.o $(DOBJS) |
55 |
> |
RVSRC = rvmain.c rview.c rv2.c rv3.c $(DSRC) |
56 |
|
|
57 |
< |
ROBJS = $(OCTOBJS) $(RAYOBJS) $(SURFOBJS) $(MATOBJS) \ |
58 |
< |
$(MODOBJS) $(SUPPOBJS) $(MISCOBJS) $(COMPAT) |
57 |
> |
RCOBJS = rcmain.o rcontrib.o rc2.o rc3.o |
58 |
> |
RCSRC = rcmain.c rcontrib.c rc2.c rc3.c |
59 |
|
|
60 |
< |
OCTOBJS = octree.o readobj.o readoct.o objset.o otypes.o |
60 |
> |
RLOBJS = raycalls.o raypcalls.o rayfifo.o |
61 |
> |
RLSRC = raycalls.c raypcalls.c rayfifo.c |
62 |
|
|
63 |
< |
RAYOBJS = raytrace.o ambient.o |
63 |
> |
ROBJS = $(RAYOBJS) $(SURFOBJS) $(MATOBJS) \ |
64 |
> |
$(MODOBJS) $(SUPPOBJS) $(PMOBJS) |
65 |
> |
RSRC = $(RAYSRC) $(SURFSRC) $(MATSRC) \ |
66 |
> |
$(MODSRC) $(SUPPSRC) |
67 |
|
|
68 |
< |
SURFOBJS = face.o sphere.o source.o o_face.o cone.o \ |
69 |
< |
o_cone.o o_instance.o instance.o |
68 |
> |
RAYOBJS = ambcomp.o ambient.o ambio.o freeobjmem.o initotypes.o \ |
69 |
> |
preload.o raytrace.o renderopts.o |
70 |
> |
RAYSRC = ambcomp.c ambient.c ambio.c freeobjmem.c initotypes.c \ |
71 |
> |
preload.c raytrace.c renderopts.c |
72 |
|
|
73 |
< |
MATOBJS = normal.o dielectric.o m_clip.o glass.o |
73 |
> |
SURFOBJS = source.o sphere.o srcobstr.o srcsupp.o srcsamp.o virtuals.o \ |
74 |
> |
o_face.o o_cone.o o_instance.o o_mesh.o |
75 |
> |
SURFSRC = sphere.c source.c srcobstr.c srcsupp.c srcsamp.c virtuals.c \ |
76 |
> |
o_face.c srcsamp.c o_cone.c o_instance.c o_mesh.c |
77 |
|
|
78 |
+ |
MATOBJS = aniso.o normal.o dielectric.o m_clip.o glass.o m_brdf.o \ |
79 |
+ |
m_mirror.o m_direct.o m_mist.o fprism.o m_alias.o m_bsdf.o \ |
80 |
+ |
ashikhmin.o |
81 |
+ |
MATSRC = aniso.c normal.c dielectric.c m_clip.c glass.c m_brdf.c \ |
82 |
+ |
m_mirror.c m_direct.c m_mist.c fprism.c m_alias.c m_bsdf.c \ |
83 |
+ |
ashikhmin.c |
84 |
+ |
|
85 |
|
MODOBJS = p_func.o t_func.o p_data.o t_data.o text.o mx_func.o mx_data.o |
86 |
+ |
MODSRC = p_func.c t_func.c p_data.c t_data.c text.c mx_func.c mx_data.c |
87 |
|
|
88 |
< |
SUPPOBJS = zeroes.o calexpr.o caldefn.o calfunc.o func.o noise3.o data.o |
88 |
> |
SUPPOBJS = func.o noise3.o data.o |
89 |
> |
SUPPSRC = func.c noise3.c data.c |
90 |
|
|
91 |
< |
MISCOBJS = misc.o color.o header.o mat4.o xf.o fvect.o savestr.o \ |
92 |
< |
fgetline.o ealloc.o |
91 |
> |
PMOBJS = pmap.o pmapsrc.o pmapmat.o pmaprand.o pmapio.o pmapdata.o \ |
92 |
> |
pmapbias.o pmapparm.o pmapcontrib.o pmapamb.o pmapray.o pmapopt.o \ |
93 |
> |
pmapdiag.o pmaptype.o oocmorton.o oococt.o oocsort.o oocbuild.o \ |
94 |
> |
oocnn.o ooccache.o pmutil.o pmcontrib2.o |
95 |
> |
PMSRC = pmap.c pmapsrc.c pmapmat.c pmaprand.c pmapio.c pmapdata.c \ |
96 |
> |
pmapbias.c pmapparm.c pmapcontrib.c pmapamb.c pmapray.c pmapopt.c \ |
97 |
> |
pmapdiag.c pmaptype.c pmapkdt.c pmapooc.c oocmorton.c oococt.c \ |
98 |
> |
oocsort.c oocbuild.c oocnn.c ooccache.c pmutil.c pmcontrib2.c |
99 |
|
|
100 |
+ |
HEADERS = ambient.h ray.h data.h otspecial.h source.h |
101 |
+ |
|
102 |
|
# |
103 |
|
# What this makefile produces: |
104 |
|
# |
105 |
|
|
106 |
< |
PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rview $(DESTDIR)/lookamb |
106 |
> |
PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rvu $(DESTDIR)/rcontrib \ |
107 |
> |
$(DESTDIR)/lookamb $(DESTDIR)/mkpmap $(DESTDIR)/pmapdump |
108 |
|
|
109 |
< |
all: $(PROGS) $(DRIVERS) |
109 |
> |
all: $(PROGS) $(RCLIB) $(SPECIAL) |
110 |
|
|
111 |
< |
install: all |
111 |
> |
install: all rayinit.cal |
112 |
|
$(INSTALL) $(PROGS) $(INSTDIR) |
113 |
+ |
cd $(INSTDIR) ; rm -f rview ; ln -s rvu rview |
114 |
+ |
cd $(INSTDIR) ; rm -f rtcontrib ; ln -s rcontrib rtcontrib |
115 |
+ |
rm -f $(LIBDIR)/rayinit.cal |
116 |
+ |
cp rayinit.cal $(LIBDIR) |
117 |
|
|
118 |
+ |
ogl: |
119 |
+ |
|
120 |
|
clean: |
121 |
< |
rm -f *.o core |
121 |
> |
set nonomatch; rm -f $(PROGS) *.o |
122 |
|
|
123 |
+ |
lint: $(RVSRC) |
124 |
+ |
$(LINT) $(LINTFLAGS) -DRVIEW $(RVSRC) $(LIBS) |
125 |
+ |
|
126 |
|
# |
127 |
|
# Links: |
128 |
|
# |
129 |
|
|
130 |
< |
$(DESTDIR)/rtrace: $(RTOBJS) |
131 |
< |
cc $(CFLAGS) -o $(DESTDIR)/rtrace $(RTOBJS) $(LIBS) |
130 |
> |
$(DESTDIR)/rtrace: $(RTOBJS) $(RCLIB) $(RLIB) |
131 |
> |
$(CC) $(CFLAGS) -o $(DESTDIR)/rtrace $(RTOBJS) $(RCLIB) $(RLIB) $(LIBS) |
132 |
|
|
133 |
< |
$(DESTDIR)/rpict: $(RPOBJS) |
134 |
< |
cc $(CFLAGS) -o $(DESTDIR)/rpict $(RPOBJS) $(LIBS) |
133 |
> |
$(DESTDIR)/rpict: $(RPOBJS) $(RLIB) |
134 |
> |
$(CC) $(CFLAGS) -o $(DESTDIR)/rpict $(RPOBJS) $(RLIB) $(LIBS) |
135 |
|
|
136 |
< |
$(DESTDIR)/rview: $(RVOBJS) |
137 |
< |
cc $(CFLAGS) -o $(DESTDIR)/rview $(RVOBJS) $(DLIBS) $(LIBS) |
136 |
> |
$(DESTDIR)/rvu: $(RVOBJS) $(RCLIB) $(RLIB) |
137 |
> |
$(CC) $(CFLAGS) -o $(DESTDIR)/rvu $(RVOBJS) $(RCLIB) \ |
138 |
> |
$(RLIB) $(LIBS) $(DLIBS) |
139 |
|
|
140 |
< |
$(DESTDIR)/lookamb: lookamb.o |
141 |
< |
cc $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o |
140 |
> |
$(DESTDIR)/rcontrib: $(RCOBJS) $(RLIB) |
141 |
> |
$(CC) $(CFLAGS) -o $(DESTDIR)/rcontrib $(RCOBJS) $(RLIB) $(LIBS) |
142 |
|
|
143 |
< |
$(DEVDIR)/sundev: sundev.o devmain.o colortab.o editline.o |
144 |
< |
cc $(CFLAGS) -o $(DEVDIR)/sundev devmain.o sundev.o colortab.o \ |
99 |
< |
editline.o -lsuntool -lsunwindow -lpixrect $(LIBS) |
143 |
> |
$(DESTDIR)/lookamb: lookamb.o ambio.o |
144 |
> |
$(CC) $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o ambio.o $(LIBS) |
145 |
|
|
146 |
< |
$(DEVDIR)/sun.com: suncom.o editline.o |
147 |
< |
cc $(CFLAGS) -o $(DEVDIR)/sun.com suncom.o editline.o |
146 |
> |
$(DESTDIR)/mkpmap: mkpmap.o $(RLIB) |
147 |
> |
$(CC) $(CFLAGS) -o $(DESTDIR)/mkpmap mkpmap.o $(RLIB) $(LIBS) |
148 |
|
|
149 |
< |
$(DEVDIR)/x11dev: x11.o x11twind.o colortab.o devmain.o editline.o |
150 |
< |
cc $(CFLAGS) -o $(DEVDIR)/x11dev x11.o x11twind.o devmain.o \ |
106 |
< |
colortab.o editline.o -lX11 $(LIBS) |
149 |
> |
$(DESTDIR)/pmapdump: pmapdump.o pmaptype.o pmapparm.o |
150 |
> |
$(CC) $(CFLAGS) -o pmapdump pmapdump.o pmaptype.o pmapparm.o $(LIBS) |
151 |
|
|
152 |
+ |
$(RLIB): $(ROBJS) Version.o |
153 |
+ |
rm -f $(RLIB) |
154 |
+ |
ar rc $(RLIB) $(ROBJS) Version.o |
155 |
+ |
-ranlib $(RLIB) |
156 |
+ |
|
157 |
+ |
$(RCLIB): $(RLOBJS) |
158 |
+ |
rm -f $(RCLIB) |
159 |
+ |
ar rc $(RCLIB) $(RLOBJS) |
160 |
+ |
-ranlib $(RCLIB) |
161 |
+ |
|
162 |
|
# |
163 |
< |
# Special compiles: |
163 |
> |
# Uncomment the following to model dispersion: |
164 |
|
# |
165 |
+ |
dielectric.o: dielectric.c source.h |
166 |
+ |
$(CC) $(CFLAGS) -DDISPERSE -c dielectric.c |
167 |
|
|
168 |
< |
rtmain.o: rmain.c |
113 |
< |
cc $(CFLAGS) -DRTRACE -DNICE=4 -DDEFPATH=\":$(LIBDIR)\" -c rmain.c |
114 |
< |
mv rmain.o rtmain.o |
168 |
> |
# end of dispersion compiles. |
169 |
|
|
170 |
< |
rpmain.o: rmain.c |
171 |
< |
cc $(CFLAGS) -DRPICT -DNICE=6 -DDEFPATH=\":$(LIBDIR)\" -c rmain.c |
118 |
< |
mv rmain.o rpmain.o |
170 |
> |
devcomm.o: devcomm.c |
171 |
> |
$(CC) $(CFLAGS) -DDEVPATH=\"$(DEVDIR)\" -c devcomm.c |
172 |
|
|
120 |
– |
rvmain.o: rmain.c |
121 |
– |
cc $(CFLAGS) -DRVIEW -DDEFPATH=\":$(LIBDIR)\" -c rmain.c |
122 |
– |
mv rmain.o rvmain.o |
123 |
– |
|
173 |
|
# |
174 |
< |
# Uncomment the following to model dispersion: |
174 |
> |
# Version module: |
175 |
|
# |
176 |
< |
#dielectric.o: dielectric.c source.h |
177 |
< |
# cc $(CFLAGS) -DDISPERSE -c dielectric.c |
176 |
> |
|
177 |
> |
Version.c: VERSION $(RSRC) $(HEADERS) |
178 |
> |
( cat VERSION ; date ; whoami ; hostname ) > Version.c |
179 |
> |
ed - Version.c < verscript.ed |
180 |
> |
|
181 |
|
# |
182 |
< |
#color.o: color.c color.h |
131 |
< |
# cc $(CFLAGS) -DSPEC_RGB -c color.c |
182 |
> |
# Include dependencies: |
183 |
|
# |
133 |
– |
# end of dispersion compiles. |
184 |
|
|
185 |
< |
sundev.o: sundev.c |
186 |
< |
cc $(CFLAGS) -Dsun_init=dinit -c sundev.c |
185 |
> |
ambio.o colortab.o data.o devcomm.o \ |
186 |
> |
devmain.o lookamb.o rview.o x11.o: ../common/color.h |
187 |
|
|
188 |
< |
x11.o: x11.c |
139 |
< |
cc $(CFLAGS) -Dx11_init=dinit -c x11.c |
188 |
> |
freeobjmem.o o_cone.o srcsupp.o: ../common/cone.h |
189 |
|
|
190 |
< |
ambient.o: ambient.c |
191 |
< |
cc $(CFLAGS) -DAMBFLUSH=16 -c ambient.c |
190 |
> |
data.o freeobjmem.o m_brdf.o mx_data.o \ |
191 |
> |
p_data.o raycalls.o t_data.o: data.h |
192 |
|
|
193 |
< |
calexpr.o: calexpr.c calcomp.h |
194 |
< |
cc $(CFLAGS) -DVARIABLE -DFUNCTION -DINCHAN -DRCONST -c calexpr.c |
193 |
> |
devcomm.o devmain.o devtable.o \ |
194 |
> |
editline.o x11.o: driver.h |
195 |
|
|
196 |
< |
caldefn.o: caldefn.c calcomp.h |
148 |
< |
cc $(CFLAGS) -DFUNCTION -c caldefn.c |
196 |
> |
freeobjmem.o o_face.o srcsupp.o: ../common/face.h |
197 |
|
|
198 |
< |
calfunc.o: calfunc.c calcomp.h |
199 |
< |
cc $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c |
198 |
> |
ambient.o raytrace.o rpmain.o rtmain.o \ |
199 |
> |
rtrace.o rvmain.o rv2.o rv3.o: ../common/octree.h |
200 |
|
|
201 |
< |
xf.o: xf.c |
154 |
< |
cc $(CFLAGS) -DINVXF -c xf.c |
201 |
> |
o_instance.o: ../common/instance.h |
202 |
|
|
203 |
+ |
ambient.o aniso.o ashikhmin.o dielectric.o freeobjmem.o func.o glass.o \ |
204 |
+ |
initotypes.o m_brdf.o m_bsdf.o m_direct.o m_mirror.o normal.o o_cone.o \ |
205 |
+ |
preload.o raycalls.o raytrace.o rtrace.o rv2.o source.o sphere.o \ |
206 |
+ |
srcsupp.o text.o srcdraw.o srcobstr.o virtuals.o: ../common/otypes.h |
207 |
+ |
|
208 |
+ |
ambient.o ambcomp.o aniso.o ashikhmin.o normal.o raycalls.o raytrace.o \ |
209 |
+ |
rpict.o rvmain.o rtmain.o rpmain.o rcmain.o persist.o source.o rv3.o \ |
210 |
+ |
srcsamp.o virtuals.o: ../common/random.h |
211 |
+ |
|
212 |
+ |
ambcomp.o ambient.o aniso.o ashikhmin.o dielectric.o freeobjmem.o func.o \ |
213 |
+ |
glass.o m_bsdf.o m_brdf.o m_clip.o m_direct.o m_mirror.o m_mist.o mx_data.o \ |
214 |
+ |
o_mesh.o mx_func.o normal.o o_cone.o o_face.o o_instance.o p_data.o p_func.o \ |
215 |
+ |
raycalls.o raypcalls.o rayfifo.o raytrace.o rpict.o rtrace.o rv2.o rv3.o rview.o \ |
216 |
+ |
source.o sphere.o srcdraw.o srcobstr.o srcsamp.o srcsupp.o t_data.o t_func.o \ |
217 |
+ |
text.o rpmain.o rtmain.o rvmain.o virtuals.o m_alias.o rcmain.o \ |
218 |
+ |
rcontrib.o rc2.o rc3.o: ray.h \ |
219 |
+ |
../common/standard.h ../common/rtmisc.h ../common/rtio.h ../common/rtmath.h \ |
220 |
+ |
../common/rterror.h ../common/octree.h \ |
221 |
+ |
../common/mat4.h ../common/fvect.h ../common/object.h ../common/color.h |
222 |
+ |
|
223 |
+ |
rv2.o rv3.o rview.o: rpaint.h driver.h ../common/view.h ../common/resolu.h |
224 |
+ |
|
225 |
+ |
m_direct.o m_mirror.o m_mist.o dielectric.o raycalls.o \ |
226 |
+ |
rpict.o rpmain.o rtmain.o rvmain.o rv2.o source.o srcdraw.o \ |
227 |
+ |
srcobstr.o srcsamp.o srcsupp.o virtuals.o: source.h |
228 |
+ |
|
229 |
+ |
cone.o data.o devcomm.o initotypes.o fprism.o preload.o \ |
230 |
+ |
duphead.o octree.o: ../common/standard.h ../common/rtmisc.h \ |
231 |
+ |
../common/rtio.h ../common/rtmath.h \ |
232 |
+ |
../common/rterror.h ../common/mat4.h ../common/fvect.h |
233 |
+ |
|
234 |
+ |
ambio.o: ../common/fvect.h |
235 |
+ |
|
236 |
+ |
ambient.o initotypes.o srcobstr.o raytrace.o: otspecial.h |
237 |
+ |
|
238 |
+ |
rpmain.o rtmain.o rvmain.o rpict.o \ |
239 |
+ |
srcdraw.o: ../common/view.h ../common/resolu.h |
240 |
+ |
|
241 |
+ |
rpict.o: ../common/hilbert.h |
242 |
+ |
|
243 |
+ |
x11.o x11twind.o: x11twind.h |
244 |
+ |
|
245 |
+ |
x11.o: x11icon.h |
246 |
+ |
|
247 |
+ |
ambient.o ambcomp.o ambio.o lookamb.o raycalls.o: ambient.h |
248 |
+ |
|
249 |
+ |
data.o rpmain.o rtmain.o rvmain.o rpict.o rtrace.o \ |
250 |
+ |
rv2.o: ../common/resolu.h |
251 |
+ |
|
252 |
+ |
aniso.o func.o m_brdf.o m_direct.o mx_data.o mx_func.o p_data.o \ |
253 |
+ |
p_func.o t_data.o t_func.o: func.h ../common/calcomp.h |
254 |
+ |
|
255 |
+ |
preload.o: data.h func.h ../common/object.h ../common/face.h \ |
256 |
+ |
../common/cone.h ../common/instance.h ../common/mesh.h \ |
257 |
+ |
../common/color.h ../common/bsdf.h ../common/otypes.h |
258 |
+ |
|
259 |
+ |
rtmain.o rpmain.o rvmain.o persist.o duphead.o \ |
260 |
+ |
renderopts.o rpict.o: ../common/paths.h |
261 |
+ |
|
262 |
+ |
freeobjmem.o raycalls.o text.o: ../common/font.h |
263 |
+ |
|
264 |
+ |
raypcalls.o: ../common/selcall.h |
265 |
+ |
|
266 |
+ |
o_mesh.o: ../common/mesh.h |
267 |
+ |
|
268 |
+ |
noise3.o: ../common/calcomp.h |
269 |
+ |
|
270 |
+ |
aniso.o ashikhmin.o dielectric.o freeobjmem.o glass.o initotypes.o \ |
271 |
+ |
m_alias.o m_brdf.o m_clip.o m_direct.o m_mirror.o m_mist.o \ |
272 |
+ |
mx_data.o mx_func.o normal.o o_cone.o o_face.o o_instance.o \ |
273 |
+ |
o_mesh.o p_data.o p_func.o source.o sphere.o t_data.o t_func.o \ |
274 |
+ |
srcobstr.o text.o: rtotypes.h |
275 |
+ |
|
276 |
+ |
m_bsdf.o: ambient.h source.h func.h \ |
277 |
+ |
../common/calcomp.h ../common/bsdf.h ../common/random.h |
278 |
+ |
|
279 |
+ |
rcmain.o rcontrib.o rc2.o rc3.o: rcontrib.h \ |
280 |
+ |
../common/platform.h ../common/paths.h ../common/lookup.h \ |
281 |
+ |
func.h ../common/calcomp.h ../common/rtprocess.h |
282 |
+ |
|
283 |
+ |
ambient.o rcmain.o: source.h ambient.h |
284 |
+ |
|
285 |
+ |
rcontrib.o: source.h ../common/otypes.h |
286 |
+ |
|
287 |
+ |
rc2.o: ../common/resolu.h |
288 |
+ |
|
289 |
+ |
rc3.o: ../common/selcall.h |
290 |
+ |
|
291 |
|
# |
292 |
< |
# Include dependencies: |
292 |
> |
# Photon map include dependencies (via 'gcc -MM -I../common') |
293 |
|
# |
294 |
+ |
ambient.o: pmapparm.h pmaptype.h pmapamb.h pmapdata.h |
295 |
|
|
296 |
< |
caldefn.o calexpr.o calfunc.o: calcomp.h |
296 |
> |
dielectric.o glass.o normal.o m_brdf.o m_bsdf.o ashikhmin.o aniso.o: \ |
297 |
> |
pmapparm.h pmaptype.h pmapmat.h pmap.h pmapdata.h |
298 |
> |
|
299 |
> |
raycalls.o rpmain.o rcmain.o rtmain.o rvmain.o: \ |
300 |
> |
pmapparm.h pmaptype.h pmapray.h |
301 |
> |
|
302 |
> |
rcmain.o: pmapparm.h pmaptype.h pmapray.h pmapcontrib.h pmapdata.h |
303 |
> |
|
304 |
> |
raytrace.o: pmapparm.h pmaptype.h pmap.h pmapdata.h |
305 |
|
|
306 |
< |
aed.o color.o colortab.o data.o devcomm.o \ |
163 |
< |
devmain.o lookamb.o rview.o sundev.o x10.o: color.h |
306 |
> |
renderopts.o: pmapparm.h pmaptype.h pmapopt.h |
307 |
|
|
308 |
< |
cone.o o_cone.o source.o: cone.h |
308 |
> |
rpict.o: pmapparm.h pmaptype.h pmapbias.h pmapdata.h pmapdiag.h |
309 |
|
|
310 |
< |
data.o mx_data.o p_data.o t_data.o: data.h |
310 |
> |
source.o: pmapparm.h pmaptype.h pmap.h pmapdata.h pmapsrc.h |
311 |
|
|
312 |
< |
aed.o devcomm.o devmain.o devtable.o \ |
313 |
< |
editline.o sundev.o tty.o x10.o: driver.h |
312 |
> |
pmapamb.o: pmapamb.c pmapamb.h pmapdata.h ray.h ../common/standard.h \ |
313 |
> |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
314 |
> |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
315 |
> |
../common/rterror.h ../common/octree.h ../common/object.h \ |
316 |
> |
../common/color.h pmapparm.h pmaptype.h ../common/lookup.h pmap.h |
317 |
|
|
318 |
< |
face.o o_face.o source.o: face.h |
318 |
> |
pmapbias.o: pmapbias.c pmapbias.h pmapdata.h ray.h ../common/standard.h \ |
319 |
> |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
320 |
> |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
321 |
> |
../common/rterror.h ../common/octree.h ../common/object.h \ |
322 |
> |
../common/color.h pmapparm.h pmaptype.h ../common/lookup.h pmap.h \ |
323 |
> |
pmaprand.h |
324 |
|
|
325 |
< |
fvect.o: fvect.h |
325 |
> |
pmap.o: pmap.c pmap.h pmapparm.h pmaptype.h pmapdata.h ray.h \ |
326 |
> |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
327 |
> |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
328 |
> |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
329 |
> |
../common/object.h ../common/color.h ../common/paths.h \ |
330 |
> |
../common/lookup.h pmapkdt.h pmapooc.h pmapmat.h pmapsrc.h source.h pmaprand.h \ |
331 |
> |
pmapio.h pmapbias.h pmapdiag.h ../common/platform.h ../common/otypes.h |
332 |
|
|
333 |
< |
cone.o face.o objset.o otypes.o readobj.o readoct.o: object.h |
333 |
> |
pmapcontrib.o: pmapcontrib.c pmapcontrib.h pmapdata.h ray.h \ |
334 |
> |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
335 |
> |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
336 |
> |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
337 |
> |
../common/object.h ../common/color.h pmapparm.h pmaptype.h \ |
338 |
> |
../common/paths.h ../common/lookup.h pmapkdt.h pmapooc.h pmapmat.h pmap.h \ |
339 |
> |
pmapsrc.h source.h pmaprand.h pmapio.h pmapdiag.h ../common/platform.h \ |
340 |
> |
rcontrib.h ../common/rtprocess.h ../common/paths.h func.h \ |
341 |
> |
../common/calcomp.h ../common/otypes.h |
342 |
|
|
343 |
< |
ambient.o objset.o octree.o raytrace.o \ |
344 |
< |
readoct.o rmain.o rv2.o rv3.o source.o: octree.h |
343 |
> |
pmapdata.o: pmapdata.c pmapdata.h ray.h ../common/standard.h \ |
344 |
> |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
345 |
> |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
346 |
> |
../common/rterror.h ../common/octree.h ../common/object.h \ |
347 |
> |
../common/color.h pmapparm.h pmaptype.h ../common/paths.h \ |
348 |
> |
../common/lookup.h pmapkdt.h pmapooc.h pmaprand.h pmapmat.h pmap.h \ |
349 |
> |
../common/otypes.h source.h rcontrib.h ../common/platform.h \ |
350 |
> |
../common/rtprocess.h ../common/paths.h func.h ../common/calcomp.h \ |
351 |
> |
../common/random.h pmapkdt.c pmapooc.c |
352 |
|
|
353 |
< |
o_instance.o instance.o: instance.h octree.h |
353 |
> |
pmapdiag.o: pmapdiag.c pmapdiag.h ../common/platform.h pmapdata.h ray.h \ |
354 |
> |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
355 |
> |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
356 |
> |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
357 |
> |
../common/object.h ../common/color.h pmapparm.h pmaptype.h \ |
358 |
> |
../common/lookup.h |
359 |
|
|
360 |
< |
ambient.o cone.o dielectric.o func.o normal.o o_cone.o otypes.o \ |
361 |
< |
text.o raytrace.o readobj.o readoct.o rtrace.o \ |
362 |
< |
rv2.o source.o sphere.o: otypes.h |
360 |
> |
pmapdump.o: pmapdump.c pmapio.h pmapdata.h ray.h ../common/standard.h \ |
361 |
> |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
362 |
> |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
363 |
> |
../common/rterror.h ../common/octree.h ../common/object.h \ |
364 |
> |
../common/color.h pmapparm.h pmaptype.h ../common/lookup.h \ |
365 |
> |
../common/rtio.h ../common/resolu.h |
366 |
|
|
367 |
< |
ambient.o rpict.o rv3.o source.o: random.h |
367 |
> |
pmapio.o: pmapio.c pmapio.h pmapdata.h ray.h ../common/standard.h \ |
368 |
> |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
369 |
> |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
370 |
> |
../common/rterror.h ../common/octree.h ../common/object.h \ |
371 |
> |
../common/color.h pmapparm.h pmaptype.h ../common/paths.h \ |
372 |
> |
../common/lookup.h pmapkdt.h pmapooc.h pmapdiag.h ../common/platform.h \ |
373 |
> |
../common/resolu.h |
374 |
|
|
375 |
< |
ambient.o dielectric.o func.o glass.o m_clip.o \ |
376 |
< |
mx_data.o mx_func.o normal.o o_cone.o o_face.o o_instance.o \ |
377 |
< |
p_data.o p_func.o text.o raytrace.o rmain.o rpict.o \ |
378 |
< |
rtrace.o rv2.o rv3.o source.o \ |
379 |
< |
sphere.o t_data.o t_func.o: ray.h standard.h fvect.h object.h color.h |
375 |
> |
pmapmat.o: pmapmat.c pmapmat.h pmap.h pmapparm.h pmaptype.h pmapdata.h \ |
376 |
> |
ray.h ../common/standard.h ../common/copyright.h ../common/rtio.h \ |
377 |
> |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
378 |
> |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
379 |
> |
../common/object.h ../common/color.h ../common/lookup.h pmaprand.h \ |
380 |
> |
../common/otypes.h data.h func.h ../common/calcomp.h ../common/bsdf.h \ |
381 |
> |
../common/ccolor.h |
382 |
|
|
383 |
< |
rv2.o rv3.o rview.o: rpaint.h driver.h view.h |
383 |
> |
pmapopt.o: pmapopt.c pmapparm.h pmaptype.h ../common/rtio.h \ |
384 |
> |
../common/rterror.h |
385 |
|
|
386 |
< |
source.o: source.h |
386 |
> |
pmapparm.o: pmapparm.c pmapparm.h pmaptype.h pmapdata.h ray.h \ |
387 |
> |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
388 |
> |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
389 |
> |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
390 |
> |
../common/object.h ../common/color.h ../common/paths.h \ |
391 |
> |
../common/lookup.h pmapkdt.h pmapooc.h |
392 |
|
|
393 |
< |
cone.o data.o devcomm.o face.o image.o misc.o objset.o octree.o otypes.o \ |
394 |
< |
readobj.o readoct.o rview.o: standard.h fvect.h |
393 |
> |
pmapray.o: pmapray.c pmapray.h ray.h ../common/standard.h \ |
394 |
> |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
395 |
> |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
396 |
> |
../common/rterror.h ../common/octree.h ../common/object.h \ |
397 |
> |
../common/color.h pmapparm.h pmaptype.h pmap.h pmapdata.h \ |
398 |
> |
../common/lookup.h |
399 |
|
|
400 |
< |
sundev.o: suntools.icon |
400 |
> |
pmapsrc.o: pmapsrc.c pmapsrc.h ray.h ../common/standard.h \ |
401 |
> |
../common/copyright.h ../common/rtio.h ../common/rtmisc.h \ |
402 |
> |
../common/rtmath.h ../common/tiff.h ../common/mat4.h ../common/fvect.h \ |
403 |
> |
../common/rterror.h ../common/octree.h ../common/object.h \ |
404 |
> |
../common/color.h pmapparm.h pmaptype.h source.h pmap.h pmapdata.h \ |
405 |
> |
../common/lookup.h pmaprand.h ../common/otypes.h |
406 |
|
|
407 |
< |
image.o rmain.o rpict.o: view.h |
407 |
> |
pmutil.o: pmap.h pmapio.h pmapdata.h pmapparm.h pmaptype.h pmapbias.h \ |
408 |
> |
../common/otypes.h |
409 |
|
|
410 |
< |
x10.o xtwind.o: xtwind.h |
410 |
> |
pmaptype.o: pmaptype.c pmaptype.h |
411 |
|
|
412 |
< |
x11.o x11twind.o: x11twind.h |
412 |
> |
mkpmap.o: mkpmap.c pmap.h pmapparm.h pmaptype.h pmapdata.h ray.h \ |
413 |
> |
../common/standard.h ../common/copyright.h ../common/rtio.h \ |
414 |
> |
../common/rtmisc.h ../common/rtmath.h ../common/tiff.h ../common/mat4.h \ |
415 |
> |
../common/fvect.h ../common/rterror.h ../common/octree.h \ |
416 |
> |
../common/object.h ../common/color.h ../common/paths.h \ |
417 |
> |
../common/lookup.h pmapkdt.h pmapooc.h pmapmat.h pmapcontrib.h pmaprand.h \ |
418 |
> |
ambient.h ../common/resolu.h source.h |
419 |
> |
|
420 |
> |
oococt.o: oococt.c oococt.h oocsort.h ooccache.h \ |
421 |
> |
../common/rtio.h ../common/fvect.h |
422 |
> |
|
423 |
> |
ooccache.o: ooccache.c ooccache.h |
424 |
> |
|
425 |
> |
oocsort.o: oocsort.c oocsort.h ../common/fvect.h |
426 |
> |
|
427 |
> |
oocbuild.o: oocbuild.c oocbuild.h oocsort.h oococt.h |
428 |
> |
|
429 |
> |
oocnn.o: oocnn.c oocnn.h oococt.h oocsort.h |