ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/Rmakefile
Revision: 2.36
Committed: Mon Nov 10 16:52:24 2003 UTC (20 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.35: +1 -3 lines
Log Message:
Eliminated fork() redeclaration and vfork.h

File Contents

# User Rev Content
1 greg 2.36 # RCSid: $Id: Rmakefile,v 2.35 2003/06/27 06:53:23 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     vwrays xglaresrc
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.15 chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
39     $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
40 gregl 2.25 $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
41 greg 2.31 $(INSTDIR)/compamb $(INSTDIR)/vinfo
42 greg 2.16 csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
43 greg 1.1
44     clean:
45 greg 2.31 set nonomatch; rm -f *.o $(PROGS) glrad core
46 greg 1.1
47 gwlarson 2.27 ogl: glrad
48     cp glrad $(INSTDIR)
49 gwlarson 2.28
50     x10:
51    
52     aed:
53    
54     sgi:
55    
56     sun:
57 gwlarson 2.27
58 greg 1.1 scanner: scanner.o
59 greg 2.10 $(CC) $(CFLAGS) -o scanner scanner.o -lm
60 greg 1.1
61 greg 1.12 makedist: makedist.o setscan.o
62 greg 2.10 $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
63 greg 1.1
64 greg 1.12 findglare: findglare.o glareval.o glaresrc.o setscan.o
65 greg 2.3 $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
66 greg 2.10 setscan.o -lrt -lm
67 greg 1.7
68 greg 1.12 glarendx: glarendx.o
69 greg 2.10 $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
70 greg 1.3
71 greg 1.12 xglaresrc: xglaresrc.o x11findwind.o
72 greg 2.3 $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
73 greg 2.10 x11findwind.o -lrt -lX11 -lm
74 greg 1.4
75 greg 2.23 rad: rad.o
76     $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
77 greg 2.19
78 greg 2.23 ranimate: ranimate.o netproc.o
79     $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
80 greg 2.6
81 greg 2.34 ranimove: ranimove.o ranimove1.o ranimove2.o
82 greg 2.31 $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
83 greg 2.34 -lraycalls -lradiance -lrt -lm
84 greg 2.31
85 greg 2.5 rpiece: rpiece.o Version.o
86 greg 2.10 $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
87 greg 2.14
88     vwright: vwright.o
89     $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
90 gregl 2.24
91     vwrays: vwrays.o
92     $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm
93 greg 2.22
94     getinfo: getinfo.o
95     $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
96 greg 2.4
97 gwlarson 2.27 glrad: glrad.o
98 gwlarson 2.29 $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
99     -lX11 -lXext -lm
100 gwlarson 2.27
101 greg 1.1 contour: contour.o
102 greg 2.10 $(CC) $(CFLAGS) -o contour contour.o -lm
103 greg 1.1
104     pranim: pranim.o client/libclient.a
105 greg 2.3 $(CC) $(CFLAGS) -o pranim pranim.o \
106 greg 1.1 client/libclient.a -lrpcsvc
107    
108     t16anim: t16anim.o client/libclient.a
109 greg 2.3 $(CC) $(CFLAGS) -o t16anim t16anim.o \
110 greg 1.1 client/libclient.a -lrpcsvc
111    
112     t16anim.o pranim.o: client/clnt.h
113    
114 greg 1.3 setscan.o makedist.o: setscan.h
115    
116     findglare.o glareval.o \
117 greg 2.35 glaresrc.o: glare.h ../common/standard.h \
118     ../common/rtmisc.h ../common/rtio.h \
119     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
120     ../common/rterror.h \
121     ../common/view.h ../common/color.h setscan.h
122 greg 1.10
123 greg 1.12 glaresrc.o: ../common/linregr.h
124 greg 1.3
125 greg 2.4 rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h
126    
127 greg 2.20 rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \
128 greg 2.35 ../common/rtmisc.h ../common/rtio.h \
129     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
130     ../common/rterror.h
131 greg 2.4
132     xglaresrc.o: ../common/view.h
133 greg 1.3
134 greg 1.12 swaprasheader.o: ../common/rasterfile.h
135 greg 1.17
136 greg 1.18 glareval.o xglaresrc.o: ../common/resolu.h
137 greg 2.18
138 greg 2.23 rad.o ranimate.o: ../common/vars.h
139 greg 2.20
140 greg 2.31 ranimove1.o ranimove2.o: ../common/random.h
141    
142 greg 2.20 rad.o: ../common/paths.h
143    
144     ranimate.o netproc.o: netproc.h
145    
146 greg 2.31 ranimove1.o: ../common/otypes.h
147    
148 greg 2.21 netproc.o: ../common/paths.h
149    
150 greg 2.31 rad.o ranimate.o ranimove.o: ../common/view.h ../common/resolu.h
151 gwlarson 2.27
152     glrad.o: ../common/radogl.h \
153 greg 2.35 ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
154     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
155     ../common/rterror.h \
156 gwlarson 2.27 ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
157    
158     glrad.o: glradicon.h ../common/view.h ../common/paths.h
159 greg 2.31
160     ranimove.o ranimove1.o ranimove2.o: ranimove.h \
161     ../common/vars.h ../common/view.h \
162 greg 2.35 ../rt/ray.h ../common/octree.h \
163     ../common/object.h ../common/color.h \
164     ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
165     ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
166     ../common/rterror.h
167 greg 2.31
168     Version.c: ../rt/Version.c
169     cp ../rt/Version.c .
170    
171     x11findwind.c: ../common/x11findwind.c
172     cp ../common/x11findwind.c .