# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
# Sequent Computer Systems, Inc.   All rights reserved.
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.

#	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.

#ident	"$Header: Makefile 1.6 89/10/10 $@(#)graf:src/stat.d/Makefile	1.7"
###
### Standard Constants
###

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

INC	 = $(CCS_HDRS)/usr/include
LINC	 = ../../include

CC       = cc
CFLAGS   = -O -I$(LINC)  $(FFLAG)
LDFLAGS  = $(LIB) -lm -s


#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) $(CFLAGS)  -o abs  abs.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

af: $&		af.o aeeval.o aeparse.o	getdoub.o getlabel.o getline.o \
		pow1.o 
	$(CC) $(CFLAGS)  -o af  af.o aeeval.o aeparse.o getdoub.o getlabel.o \
	getline.o pow1.o   $(LDFLAGS)

bar: $&		bar.o getdoub.o	getlabel.o scale.o getline.o 
	$(CC) $(CFLAGS)  -o bar  bar.o getdoub.o getlabel.o scale.o \
	getline.o   $(LDFLAGS)

bucket: $&	bucket.o filbuf.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o bucket  bucket.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAGS)

ceil: $&	ceil.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o ceil  ceil.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

cor: $&		cor.o filbuf.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o cor  cor.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAGS)

cusum: $&	cusum.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o cusum  cusum.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

exp: $&		exp.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o exp  exp.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

floor: $&	floor.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o floor  floor.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

gamma: $&	gamma.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o gamma  gamma.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

gas: $&		gas.o 
	$(CC) $(CFLAGS)  -o gas  gas.o   $(LDFLAGS)

hilo: $&	hilo.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o hilo  hilo.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

hist: $&	hist.o getdoub.o getint.o getlabel.o scale.o getline.o 
	$(CC) $(CFLAGS)  -o hist  hist.o getdoub.o getint.o getlabel.o \
	scale.o getline.o   $(LDFLAGS)

label: $&	label.o	getlabel.o getline.o getx0y0.o 
	$(CC) $(CFLAGS)  -o label  label.o getlabel.o getline.o getx0y0.o \
	$(LDFLAGS)

list: $&	list.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o list  list.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

log: $&		log.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o log  log.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

lreg: $&	lreg.o filbuf.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o lreg  lreg.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAGS)

mean: $&	mean.o filbuf.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o mean  mean.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAGS)

mod: $&		mod.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o mod  mod.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

pair: $&	pair.o filbuf.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o pair  pair.o filbuf.o getdoub.o getlabel.o \
	getline.o   $(LDFLAGS)

pie: $&		pie.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o pie  pie.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

plot: $&	plot.o ctos.o filbuf.o getlabel.o minmax.o scale.o \
		getdoub.o getline.o 
	$(CC) $(CFLAGS)  -o plot  plot.o ctos.o filbuf.o getlabel.o minmax.o \
	scale.o getdoub.o getline.o   $(LDFLAGS)

point: $&	point.o	doubcmp.o filbuf.o getdoub.o getlabel.o	getline.o 
	$(CC) $(CFLAGS)  -o point  point.o doubcmp.o filbuf.o getdoub.o \
	getlabel.o getline.o   $(LDFLAGS)

power: $&	power.o	getdoub.o getlabel.o pow1.o getline.o 
	$(CC) $(CFLAGS)  -o power  power.o getdoub.o getlabel.o pow1.o \
	getline.o   $(LDFLAGS)

prime: $&	prime.o	
	$(CC) $(CFLAGS)  -o prime  prime.o   $(LDFLAGS)

prod: $&	prod.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o prod  prod.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

qsort: $&	qsort.o	doubcmp.o filbuf.o getlabel.o getdoub.o	getline.o 
	$(CC) $(CFLAGS)  -o qsort  qsort.o doubcmp.o filbuf.o getlabel.o \
	getdoub.o getline.o   $(LDFLAGS)

rand: $&	rand.o 
	$(CC) $(CFLAGS)  -o rand  rand.o   $(LDFLAGS)

rank: $&	rank.o getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o rank  rank.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

root: $&	root.o getdoub.o getlabel.o pow1.o getline.o 
	$(CC) $(CFLAGS)  -o root  root.o getdoub.o getlabel.o pow1.o \
	getline.o   $(LDFLAGS)

round: $&	round.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o round  round.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

siline: $&	siline.o getdoub.o getlabel.o getline.o	
	$(CC) $(CFLAGS)  -o siline  siline.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

sin: $&		sin.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o sin  sin.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

subset: $&	subset.o filbuf.o getdoub.o getint.o getlabel.o	getline.o 
	$(CC) $(CFLAGS)  -o subset  subset.o filbuf.o getdoub.o getint.o \
	getlabel.o getline.o   $(LDFLAGS)

title: $&	title.o	
	$(CC) $(CFLAGS)  -o title  title.o   $(LDFLAGS)

total: $&	total.o	getdoub.o getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o total  total.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)

var: $&		var.o getdoub.o	getlabel.o getline.o 
	$(CC) $(CFLAGS)  -o var  var.o getdoub.o getlabel.o getline.o \
	$(LDFLAGS)


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

aeeval.o:	 s.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:	 s.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/types.h \
		 $(INC)/sys/stat.h 

af.o:		 $(INC)/stdio.h s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.h $(LINC)/debug.h	\
		 $(LINC)/errpr.h $(LINC)/setop.h \
		 $(INC)/ctype.h $(LINC)/util.h \
		 $(INC)/ctype.h title.h 

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 $(INC)/sys/types.h 

LOCALINCS = ae.h plot.h s.h title.h 


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

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

$(MAINS)     : $(LIB)

install: $&	$(MAINS) 
	for i in $(MAINS) ; do cpset $$i $(BIN) ; done

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