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