Makefile revision 1.21
11.21Sfvdl#	$NetBSD: Makefile,v 1.21 2003/02/26 22:22:59 fvdl Exp $
21.1Scgd
31.3Scgd# Makefile for i386 tags file and boot blocks
41.16Sperry
51.16SperryTI386=	${SYSDIR}/arch/i386/tags
61.16SperrySI386=	${SYSDIR}/arch/i386/i386/*.[ch] ${SYSDIR}/arch/i386/include/*.h \
71.16Sperry	${SYSDIR}/arch/i386/eisa/*.[ch] ${SYSDIR}/arch/i386/isa/*.[ch] \
81.16Sperry	${SYSDIR}/arch/i386/pci/*.[ch]
91.16SperryAI386=	${SYSDIR}/arch/i386/i386/*.s ${SYSDIR}/arch/i386/isa/*.s
101.1Scgd
111.13Smycroft# Directories in which to place tags links
121.16SperryDI386=	i386 eisa isa include pci
131.11Smycroft
141.11Smycroft.include "../../kern/Make.tags.inc"
151.1Scgd
161.1Scgdtags:
171.18Slukem	rm -f ${TI386}
181.18Slukem	-echo ${SI386} ${COMM} | xargs ctags -wadtf ${TI386}
191.1Scgd	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
201.1Scgd	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
211.1Scgd		>> ${TI386}
221.1Scgd	sort -o ${TI386} ${TI386}
231.1Scgd
241.1Scgdlinks:
251.1Scgd	-for i in ${DI386}; do \
261.16Sperry	    (cd $$i && rm -f tags; ln -s ../tags tags); done
271.13Smycroft
281.13Smycroft
291.21SfvdlSUBDIR=	compile include stand ../x86/include
301.3Scgd
311.11Smycroft.include <bsd.subdir.mk>
32