| 10 | 
  | 
 | 
| 11 | 
  | 
INSTDIR = /lumen/lumen/ray/bin.sun3 | 
| 12 | 
  | 
 | 
| 13 | 
< | 
PROGS = makedist swaprasheader findglare | 
| 13 | 
> | 
PROGS = makedist swaprasheader findglare xglaresrc glarendx | 
| 14 | 
  | 
 | 
| 15 | 
  | 
all:    $(PROGS) | 
| 16 | 
  | 
 | 
| 17 | 
< | 
install:        all objview.csh objpict.csh proj.csh | 
| 17 | 
> | 
install:        all objview.csh objpict.csh proj.csh glare.csh | 
| 18 | 
  | 
        cp $(PROGS) $(INSTDIR) | 
| 19 | 
  | 
        cp objview.csh $(INSTDIR)/objview | 
| 20 | 
  | 
        cp objpict.csh $(INSTDIR)/objpict | 
| 21 | 
< | 
        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict | 
| 21 | 
> | 
        cp glare.csh $(INSTDIR)/glare | 
| 22 | 
> | 
        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict $(INSTDIR)/glare | 
| 23 | 
  | 
 | 
| 24 | 
  | 
clean: | 
| 25 | 
< | 
        rm -f *.o $(PROGS) core | 
| 25 | 
> | 
        set nonomatch; rm -f *.o $(PROGS) core | 
| 26 | 
  | 
 | 
| 27 | 
  | 
scanner:        scanner.o | 
| 28 | 
  | 
        cc $(CFLAGS) -o scanner scanner.o -lm | 
| 31 | 
  | 
        cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm | 
| 32 | 
  | 
 | 
| 33 | 
  | 
findglare:      findglare.o glareval.o glaresrc.o color.o fvect.o image.o \ | 
| 34 | 
< | 
header.o resolu.o setscan.o | 
| 34 | 
> | 
header.o resolu.o setscan.o linregr.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 | 
| 36 | 
> | 
color.o fvect.o image.o header.o resolu.o setscan.o linregr.o -lm | 
| 37 | 
  | 
 | 
| 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 | 
+ | 
 | 
| 42 | 
+ | 
xglaresrc:      xglaresrc.o fvect.o image.o resolu.o header.o x11findwind.o | 
| 43 | 
+ | 
        cc $(CFLAGS) -o xglaresrc xglaresrc.o fvect.o image.o \ | 
| 44 | 
+ | 
header.o resolu.o x11findwind.o -lm -lX11 | 
| 45 | 
+ | 
 | 
| 46 | 
  | 
contour:        contour.o | 
| 47 | 
  | 
        cc $(CFLAGS) -o contour contour.o -lm | 
| 48 | 
  | 
 | 
| 61 | 
  | 
findglare.o glareval.o \ | 
| 62 | 
  | 
glaresrc.o:     glare.h standard.h mat4.h fvect.h view.h color.h setscan.h | 
| 63 | 
  | 
 | 
| 64 | 
< | 
image.o:        view.h | 
| 64 | 
> | 
glaresrc.o linregr.o:   linregr.h | 
| 65 | 
  | 
 | 
| 66 | 
+ | 
image.o xglaresrc.o:    standard.h mat4.h fvect.h view.h | 
| 67 | 
+ | 
 | 
| 68 | 
  | 
fvect.o:        fvect.h | 
| 69 | 
  | 
 | 
| 70 | 
  | 
resolu.o:       color.h | 
| 71 | 
+ | 
 | 
| 72 | 
+ | 
swaprasheader.o:        rasterfile.h |