ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/Rmakefile
Revision: 2.28
Committed: Tue Jun 9 16:19:02 1998 UTC (26 years, 4 months ago) by gwlarson
Branch: MAIN
Changes since 2.27: +11 -1 lines
Log Message:
added missing SPECIAL entries

File Contents

# User Rev Content
1 greg 1.1 #
2 gwlarson 2.27 # SCCSid "$SunId$ SGI"
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 1.13 CFLAGS = $(MACH) $(OPT) -I../common -L../lib
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 gregl 2.24 PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright getinfo vwrays
21 greg 1.1
22 gwlarson 2.28 all: $(PROGS) $(SPECIAL)
23 greg 1.1
24 greg 2.10 install: all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \
25 gregl 2.25 raddepend.csh trad.wsh objline.csh compamb.csh
26 greg 1.1 cp $(PROGS) $(INSTDIR)
27     cp objview.csh $(INSTDIR)/objview
28 greg 2.17 cp objline.csh $(INSTDIR)/objline
29 greg 1.1 cp objpict.csh $(INSTDIR)/objpict
30 greg 1.9 cp glare.csh $(INSTDIR)/glare
31 greg 1.11 cp dayfact.csh $(INSTDIR)/dayfact
32 greg 1.15 cp debugcal.csh $(INSTDIR)/debugcal
33 greg 2.6 cp rlux.csh $(INSTDIR)/rlux
34 greg 2.10 cp raddepend.csh $(INSTDIR)/raddepend
35 gregl 2.25 cp compamb.csh $(INSTDIR)/compamb
36 greg 2.15 chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
37     $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
38 gregl 2.25 $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
39     $(INSTDIR)/compamb
40 greg 2.16 csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
41 greg 1.1
42     clean:
43 greg 1.6 set nonomatch; rm -f *.o $(PROGS) core
44 greg 1.1
45 gwlarson 2.27 ogl: glrad
46     cp glrad $(INSTDIR)
47 gwlarson 2.28
48     x10:
49    
50     aed:
51    
52     sgi:
53    
54     sun:
55 gwlarson 2.27
56 greg 1.1 scanner: scanner.o
57 greg 2.10 $(CC) $(CFLAGS) -o scanner scanner.o -lm
58 greg 1.1
59 greg 1.12 makedist: makedist.o setscan.o
60 greg 2.10 $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
61 greg 1.1
62 greg 1.12 findglare: findglare.o glareval.o glaresrc.o setscan.o
63 greg 2.3 $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
64 greg 2.10 setscan.o -lrt -lm
65 greg 1.7
66 greg 1.12 glarendx: glarendx.o
67 greg 2.10 $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
68 greg 1.3
69 greg 1.12 xglaresrc: xglaresrc.o x11findwind.o
70 greg 2.3 $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
71 greg 2.10 x11findwind.o -lrt -lX11 -lm
72 greg 1.4
73 greg 2.23 rad: rad.o
74     $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
75 greg 2.19
76 greg 2.23 ranimate: ranimate.o netproc.o
77     $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
78 greg 2.6
79 greg 2.5 rpiece: rpiece.o Version.o
80 greg 2.10 $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
81 greg 2.14
82     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     $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL -lX11 -lm
93    
94 greg 1.1 contour: contour.o
95 greg 2.10 $(CC) $(CFLAGS) -o contour contour.o -lm
96 greg 1.1
97     pranim: pranim.o client/libclient.a
98 greg 2.3 $(CC) $(CFLAGS) -o pranim pranim.o \
99 greg 1.1 client/libclient.a -lrpcsvc
100    
101     t16anim: t16anim.o client/libclient.a
102 greg 2.3 $(CC) $(CFLAGS) -o t16anim t16anim.o \
103 greg 1.1 client/libclient.a -lrpcsvc
104    
105     t16anim.o pranim.o: client/clnt.h
106    
107 greg 1.3 setscan.o makedist.o: setscan.h
108    
109     findglare.o glareval.o \
110 greg 1.12 glaresrc.o: glare.h ../common/standard.h ../common/mat4.h \
111     ../common/fvect.h ../common/view.h ../common/color.h setscan.h
112 greg 1.10
113 greg 1.12 glaresrc.o: ../common/linregr.h
114 greg 1.3
115 greg 2.4 rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h
116    
117 greg 2.20 rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \
118 greg 2.6 ../common/mat4.h ../common/fvect.h
119 greg 2.4
120     xglaresrc.o: ../common/view.h
121 greg 1.3
122 greg 1.12 swaprasheader.o: ../common/rasterfile.h
123 greg 1.17
124 greg 1.18 glareval.o xglaresrc.o: ../common/resolu.h
125 greg 2.2
126     xglaresrc.o: ../common/vfork.h
127 greg 2.18
128 greg 2.23 rad.o ranimate.o: ../common/vars.h
129 greg 2.20
130     rad.o: ../common/paths.h
131    
132     ranimate.o netproc.o: netproc.h
133    
134 greg 2.21 netproc.o: ../common/paths.h
135    
136 gregl 2.26 rad.o ranimate.o: ../common/view.h
137 gwlarson 2.27
138     glrad.o: ../common/radogl.h \
139     ../common/standard.h ../common/mat4.h ../common/fvect.h \
140     ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
141    
142     glrad.o: glradicon.h ../common/view.h ../common/paths.h