#
# $Header: Makefile,v 1.1 87/09/17 13:00:44 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/dev.d/lolib/Makefile	1.7"
###
### Standard Constants
###

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

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

CC       = cc
CFLAGS   = -c -O -I$(INC) -I$(LINC) -I$(LINC2) $(FFLAG)


#top#
# Generated by makefile 1.44    Wed Mar 13 13:25:51 EST 1985

MAKEFILE = Makefile


LIBRARY = lolib.a

OBJECTS =  adjarc.o adjline.o adjtext.o

SOURCES =  adjarc.c adjline.c adjtext.c

ALL:		$(LIBRARY)

$(LIBRARY):	$(LIBRARY)(adjtext.o) $(LIBRARY)(adjline.o) \
		$(LIBRARY)(adjarc.o) 


$(LIBRARY)(adjarc.o):	 $(INC)/stdio.h $(LINC)/dev.h \
		 $(LINC2)/debug.h $(LINC2)/errpr.h \
		 $(LINC2)/util.h $(INC)/ctype.h \
		 $(LINC2)/gsl.h	$(LINC2)/gpl.h 

$(LIBRARY)(adjline.o):	 $(INC)/stdio.h $(LINC)/dev.h \
		 $(LINC2)/debug.h $(LINC2)/errpr.h \
		 $(LINC2)/util.h $(INC)/ctype.h \
		 $(LINC2)/gsl.h	$(LINC2)/gpl.h 

$(LIBRARY)(adjtext.o):	 $(INC)/stdio.h $(LINC)/dev.h \
		 $(LINC2)/debug.h $(LINC2)/errpr.h \
		 $(LINC2)/util.h $(INC)/ctype.h \
		 $(LINC2)/gsl.h	$(LINC2)/gpl.h 

GLOBALINCS = $(LINC2)/debug.h $(LINC2)/errpr.h \
	$(LINC2)/gpl.h $(LINC2)/gsl.h \
	$(LINC2)/util.h $(LINC)/dev.h $(INC)/ctype.h \
	$(INC)/stdio.h 



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

newmakefile:
	makefile -m -f $(MAKEFILE) -L $(LIBRARY)  -s INC $(INC) -s LINC2 $(LINC2) -s LINC $(LINC)
#bottom#
install      : $(LIBRARY)
	cpset $(LIBRARY) $(LIB)
	
###########
	
listings     : $(SOURCES)
	pr -h "     uplib.d     " $(SOURCES) | lp
