Makefile revision 1.11
11.11Smycroft#	$NetBSD: Makefile,v 1.11 1997/10/11 08:42:07 mycroft Exp $
21.11Smycroft
31.11SmycroftNOOBJ=
41.1Scgd
51.3Scgd# Makefile for i386 tags file and boot blocks
61.1Scgd
71.10SperrySUBDIR=	stand
81.3Scgd
91.1ScgdTI386=	../i386/tags
101.11SmycroftSI386=	../i386/i386/*.[ch] ../i386/include/*.h \
111.11Smycroft	../i386/eisa/*.[ch] ../i386/isa/*.[ch] ../i386/pci/*.[ch]
121.1ScgdAI386=	../i386/i386/*.s
131.1Scgd
141.1Scgd# Directories in which to place i386 tags links
151.11SmycroftDI386=	eisa isa include pci
161.11Smycroft
171.11Smycroft.include "../../kern/Make.tags.inc"
181.1Scgd
191.1Scgdtags:
201.11Smycroft	-ctags -wdtf ${TI386} ${SI386} ${COMM}
211.1Scgd	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
221.1Scgd	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
231.1Scgd		>> ${TI386}
241.1Scgd	sort -o ${TI386} ${TI386}
251.1Scgd
261.1Scgdlinks:
271.1Scgd	-for i in ${DI386}; do \
281.1Scgd	    cd $$i && rm -f tags; ln -s ../tags tags; done
291.3Scgd
301.11Smycroft.include <bsd.subdir.mk>
31