| 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.4 |
PROGS = makedist swaprasheader findglare xglaresrc |
| 14 |
greg |
1.1 |
|
| 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 |
greg |
1.2 |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict |
| 22 |
greg |
1.1 |
|
| 23 |
|
|
clean: |
| 24 |
greg |
1.6 |
set nonomatch; rm -f *.o $(PROGS) core |
| 25 |
greg |
1.1 |
|
| 26 |
|
|
scanner: scanner.o |
| 27 |
|
|
cc $(CFLAGS) -o scanner scanner.o -lm |
| 28 |
|
|
|
| 29 |
greg |
1.2 |
makedist: makedist.o fvect.o setscan.o |
| 30 |
|
|
cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm |
| 31 |
greg |
1.1 |
|
| 32 |
greg |
1.3 |
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 |
greg |
1.4 |
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 |
greg |
1.1 |
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 |
greg |
1.3 |
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 |
greg |
1.4 |
image.o xglaresrc.o: standard.h mat4.h fvect.h view.h |
| 60 |
greg |
1.3 |
|
| 61 |
|
|
fvect.o: fvect.h |
| 62 |
|
|
|
| 63 |
|
|
resolu.o: color.h |
| 64 |
greg |
1.5 |
|
| 65 |
|
|
swaprasheader.o: rasterfile.h |