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 |
14 |
|
15 |
all: $(PROGS) |
16 |
|
17 |
install: all objview.csh objpict.csh proj.csh |
18 |
cp $(PROGS) $(INSTDIR) |
19 |
cp objview.csh $(INSTDIR)/objview |
20 |
cp objpict.csh $(INSTDIR)/objpict |
21 |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict |
22 |
|
23 |
clean: |
24 |
rm -f *.o $(PROGS) core |
25 |
|
26 |
scanner: scanner.o |
27 |
cc $(CFLAGS) -o scanner scanner.o -lm |
28 |
|
29 |
makedist: makedist.o fvect.o setscan.o |
30 |
cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm |
31 |
|
32 |
findglare: findglare.o glareval.o glaresrc.o color.o fvect.o image.o \ |
33 |
header.o resolu.o setscan.o |
34 |
cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ |
35 |
color.o fvect.o image.o header.o resolu.o setscan.o -lm |
36 |
|
37 |
xglaresrc: xglaresrc.o fvect.o image.o resolu.o header.o |
38 |
cc $(CFLAGS) -o xglaresrc xglaresrc.o fvect.o image.o \ |
39 |
header.o resolu.o -lm -lX11 |
40 |
|
41 |
contour: contour.o |
42 |
cc $(CFLAGS) -o contour contour.o -lm |
43 |
|
44 |
pranim: pranim.o client/libclient.a |
45 |
cc $(CFLAGS) -o pranim pranim.o \ |
46 |
client/libclient.a -lrpcsvc |
47 |
|
48 |
t16anim: t16anim.o client/libclient.a |
49 |
cc $(CFLAGS) -o t16anim t16anim.o \ |
50 |
client/libclient.a -lrpcsvc |
51 |
|
52 |
t16anim.o pranim.o: client/clnt.h |
53 |
|
54 |
setscan.o makedist.o: setscan.h |
55 |
|
56 |
findglare.o glareval.o \ |
57 |
glaresrc.o: glare.h standard.h mat4.h fvect.h view.h color.h setscan.h |
58 |
|
59 |
image.o xglaresrc.o: standard.h mat4.h fvect.h view.h |
60 |
|
61 |
fvect.o: fvect.h |
62 |
|
63 |
resolu.o: color.h |