Makefile revision 1.16
11.16Sperry#	$NetBSD: Makefile,v 1.16 1998/11/15 20:36:30 perry Exp $
21.1Scgd
31.3Scgd# Makefile for i386 tags file and boot blocks
41.1Scgd
51.16SperrySYSDIR?=	/sys
61.16Sperry
71.16SperryTI386=	${SYSDIR}/arch/i386/tags
81.16SperrySI386=	${SYSDIR}/arch/i386/i386/*.[ch] ${SYSDIR}/arch/i386/include/*.h \
91.16Sperry	${SYSDIR}/arch/i386/eisa/*.[ch] ${SYSDIR}/arch/i386/isa/*.[ch] \
101.16Sperry	${SYSDIR}/arch/i386/pci/*.[ch]
111.16SperryAI386=	${SYSDIR}/arch/i386/i386/*.s ${SYSDIR}/arch/i386/isa/*.s
121.1Scgd
131.13Smycroft# Directories in which to place tags links
141.16SperryDI386=	i386 eisa isa include pci
151.11Smycroft
161.11Smycroft.include "../../kern/Make.tags.inc"
171.1Scgd
181.1Scgdtags:
191.11Smycroft	-ctags -wdtf ${TI386} ${SI386} ${COMM}
201.1Scgd	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
211.1Scgd	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
221.1Scgd		>> ${TI386}
231.1Scgd	sort -o ${TI386} ${TI386}
241.1Scgd
251.1Scgdlinks:
261.1Scgd	-for i in ${DI386}; do \
271.16Sperry	    (cd $$i && rm -f tags; ln -s ../tags tags); done
281.13Smycroft
291.13Smycroft
301.15ScgdSUBDIR=	include stand isa/pcvt
311.3Scgd
321.11Smycroft.include <bsd.subdir.mk>
33