#                        Copyright (c) 1987 Bellcore
#                            All Rights Reserved
#       Permission is granted to copy or use this program, EXCEPT that it
#       may not be sold for profit, the copyright notice must be reproduced
#       on copies, and credit should be given to Bellcore where it is due.
#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.

#	$Header: Makefile,v 4.5 88/08/29 13:38:23 sau Exp $
#	$Source: /tmp/mgrsrc/lib/RCS/Makefile,v $



PORTCFILES = ckmgrterm.c term.c text.c sfont.c sin.c
CFILES = $(PORTCFILES) scribe.c
OFILES = ckmgrterm.o term.o text.o sfont.o scribe.o sin.o
HFILES = window.h term.h restart.h dump.h

all: $(ALL)
all020: $(ALL020)

$(MGRLIB): $(OFILES)
	rm -f $@
	$(AR) rsv $@ $^

$(MGRLIB020): $(OFILES)
	rm -f $@
	$(AR) rsv $@ $^

term.o:		term.h window.h restart.h

text.o:		term.h window.h

clean:	
		rm -f *.o

realclean: clean
		rm -f $(ALL) $(ALL020) core report

clobber: realclean

install: $(ALL)
	cp $(ALL) $(LIB)

install020: $(ALL020)
	cp $(ALL020) $(LIB)
