ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/Rmakefile
Revision: 2.27
Committed: Tue Jun 9 11:43:09 1998 UTC (26 years, 5 months ago) by gwlarson
Branch: MAIN
Changes since 2.26: +13 -1 lines
Log Message:
added glrad program

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