| 1 |
# |
| 2 |
# SCCSid "$SunId$ LBL" |
| 3 |
# |
| 4 |
|
| 5 |
MACH = -DBSD |
| 6 |
|
| 7 |
OPT = -O |
| 8 |
|
| 9 |
CFLAGS = $(MACH) $(OPT) -I../common -L../lib |
| 10 |
|
| 11 |
INSTDIR = /usr/local/bin |
| 12 |
|
| 13 |
PROGS = 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 |
cp debugcal.csh $(INSTDIR)/debugcal |
| 24 |
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
| 25 |
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal |
| 26 |
|
| 27 |
clean: |
| 28 |
set nonomatch; rm -f *.o $(PROGS) core |
| 29 |
|
| 30 |
scanner: scanner.o |
| 31 |
cc $(CFLAGS) -o scanner scanner.o -lm |
| 32 |
|
| 33 |
makedist: makedist.o setscan.o |
| 34 |
cc $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm |
| 35 |
|
| 36 |
findglare: findglare.o glareval.o glaresrc.o setscan.o |
| 37 |
cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ |
| 38 |
setscan.o -lrt -lm |
| 39 |
|
| 40 |
glarendx: glarendx.o |
| 41 |
cc $(CFLAGS) -o glarendx glarendx.o -lrt -lm |
| 42 |
|
| 43 |
xglaresrc: xglaresrc.o x11findwind.o |
| 44 |
cc $(CFLAGS) -o xglaresrc xglaresrc.o \ |
| 45 |
x11findwind.o -lrt -lX11 -lm |
| 46 |
|
| 47 |
contour: contour.o |
| 48 |
cc $(CFLAGS) -o contour contour.o -lm |
| 49 |
|
| 50 |
pranim: pranim.o client/libclient.a |
| 51 |
cc $(CFLAGS) -o pranim pranim.o \ |
| 52 |
client/libclient.a -lrpcsvc |
| 53 |
|
| 54 |
t16anim: t16anim.o client/libclient.a |
| 55 |
cc $(CFLAGS) -o t16anim t16anim.o \ |
| 56 |
client/libclient.a -lrpcsvc |
| 57 |
|
| 58 |
t16anim.o pranim.o: client/clnt.h |
| 59 |
|
| 60 |
setscan.o makedist.o: setscan.h |
| 61 |
|
| 62 |
findglare.o glareval.o \ |
| 63 |
glaresrc.o: glare.h ../common/standard.h ../common/mat4.h \ |
| 64 |
../common/fvect.h ../common/view.h ../common/color.h setscan.h |
| 65 |
|
| 66 |
glaresrc.o: ../common/linregr.h |
| 67 |
|
| 68 |
image.o xglaresrc.o: ../common/standard.h ../common/mat4.h \ |
| 69 |
../common/fvect.h ../common/view.h |
| 70 |
|
| 71 |
swaprasheader.o: ../common/rasterfile.h |
| 72 |
|
| 73 |
glareval.o: ../common/resolu.h |