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

# User Rev Content
1 greg 2.41 # RCSid: $Id: Rmakefile,v 2.40 2005/05/25 04:44:26 greg Exp $
2 greg 1.1 #
3 greg 2.10 # Radiance makefile for utility programs
4     #
5 greg 1.1
6 greg 1.16 MACH = -DBSD
7 greg 1.1
8     OPT = -O
9    
10 greg 2.31 CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH)
11 greg 1.1
12 greg 2.3 CC = cc
13    
14 gwlarson 2.28 SPECIAL =
15    
16 greg 1.14 INSTDIR = /usr/local/bin
17 greg 1.1
18 greg 2.12 LIBDIR = /usr/local/lib/ray
19    
20 greg 2.31 PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \
21 greg 2.40 vwrays xglaresrc rtcontrib
22 greg 1.1
23 gwlarson 2.30 all: $(PROGS)
24 greg 1.1
25 gwlarson 2.30 install: all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \
26     rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh
27 greg 1.1 cp $(PROGS) $(INSTDIR)
28     cp objview.csh $(INSTDIR)/objview
29 greg 2.17 cp objline.csh $(INSTDIR)/objline
30 greg 1.1 cp objpict.csh $(INSTDIR)/objpict
31 greg 1.9 cp glare.csh $(INSTDIR)/glare
32 greg 1.11 cp dayfact.csh $(INSTDIR)/dayfact
33 greg 1.15 cp debugcal.csh $(INSTDIR)/debugcal
34 greg 2.6 cp rlux.csh $(INSTDIR)/rlux
35 greg 2.10 cp raddepend.csh $(INSTDIR)/raddepend
36 gregl 2.25 cp compamb.csh $(INSTDIR)/compamb
37 greg 2.31 cp vinfo.csh $(INSTDIR)/vinfo
38 greg 2.37 cp genambpos.csh $(INSTDIR)/genambpos
39 greg 2.15 chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
40     $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
41 gregl 2.25 $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
42 greg 2.37 $(INSTDIR)/compamb $(INSTDIR)/vinfo $(INSTDIR)/genambpos
43 greg 2.16 csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
44 greg 1.1
45     clean:
46 greg 2.31 set nonomatch; rm -f *.o $(PROGS) glrad core
47 greg 1.1
48 gwlarson 2.27 ogl: glrad
49     cp glrad $(INSTDIR)
50 gwlarson 2.28
51     sgi:
52    
53     sun:
54 gwlarson 2.27
55 greg 1.12 findglare: findglare.o glareval.o glaresrc.o setscan.o
56 greg 2.3 $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
57 greg 2.10 setscan.o -lrt -lm
58 greg 1.7
59 greg 1.12 glarendx: glarendx.o
60 greg 2.10 $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
61 greg 1.3
62 greg 1.12 xglaresrc: xglaresrc.o x11findwind.o
63 greg 2.3 $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
64 greg 2.10 x11findwind.o -lrt -lX11 -lm
65 greg 1.4
66 greg 2.23 rad: rad.o
67     $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
68 greg 2.19
69 greg 2.23 ranimate: ranimate.o netproc.o
70     $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
71 greg 2.6
72 greg 2.34 ranimove: ranimove.o ranimove1.o ranimove2.o
73 greg 2.31 $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
74 greg 2.34 -lraycalls -lradiance -lrt -lm
75 greg 2.31
76 greg 2.5 rpiece: rpiece.o Version.o
77 greg 2.10 $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
78 greg 2.14
79 greg 2.40 rtcontrib: rtcontrib.o Version.o
80     $(CC) $(CFLAGS) -o rtcontrib rtcontrib.o Version.o -lrt -lm
81    
82 greg 2.14 vwright: vwright.o
83     $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
84 gregl 2.24
85     vwrays: vwrays.o
86     $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm
87 greg 2.22
88     getinfo: getinfo.o
89     $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
90 greg 2.4
91 gwlarson 2.27 glrad: glrad.o
92 gwlarson 2.29 $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
93     -lX11 -lXext -lm
94 gwlarson 2.27
95 greg 2.39 setscan.o: setscan.h
96 greg 1.3
97     findglare.o glareval.o \
98 greg 2.35 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 greg 2.38 ../common/rterror.h ../common/tifftypes.h \
102 greg 2.35 ../common/view.h ../common/color.h setscan.h
103 greg 1.10
104 greg 1.12 glaresrc.o: ../common/linregr.h
105 greg 1.3
106 greg 2.4 rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h
107    
108 greg 2.41 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 greg 2.40
112 greg 2.41 rad.o ranimate.o rpiece.o rtcontrib.o xglaresrc.o: ../common/standard.h \
113 greg 2.35 ../common/rtmisc.h ../common/rtio.h \
114     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
115 greg 2.38 ../common/rterror.h ../common/tifftypes.h
116 greg 2.4
117     xglaresrc.o: ../common/view.h
118 greg 1.3
119 greg 1.18 glareval.o xglaresrc.o: ../common/resolu.h
120 greg 2.18
121 greg 2.23 rad.o ranimate.o: ../common/vars.h
122 greg 2.20
123 greg 2.31 ranimove1.o ranimove2.o: ../common/random.h
124    
125 greg 2.20 rad.o: ../common/paths.h
126    
127     ranimate.o netproc.o: netproc.h
128    
129 greg 2.31 ranimove1.o: ../common/otypes.h
130    
131 greg 2.21 netproc.o: ../common/paths.h
132    
133 greg 2.31 rad.o ranimate.o ranimove.o: ../common/view.h ../common/resolu.h
134 gwlarson 2.27
135     glrad.o: ../common/radogl.h \
136 greg 2.35 ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
137     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
138 greg 2.38 ../common/rterror.h ../common/tifftypes.h \
139 gwlarson 2.27 ../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 greg 2.31
143     ranimove.o ranimove1.o ranimove2.o: ranimove.h \
144     ../common/vars.h ../common/view.h \
145 greg 2.35 ../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 greg 2.38 ../common/rterror.h ../common/tifftypes.h
150 greg 2.31
151     Version.c: ../rt/Version.c
152     cp ../rt/Version.c .
153    
154     x11findwind.c: ../common/x11findwind.c
155     cp ../common/x11findwind.c .