#	START NEW ARIX SCCS HEADER
#
#	@(#) Makefile: version 25.1 created on 12/2/91 at 15:13:24
#
#	Copyright (c) 1990 by Arix Corporation
#	All Rights Reserved
#
#	@(#)Makefile	25.1	12/2/91 Copyright (c) 1990 by Arix Corporation
#
#	END NEW ARIX SCCS HEADER
#
#	Copyright (c) 1984 AT&T
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#ATT:ident	"graf:src/stat.d/Makefile	1.7"

#ident	"@(#)graf/src/stat.d:Makefile	25.1"

include	$(IROOT)/macdefs

###
### Standard Constants
###

LROOT    =
BIN      = $(ROOT)/$(LROOT)/usr/bin/graf
LIB      = ../../lib/glib.a

INC	 = $(INCRT)
LINC	 = ../../include

CFLAG   = $(CFLAGS) -I$(LINC)  $(FFLAG)
LDFLAG  = $(LIB) $(LDFLAGS) -lm 


#top#
# Generated by makefile 1.44    Tue Mar 12 13:14:54 EST 1985

MAKEFILE = Makefile


MAINS = abs af bar bucket ceil cor cusum exp floor gamma gas hilo hist label \
	list log lreg mean mod pair pie plot point power prime prod qsort \
	rand rank root round siline sin subset title total var

OBJECTS =  abs.o aeeval.o aeparse.o af.o bar.o bucket.o ceil.o cor.o ctos.o \
	cusum.o doubcmp.o exp.o filbuf.o floor.o gamma.o gas.o getdoub.o \
	getint.o getlabel.o getline.o getx0y0.o hilo.o hist.o label.o list.o \
	log.o lreg.o mean.o minmax.o mod.o pair.o pie.o plot.o point.o \
	pow1.o power.o prime.o prod.o qsort.o rand.o rank.o root.o round.o \
	scale.o siline.o sin.o subset.o title.o total.o var.o

SOURCES =  abs.c aeeval.c aeparse.c af.c bar.c bucket.c ceil.c cor.c ctos.c \
	cusum.c doubcmp.c exp.c filbuf.c floor.c gamma.c gas.c getdoub.c \
	getint.c getlabel.c getline.c getx0y0.c hilo.c hist.c label.c list.c \
	log.c lreg.c mean.c minmax.c mod.c pair.c pie.c plot.c point.c \
	pow1.c power.c prime.c prod.c qsort.c rand.c rank.c root.c round.c \
	scale.c siline.c sin.c subset.c title.c total.c var.c

ALL:		$(MAINS)

abs:		abs.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAG)  -o abs  abs.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

af:		af.o aeeval.o aeparse.o	getdoub.o getlabel.o getline.o \
		pow1.o 
	$(CC) $(CFLAG)  -o af  af.o aeeval.o aeparse.o getdoub.o getlabel.o \
	getline.o pow1.o   $(LDFLAG)

bar:		bar.o getdoub.o	getlabel.o scale.o getline.o 
	$(CC) $(CFLAG)  -o bar  bar.o getdoub.o getlabel.o scale.o \
	getline.o   $(LDFLAG)

bucket:		bucket.o filbuf.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o bucket  bucket.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAG)

ceil:		ceil.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o ceil  ceil.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

cor:		cor.o filbuf.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o cor  cor.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAG)

cusum:		cusum.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o cusum  cusum.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

exp:		exp.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAG)  -o exp  exp.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

floor:		floor.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o floor  floor.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

gamma:		gamma.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o gamma  gamma.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

gas:		gas.o 
	$(CC) $(CFLAG)  -o gas  gas.o   $(LDFLAG)

hilo:		hilo.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o hilo  hilo.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

hist:		hist.o getdoub.o getint.o getlabel.o scale.o getline.o 
	$(CC) $(CFLAG)  -o hist  hist.o getdoub.o getint.o getlabel.o \
	scale.o getline.o   $(LDFLAG)

label:		label.o	getlabel.o getline.o getx0y0.o 
	$(CC) $(CFLAG)  -o label  label.o getlabel.o getline.o getx0y0.o \
	$(LDFLAG)

list:		list.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o list  list.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

log:		log.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAG)  -o log  log.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

lreg:		lreg.o filbuf.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o lreg  lreg.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAG)

mean:		mean.o filbuf.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o mean  mean.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAG)

mod:		mod.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAG)  -o mod  mod.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

pair:		pair.o filbuf.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o pair  pair.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAG)

pie:		pie.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAG)  -o pie  pie.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

plot:		plot.o ctos.o filbuf.o getlabel.o minmax.o scale.o \
		getdoub.o getline.o 
	$(CC) $(CFLAG)  -o plot  plot.o ctos.o filbuf.o getlabel.o minmax.o \
	scale.o getdoub.o getline.o   $(LDFLAG)

point:		point.o	doubcmp.o filbuf.o getdoub.o getlabel.o	getline.o 
	$(CC) $(CFLAG)  -o point  point.o doubcmp.o filbuf.o getdoub.o \
	getlabel.o getline.o   $(LDFLAG)

power:		power.o	getdoub.o getlabel.o pow1.o getline.o 
	$(CC) $(CFLAG)  -o power  power.o getdoub.o getlabel.o pow1.o \
	getline.o   $(LDFLAG)

