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.4 |
PROGS = findglare xglaresrc glarendx rpiece |
16 |
greg |
1.1 |
|
17 |
|
|
all: $(PROGS) |
18 |
|
|
|
19 |
greg |
1.11 |
install: all objview.csh objpict.csh proj.csh glare.csh dayfact.csh |
20 |
greg |
1.1 |
cp $(PROGS) $(INSTDIR) |
21 |
|
|
cp objview.csh $(INSTDIR)/objview |
22 |
|
|
cp objpict.csh $(INSTDIR)/objpict |
23 |
greg |
1.9 |
cp glare.csh $(INSTDIR)/glare |
24 |
greg |
1.11 |
cp dayfact.csh $(INSTDIR)/dayfact |
25 |
greg |
1.15 |
cp debugcal.csh $(INSTDIR)/debugcal |
26 |
greg |
1.11 |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
27 |
greg |
1.15 |
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal |
28 |
greg |
1.1 |
|
29 |
|
|
clean: |
30 |
greg |
1.6 |
set nonomatch; rm -f *.o $(PROGS) core |
31 |
greg |
1.1 |
|
32 |
|
|
scanner: scanner.o |
33 |
greg |
2.3 |
$(CC) $(CFLAGS) -o scanner scanner.o -lm |
34 |
greg |
1.1 |
|
35 |
greg |
1.12 |
makedist: makedist.o setscan.o |
36 |
greg |
2.3 |
$(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm |
37 |
greg |
1.1 |
|
38 |
greg |
1.12 |
findglare: findglare.o glareval.o glaresrc.o setscan.o |
39 |
greg |
2.3 |
$(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ |
40 |
greg |
1.13 |
setscan.o -lrt -lm |
41 |
greg |
1.7 |
|
42 |
greg |
1.12 |
glarendx: glarendx.o |
43 |
greg |
2.3 |
$(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm |
44 |
greg |
1.3 |
|
45 |
greg |
1.12 |
xglaresrc: xglaresrc.o x11findwind.o |
46 |
greg |
2.3 |
$(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \ |
47 |
greg |
1.13 |
x11findwind.o -lrt -lX11 -lm |
48 |
greg |
1.4 |
|
49 |
greg |
2.4 |
rpiece: rpiece.o |
50 |
|
|
$(CC) $(CFLAGS) -o rpiece rpiece.o -lrt -lm |
51 |
|
|
|
52 |
greg |
1.1 |
contour: contour.o |
53 |
greg |
2.3 |
$(CC) $(CFLAGS) -o contour contour.o -lm |
54 |
greg |
1.1 |
|
55 |
|
|
pranim: pranim.o client/libclient.a |
56 |
greg |
2.3 |
$(CC) $(CFLAGS) -o pranim pranim.o \ |
57 |
greg |
1.1 |
client/libclient.a -lrpcsvc |
58 |
|
|
|
59 |
|
|
t16anim: t16anim.o client/libclient.a |
60 |
greg |
2.3 |
$(CC) $(CFLAGS) -o t16anim t16anim.o \ |
61 |
greg |
1.1 |
client/libclient.a -lrpcsvc |
62 |
|
|
|
63 |
|
|
t16anim.o pranim.o: client/clnt.h |
64 |
|
|
|
65 |
greg |
1.3 |
setscan.o makedist.o: setscan.h |
66 |
|
|
|
67 |
|
|
findglare.o glareval.o \ |
68 |
greg |
1.12 |
glaresrc.o: glare.h ../common/standard.h ../common/mat4.h \ |
69 |
|
|
../common/fvect.h ../common/view.h ../common/color.h setscan.h |
70 |
greg |
1.10 |
|
71 |
greg |
1.12 |
glaresrc.o: ../common/linregr.h |
72 |
greg |
1.3 |
|
73 |
greg |
2.4 |
rpiece.o: ../common/color.h ../common/view.h ../common/resolu.h |
74 |
|
|
|
75 |
|
|
rpiece.o xglaresrc.o: ../common/standard.h ../common/mat4.h \ |
76 |
|
|
../common/fvect.h |
77 |
|
|
|
78 |
|
|
xglaresrc.o: ../common/view.h |
79 |
greg |
1.3 |
|
80 |
greg |
1.12 |
swaprasheader.o: ../common/rasterfile.h |
81 |
greg |
1.17 |
|
82 |
greg |
1.18 |
glareval.o xglaresrc.o: ../common/resolu.h |
83 |
greg |
2.2 |
|
84 |
|
|
xglaresrc.o: ../common/vfork.h |