#
# $Header: Makefile,v 1.1 87/09/17 13:09:16 root Exp $
#
#	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	"@(#)graf:src/gtop.d/Makefile	1.3"
###
### Standard Constants
###

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

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

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


#top#
# Generated by makefile 1.44    Tue Mar 12 12:36:37 EST 1985

MAKEFILE = Makefile


MAINS = gtop

OBJECTS =  arcrad.o clipper.o gtop.o inarea.o plotarc.o setspace.o \
	windowon.o

SOURCES =  arcrad.c clipper.c gtop.c inarea.c plotarc.c setspace.c \
	windowon.c

ALL:		$(MAINS)

gtop:		gtop.o clipper.o inarea.o plotarc.o setspace.o windowon.o \
		arcrad.o 
	$(CC) $(CFLAGS)  -o gtop  gtop.o clipper.o inarea.o plotarc.o \
	setspace.o windowon.o arcrad.o   $(LDFLAGS)


arcrad.o:	 

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

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

inarea.o:	 $(INC)/stdio.h $(LINC)/gsl.h \
		 $(LINC)/util.h $(INC)/ctype.h 

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

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

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

GLOBALINCS = $(LINC)/debug.h $(LINC)/errpr.h $(LINC)/gpl.h \
	$(LINC)/gsl.h $(LINC)/setop.h $(LINC)/util.h \
	$(INC)/ctype.h $(INC)/stdio.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)
	cpset gtop $(BIN)
	
###########
	
listings     : $(SOURCES)
	pr -h "     gtop.d     " $(SOURCES) | lp
