1 |
# |
2 |
# SCCSid "$SunId$ LBL" |
3 |
# |
4 |
|
5 |
MACH = -f68881 /usr/lib/libm.il -DIEEE -DBSD -DSTRUCTASSIGN |
6 |
|
7 |
OPT = -O |
8 |
|
9 |
CFLAGS = $(MACH) $(OPT) |
10 |
|
11 |
INSTDIR = /lumen/lumen/ray/bin.sun3 |
12 |
|
13 |
PROGS = makedist swaprasheader findglare xglaresrc glarendx |
14 |
|
15 |
all: $(PROGS) |
16 |
|
17 |
install: all objview.csh objpict.csh proj.csh glare.csh dayfact.csh |
18 |
cp $(PROGS) $(INSTDIR) |
19 |
cp objview.csh $(INSTDIR)/objview |
20 |
cp objpict.csh $(INSTDIR)/objpict |
21 |
cp glare.csh $(INSTDIR)/glare |
22 |
cp dayfact.csh $(INSTDIR)/dayfact |
23 |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
24 |
$(INSTDIR)/glare $(INSTDIR)/dayfact |
25 |
|
26 |
clean: |
27 |
set nonomatch; rm -f *.o $(PROGS) core |
28 |
|
29 |
scanner: scanner.o |
30 |
cc $(CFLAGS) -o scanner scanner.o -lm |
31 |
|
32 |
makedist: makedist.o fvect.o setscan.o |
33 |
cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm |
34 |
|
35 |
findglare: findglare.o glareval.o glaresrc.o color.o fvect.o image.o \ |
36 |
header.o resolu.o setscan.o linregr.o |
37 |
cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ |
38 |
color.o fvect.o image.o header.o resolu.o setscan.o linregr.o -lm |
39 |
|
40 |
glarendx: glarendx.o image.o header.o erf.o fvect.o resolu.o |
41 |
cc $(CFLAGS) -o glarendx glarendx.o image.o header.o fvect.o \ |
42 |
erf.o resolu.o -lm |
43 |
|
44 |
xglaresrc: xglaresrc.o fvect.o image.o resolu.o header.o x11findwind.o |
45 |
cc $(CFLAGS) -o xglaresrc xglaresrc.o fvect.o image.o \ |
46 |
header.o resolu.o x11findwind.o -lm -lX11 |
47 |
|
48 |
contour: contour.o |
49 |
cc $(CFLAGS) -o contour contour.o -lm |
50 |
|
51 |
pranim: pranim.o client/libclient.a |
52 |
cc $(CFLAGS) -o pranim pranim.o \ |
53 |
client/libclient.a -lrpcsvc |
54 |
|
55 |
t16anim: t16anim.o client/libclient.a |
56 |
cc $(CFLAGS) -o t16anim t16anim.o \ |
57 |
client/libclient.a -lrpcsvc |
58 |
|
59 |
t16anim.o pranim.o: client/clnt.h |
60 |
|
61 |
setscan.o makedist.o: setscan.h |
62 |
|
63 |
findglare.o glareval.o \ |
64 |
glaresrc.o: glare.h standard.h mat4.h fvect.h view.h color.h setscan.h |
65 |
|
66 |
glaresrc.o linregr.o: linregr.h |
67 |
|
68 |
image.o xglaresrc.o: standard.h mat4.h fvect.h view.h |
69 |
|
70 |
fvect.o: fvect.h |
71 |
|
72 |
resolu.o: color.h |
73 |
|
74 |
swaprasheader.o: rasterfile.h |