Makefile revision 1.31
11.31Sdyoung#	$NetBSD: Makefile,v 1.31 2008/01/10 07:35:09 dyoung Exp $
21.1Scgd
31.3Scgd# Makefile for i386 tags file and boot blocks
41.16Sperry
51.16SperryTI386=	${SYSDIR}/arch/i386/tags
61.31SdyoungSI386=	${SYSDIR}/arch/i386/acpi/*.[ch] \
71.31Sdyoung	${SYSDIR}/arch/i386/eisa/*.[ch] \
81.31Sdyoung	${SYSDIR}/arch/i386/i386/*.[ch] \
91.31Sdyoung	${SYSDIR}/arch/i386/include/*.h \
101.31Sdyoung	${SYSDIR}/arch/i386/isa/*.[ch] \
111.22Sdyoung	${SYSDIR}/arch/i386/pci/*.[ch] \
121.31Sdyoung	${SYSDIR}/arch/i386/pnpbios/*.[ch] \
131.28Sdyoung	${SYSDIR}/contrib/dev/ath/*.[ch] \
141.28Sdyoung	${SYSDIR}/contrib/dev/ath/netbsd/*.[ch] \
151.28Sdyoung	${SYSDIR}/contrib/dev/ath/public/*.[ch]
161.27SdyoungSI386+=	${SYSDIR}/arch/x86/x86/*.[ch] ${SYSDIR}/arch/x86/include/*.h \
171.27Sdyoung	${SYSDIR}/arch/x86/isa/*.[ch] \
181.27Sdyoung	${SYSDIR}/arch/x86/pci/*.[ch]
191.28SdyoungAI386=	${SYSDIR}/arch/i386/i386/*.[sS]
201.1Scgd
211.13Smycroft# Directories in which to place tags links
221.16SperryDI386=	i386 eisa isa include pci
231.11Smycroft
241.11Smycroft.include "../../kern/Make.tags.inc"
251.1Scgd
261.1Scgdtags:
271.28Sdyoung	-rm -f ${TI386}
281.29Sdyoung	-echo ${SI386} | xargs ctags -wadtf ${TI386}
291.29Sdyoung	-${FINDCOMM} | xargs ctags -wadtf ${TI386}
301.1Scgd	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
311.24Sdyoung	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
321.1Scgd		>> ${TI386}
331.1Scgd	sort -o ${TI386} ${TI386}
341.1Scgd
351.1Scgdlinks:
361.1Scgd	-for i in ${DI386}; do \
371.16Sperry	    (cd $$i && rm -f tags; ln -s ../tags tags); done
381.13Smycroft
391.13Smycroft
401.21SfvdlSUBDIR=	compile include stand ../x86/include
411.3Scgd
421.11Smycroft.include <bsd.subdir.mk>
43