| 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) -I../common |
| 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 setscan.o |
| 33 |
cc $(CFLAGS) -o makedist makedist.o setscan.o ../common/librt.a -lm |
| 34 |
|
| 35 |
findglare: findglare.o glareval.o glaresrc.o setscan.o |
| 36 |
cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ |
| 37 |
setscan.o ../common/librt.a -lm |
| 38 |
|
| 39 |
glarendx: glarendx.o |
| 40 |
cc $(CFLAGS) -o glarendx glarendx.o ../common/librt.a -lm |
| 41 |
|
| 42 |
xglaresrc: xglaresrc.o x11findwind.o |
| 43 |
cc $(CFLAGS) -o xglaresrc xglaresrc.o \ |
| 44 |
x11findwind.o ../common/librt.a -lm -lX11 |
| 45 |
|
| 46 |
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 |
setscan.o makedist.o: setscan.h |
| 60 |
|
| 61 |
findglare.o glareval.o \ |
| 62 |
glaresrc.o: glare.h ../common/standard.h ../common/mat4.h \ |
| 63 |
../common/fvect.h ../common/view.h ../common/color.h setscan.h |
| 64 |
|
| 65 |
glaresrc.o: ../common/linregr.h |
| 66 |
|
| 67 |
image.o xglaresrc.o: ../common/standard.h ../common/mat4.h \ |
| 68 |
../common/fvect.h ../common/view.h |
| 69 |
|
| 70 |
swaprasheader.o: ../common/rasterfile.h |