# File: include/Makefile
# Purpose: Makefile for include directory
# Author: Phil Bunce (pjb@carmel.com)
# Revision History:
#	981020	Start of revision history

OTHERS = Makefile assert.h cop1.h ctype.h errno.h fcntl.h lr33000.h \
	 lr33020.h malloc.h math.h mips.h qtc_ep.h queue.h regdef.h \
	 setjmp.h signal.h stdio.h string.h termio.h terms.h unistd.h \
	 varargs.h screen.h ether.h sonic.h memory.h atmizer.h lr33300.h \
	 strfmt.h string2.h pmon.h hosif.h lr4001.h lr4010.h mon.h \
	 imon.h trap10.h cobrcore.h dbxcore.h ernicore.h lr3000.h \
	 lr4002.h lr44000.h lr64008.h lr64360.h lr64363.h mipsmon.h \
	 utypes.h lr4101.h l9a0084.h lr4102.h lr64364.h lr64388.h \
	 time.h irqvec.h l65066.h


TL = $(LSIPKG)/tape.lst
tape msim1_tape msim10_tape: revhistory
	@mklst include $(OTHERS) version >> $(TL)

revhistory : $(OTHERS)
	@newversion $(NVSW)

newrev :
	@newversion $(NVSW)
sum:
	@sum $(CFILES) $(ASFILES) $(OTHERS) version > sum.out

patch: revhistory
	@mkpatch include sum.out $(CFILES) $(ASFILES) $(OTHERS) version >> $(TL)


