1 |
greg |
1.1 |
# |
2 |
|
|
# SCCSid "$SunId$ LBL" |
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 |
greg |
2.22 |
PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright getinfo |
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 |
greg |
2.17 |
raddepend.csh trad.wsh objline.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 |
greg |
2.15 |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
34 |
|
|
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
35 |
greg |
2.17 |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline |
36 |
greg |
2.16 |
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
37 |
greg |
1.1 |
|
38 |
|
|
clean: |
39 |
greg |
1.6 |
set nonomatch; rm -f *.o $(PROGS) core |
40 |
greg |
1.1 |
|
41 |
|
|
scanner: scanner.o |
42 |
greg |
2.10 |
$(CC) $(CFLAGS) -o scanner scanner.o -lm |
43 |
greg |
1.1 |
|
44 |
greg |
1.12 |
makedist: makedist.o setscan.o |
45 |
greg |
2.10 |
$(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm |
46 |
greg |
1.1 |
|
47 |
greg |
1.12 |
findglare: findglare.o glareval.o glaresrc.o setscan.o |
48 |
greg |
2.3 |
$(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ |
49 |
greg |
2.10 |
setscan.o -lrt -lm |
50 |
greg |
1.7 |
|
51 |
greg |
1.12 |
glarendx: glarendx.o |
52 |
greg |
2.10 |
$(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm |
53 |
greg |
1.3 |
|
54 |
greg |
1.12 |
xglaresrc: xglaresrc.o x11findwind.o |
55 |
greg |
2.3 |
$(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \ |
56 |
greg |
2.10 |
x11findwind.o -lrt -lX11 -lm |
57 |
greg |
1.4 |
|
58 |
greg |
2.18 |
rad: rad.o loadvars.o |
59 |
|
|
$(CC) $(CFLAGS) -o rad rad.o loadvars.o -lrt -lm |
60 |
greg |
2.19 |
|
61 |
greg |
2.20 |
ranimate: ranimate.o loadvars.o netproc.o |
62 |
|
|
$(CC) $(CFLAGS) -o ranimate ranimate.o loadvars.o netproc.o -lrt -lm |
63 |
greg |
2.6 |
|
64 |
greg |
2.5 |
rpiece: rpiece.o Version.o |
65 |
greg |
2.10 |
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm |
66 |
greg |
2.14 |
|
67 |
|
|
vwright: vwright.o |
68 |
|
|
$(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm |
69 |
greg |
2.22 |
|
70 |
|
|
getinfo: getinfo.o |
71 |
|
|
$(CC) $(CFLAGS) -o getinfo getinfo.o -lrt |
72 |
greg |
2.4 |
|
73 |
greg |
1.1 |
contour: contour.o |
74 |
greg |
2.10 |
$(CC) $(CFLAGS) -o contour contour.o -lm |
75 |
greg |
1.1 |
|
76 |
|
|
pranim: pranim.o client/libclient.a |
77 |
greg |
2.3 |
$(CC) $(CFLAGS) -o pranim pranim.o \ |
78 |
greg |
1.1 |
client/libclient.a -lrpcsvc |
79 |
|
|
|
80 |
|
|
t16anim: t16anim.o client/libclient.a |
81 |
greg |
2.3 |
$(CC) $(CFLAGS) -o t16anim t16anim.o \ |
82 |
greg |
1.1 |
client/libclient.a -lrpcsvc |
83 |
|
|
|
84 |
|
|
t16anim.o pranim.o: client/clnt.h |
85 |
|
|
|
86 |
greg |
1.3 |
setscan.o makedist.o: setscan.h |
87 |
|
|
|
88 |
|
|
findglare.o glareval.o \ |
89 |
greg |
1.12 |
glaresrc.o: glare.h ../common/standard.h ../common/mat4.h \ |
90 |
|
|
../common/fvect.h ../common/view.h ../common/color.h setscan.h |
91 |
greg |
1.10 |
|
92 |
greg |
1.12 |
glaresrc.o: ../common/linregr.h |
93 |
greg |
1.3 |
|
94 |
greg |
2.4 |
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
95 |
|
|
|
96 |
greg |
2.20 |
rad.o ranimate.o rpiece.o xglaresrc.o: ../common/standard.h \ |
97 |
greg |
2.6 |
../common/mat4.h ../common/fvect.h |
98 |
greg |
2.4 |
|
99 |
|
|
xglaresrc.o: ../common/view.h |
100 |
greg |
1.3 |
|
101 |
greg |
1.12 |
swaprasheader.o: ../common/rasterfile.h |
102 |
greg |
1.17 |
|
103 |
greg |
1.18 |
glareval.o xglaresrc.o: ../common/resolu.h |
104 |
greg |
2.2 |
|
105 |
|
|
xglaresrc.o: ../common/vfork.h |
106 |
greg |
2.18 |
|
107 |
greg |
2.20 |
rad.o ranimate.o loadvars.o: vars.h |
108 |
|
|
|
109 |
|
|
rad.o: ../common/paths.h |
110 |
|
|
|
111 |
|
|
ranimate.o netproc.o: netproc.h |
112 |
|
|
|
113 |
greg |
2.21 |
netproc.o: ../common/paths.h |
114 |
|
|
|
115 |
greg |
2.20 |
ranimate.o: ../common/view.h |