prime:		prime.o	
	$(CC) $(CFLAG)  -o prime  prime.o   $(LDFLAG)

prod:		prod.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o prod  prod.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

qsort:		qsort.o	doubcmp.o filbuf.o getlabel.o getdoub.o	getline.o 
	$(CC) $(CFLAG)  -o qsort  qsort.o doubcmp.o filbuf.o getlabel.o \
	getdoub.o getline.o   $(LDFLAG)

rand:		rand.o 
	$(CC) $(CFLAG)  -o rand  rand.o   $(LDFLAG)

rank:		rank.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o rank  rank.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

root:		root.o getdoub.o getlabel.o pow1.o getline.o 
	$(CC) $(CFLAG)  -o root  root.o getdoub.o getlabel.o pow1.o \
	getline.o   $(LDFLAG)

round:		round.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o round  round.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

siline:		siline.o getdoub.o getlabel.o getline.o	
	$(CC) $(CFLAG)  -o siline  siline.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

sin:		sin.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAG)  -o sin  sin.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

subset:		subset.o filbuf.o getdoub.o getint.o getlabel.o	getline.o 
	$(CC) $(CFLAG)  -o subset  subset.o filbuf.o getdoub.o getint.o \
	getlabel.o getline.o   $(LDFLAG)

title:		title.o	
	$(CC) $(CFLAG)  -o title  title.o   $(LDFLAG)

total:		total.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAG)  -o total  total.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)

var:		var.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAG)  -o var  var.o getdoub.o getlabel.o getline.o \
	$(LDFLAG)


abs.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

aeeval.o:	 statd.h $(LINC)/debug.h $(LINC)/errpr.h \
		 $(LINC)/setop.h $(INC)/ctype.h \
		 $(LINC)/util.h $(INC)/ctype.h title.h \
		 $(INC)/stdio.h ae.h 

aeparse.o:	 statd.h $(LINC)/debug.h $(LINC)/errpr.h \
		 $(LINC)/setop.h $(INC)/ctype.h \
		 $(LINC)/util.h $(INC)/ctype.h title.h \
		 $(INC)/stdio.h ae.h \
		 $(INC)/sys/stat.h 

af.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h ae.h 

bar.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h plot.h $(LINC)/gpl.h \
		 $(LINC)/gsl.h 

bucket.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

ceil.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

cor.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

ctos.o:		 

cusum.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

doubcmp.o:	 

exp.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

filbuf.o:	 $(INC)/stdio.h $(LINC)/errpr.h 

floor.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

gamma.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

gas.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

getdoub.o:	 $(INC)/stdio.h 

getint.o:	 $(INC)/stdio.h 

getlabel.o:	 $(INC)/stdio.h 

getline.o:	 $(INC)/stdio.h 

getx0y0.o:	 $(INC)/stdio.h $(LINC)/gpl.h \
		 $(LINC)/gsl.h $(LINC)/debug.h \
		 $(LINC)/util.h $(INC)/ctype.h 

hilo.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

hist.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h plot.h $(LINC)/gpl.h \
		 $(LINC)/gsl.h 

label.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h plot.h $(LINC)/gpl.h \
		 $(LINC)/gsl.h 

list.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

log.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

lreg.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

mean.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

minmax.o:	 

mod.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

pair.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

pie.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h plot.h $(LINC)/gpl.h \
		 $(LINC)/gsl.h $(INC)/math.h 

plot.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h plot.h $(LINC)/gpl.h \
		 $(LINC)/gsl.h 

point.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

pow1.o:		 $(INC)/stdio.h $(LINC)/errpr.h \
		 $(LINC)/debug.h 

power.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

prime.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

prod.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

qsort.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

rand.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

rank.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

root.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

round.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

scale.o:	 

siline.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

sin.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

subset.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

title.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h plot.h $(LINC)/gpl.h \
		 $(LINC)/gsl.h 

total.o:	 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

var.o:		 $(INC)/stdio.h statd.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

.c.o:
	$(CC) -c $(CFLAG) $<

GLOBALINCS = $(LINC)/debug.h $(LINC)/errpr.h $(LINC)/gpl.h \
	$(LINC)/gsl.h $(LINC)/setop.h $(LINC)/util.h \
	$(INC)/ctype.h $(INC)/math.h $(INC)/stdio.h \
	$(INC)/sys/stat.h

LOCALINCS = ae.h plot.h statd.h title.h 


clean:
	rm -f $(OBJECTS)
	
clobber:	
	rm -f $(OBJECTS) $(MAINS) tags greplist

newmakefile:
	makefile -m -f $(MAKEFILE)  -s INC $(INC) -s LINC $(LINC)
#bottom#

$(MAINS)     : $(LIB)

install      : $(MAINS) 
	@-for i in $(MAINS) ; do \
	echo $(INS) $$i $(BIN)/$$i ;\
	$(INS) $$i $(BIN)/$$i ;\
	chmod 755 $(BIN)/$$i ;\
	chgrp bin $(BIN)/$$i ;\
	chown bin $(BIN)/$$i ;\
	done
	
###########

ctags:
	ctags $(SOURCES)
	echo 'grep $$* \\' >greplist
	for i in $(SOURCES)	;\
	do echo "$$i \\"	;\
	done >> greplist
	echo /dev/null >> greplist
	chmod +x greplist

listings     : $(SOURCES)
	pr -h "     stat.d.    " $(SOURCES) | lp
