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