ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/Rmakefile
Revision: 2.41
Committed: Thu May 26 17:53:28 2005 UTC (18 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P2, rad3R7P1
Changes since 2.40: +5 -5 lines
Log Message:
Made ASCII input more robust (one ray per line criterion relaxed)

File Contents

# Content
1 # RCSid: $Id: Rmakefile,v 2.40 2005/05/25 04:44:26 greg Exp $
2 #
3 # Radiance makefile for utility programs
4 #
5
6 MACH = -DBSD
7
8 OPT = -O
9
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 glarendx rpiece rad ranimate ranimove vwright getinfo \
21 vwrays xglaresrc rtcontrib
22
23 all: $(PROGS)
24
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 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 \
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) glrad core
47
48 ogl: glrad
49 cp glrad $(INSTDIR)
50
51 sgi:
52
53 sun:
54
55 findglare: findglare.o glareval.o glaresrc.o setscan.o
56 $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
57 setscan.o -lrt -lm
58
59 glarendx: glarendx.o
60 $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
61
62 xglaresrc: xglaresrc.o x11findwind.o
63 $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
64 x11findwind.o -lrt -lX11 -lm
65
66 rad: rad.o
67 $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
68
69 ranimate: ranimate.o netproc.o
70 $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
71
72 ranimove: ranimove.o ranimove1.o ranimove2.o
73 $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
74 -lraycalls -lradiance -lrt -lm
75
76 rpiece: rpiece.o Version.o
77 $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
78
79 rtcontrib: rtcontrib.o Version.o
80 $(CC) $(CFLAGS) -o rtcontrib rtcontrib.o Version.o -lrt -lm
81
82 vwright: vwright.o
83 $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
84
85 vwrays: vwrays.o
86 $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm
87
88 getinfo: getinfo.o
89 $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
90
91 glrad: glrad.o
92 $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
93 -lX11 -lXext -lm
94
95 setscan.o: setscan.h
96
97 findglare.o glareval.o \
98 glaresrc.o: glare.h ../common/standard.h \
99 ../common/rtmisc.h ../common/rtio.h \
100 ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
101 ../common/rterror.h ../common/tifftypes.h \
102 ../common/view.h ../common/color.h setscan.h
103
104 glaresrc.o: ../common/linregr.h
105
106 rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h
107
108 rtcontrib.o: ../common/platform.h ../common/rtprocess.h \
109 ../common/color.h ../common/resolu.h ../common/lookup.h \
110 ../common/calcomp.h ../common/selcall.h
111
112 rad.o ranimate.o rpiece.o rtcontrib.o xglaresrc.o: ../common/standard.h \
113 ../common/rtmisc.h ../common/rtio.h \
114 ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
115 ../common/rterror.h ../common/tifftypes.h
116
117 xglaresrc.o: ../common/view.h
118
119 glareval.o xglaresrc.o: ../common/resolu.h
120
121 rad.o ranimate.o: ../common/vars.h
122
123 ranimove1.o ranimove2.o: ../common/random.h
124
125 rad.o: ../common/paths.h
126
127 ranimate.o netproc.o: netproc.h
128
129 ranimove1.o: ../common/otypes.h
130
131 netproc.o: ../common/paths.h
132
133 rad.o ranimate.o ranimove.o: ../common/view.h ../common/resolu.h
134
135 glrad.o: ../common/radogl.h \
136 ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
137 ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
138 ../common/rterror.h ../common/tifftypes.h \
139 ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
140
141 glrad.o: glradicon.h ../common/view.h ../common/paths.h
142
143 ranimove.o ranimove1.o ranimove2.o: ranimove.h \
144 ../common/vars.h ../common/view.h \
145 ../rt/ray.h ../common/octree.h \
146 ../common/object.h ../common/color.h \
147 ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
148 ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
149 ../common/rterror.h ../common/tifftypes.h
150
151 Version.c: ../rt/Version.c
152 cp ../rt/Version.c .
153
154 x11findwind.c: ../common/x11findwind.c
155 cp ../common/x11findwind.c .