1 |
greg |
1.1 |
# |
2 |
|
|
# SCCSid "$SunId$ LBL" |
3 |
|
|
# |
4 |
|
|
|
5 |
greg |
1.16 |
MACH = -DBSD |
6 |
greg |
1.1 |
|
7 |
|
|
OPT = -O |
8 |
|
|
|
9 |
greg |
1.13 |
CFLAGS = $(MACH) $(OPT) -I../common -L../lib |
10 |
greg |
1.1 |
|
11 |
greg |
2.3 |
CC = cc |
12 |
|
|
|
13 |
greg |
1.14 |
INSTDIR = /usr/local/bin |
14 |
greg |
1.1 |
|
15 |
greg |
2.7 |
PROGS = findglare xglaresrc glarendx rpiece rad |
16 |
greg |
1.1 |
|
17 |
|
|
all: $(PROGS) |
18 |
|
|
|
19 |
greg |
2.6 |
install: all objview.csh objpict.csh proj.csh glare.csh dayfact.csh \ |
20 |
|
|
rlux.csh |
21 |
greg |
1.1 |
cp $(PROGS) $(INSTDIR) |
22 |
|
|
cp objview.csh $(INSTDIR)/objview |
23 |
|
|
cp objpict.csh $(INSTDIR)/objpict |
24 |
greg |
1.9 |
cp glare.csh $(INSTDIR)/glare |
25 |
greg |
1.11 |
cp dayfact.csh $(INSTDIR)/dayfact |
26 |
greg |
1.15 |
cp debugcal.csh $(INSTDIR)/debugcal |
27 |
greg |
2.6 |
cp rlux.csh $(INSTDIR)/rlux |
28 |
greg |
1.11 |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
29 |
greg |
2.6 |
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
30 |
|
|
$(INSTDIR)/rlux |
31 |
greg |
1.1 |
|
32 |
|
|
clean: |
33 |
greg |
1.6 |
set nonomatch; rm -f *.o $(PROGS) core |
34 |
greg |
1.1 |
|
35 |
|
|
scanner: scanner.o |
36 |
greg |
2.3 |
$(CC) $(CFLAGS) -o scanner scanner.o -lm |
37 |
greg |
1.1 |
|
38 |
greg |
1.12 |
makedist: makedist.o setscan.o |
39 |
greg |
2.3 |
$(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm |
40 |
greg |
1.1 |
|
41 |
greg |
1.12 |
findglare: findglare.o glareval.o glaresrc.o setscan.o |
42 |
greg |
2.3 |
$(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ |
43 |
greg |
1.13 |
setscan.o -lrt -lm |
44 |
greg |
1.7 |
|
45 |
greg |
1.12 |
glarendx: glarendx.o |
46 |
greg |
2.3 |
$(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm |
47 |
greg |
1.3 |
|
48 |
greg |
1.12 |
xglaresrc: xglaresrc.o x11findwind.o |
49 |
greg |
2.3 |
$(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \ |
50 |
greg |
1.13 |
x11findwind.o -lrt -lX11 -lm |
51 |
greg |
1.4 |
|
52 |
greg |
2.7 |
rad: rad.o |
53 |
|
|
$(CC) $(CFLAGS) -o rad rad.o -lrt -lm |
54 |
greg |
2.6 |
|
55 |
greg |
2.5 |
rpiece: rpiece.o Version.o |
56 |
|
|
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm |
57 |
greg |
2.4 |
|
58 |
greg |
1.1 |
contour: contour.o |
59 |
greg |
2.3 |
$(CC) $(CFLAGS) -o contour contour.o -lm |
60 |
greg |
1.1 |
|
61 |
|
|
pranim: pranim.o client/libclient.a |
62 |
greg |
2.3 |
$(CC) $(CFLAGS) -o pranim pranim.o \ |
63 |
greg |
1.1 |
client/libclient.a -lrpcsvc |
64 |
|
|
|
65 |
|
|
t16anim: t16anim.o client/libclient.a |
66 |
greg |
2.3 |
$(CC) $(CFLAGS) -o t16anim t16anim.o \ |
67 |
greg |
1.1 |
client/libclient.a -lrpcsvc |
68 |
|
|
|
69 |
|
|
t16anim.o pranim.o: client/clnt.h |
70 |
|
|
|
71 |
greg |
1.3 |
setscan.o makedist.o: setscan.h |
72 |
|
|
|
73 |
|
|
findglare.o glareval.o \ |
74 |
greg |
1.12 |
glaresrc.o: glare.h ../common/standard.h ../common/mat4.h \ |
75 |
|
|
../common/fvect.h ../common/view.h ../common/color.h setscan.h |
76 |
greg |
1.10 |
|
77 |
greg |
1.12 |
glaresrc.o: ../common/linregr.h |
78 |
greg |
1.3 |
|
79 |
greg |
2.4 |
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
80 |
|
|
|
81 |
greg |
2.7 |
rad.o rpiece.o xglaresrc.o: ../common/standard.h \ |
82 |
greg |
2.6 |
../common/mat4.h ../common/fvect.h |
83 |
greg |
2.4 |
|
84 |
|
|
xglaresrc.o: ../common/view.h |
85 |
greg |
1.3 |
|
86 |
greg |
1.12 |
swaprasheader.o: ../common/rasterfile.h |
87 |
greg |
1.17 |
|
88 |
greg |
1.18 |
glareval.o xglaresrc.o: ../common/resolu.h |
89 |
greg |
2.2 |
|
90 |
|
|
xglaresrc.o: ../common/vfork.h |