Makefile revision 1.15
11.15Scgd#	$NetBSD: Makefile,v 1.15 1998/06/12 23:22:36 cgd Exp $
21.1Scgd
31.3Scgd# Makefile for i386 tags file and boot blocks
41.1Scgd
51.1ScgdTI386=	../i386/tags
61.11SmycroftSI386=	../i386/i386/*.[ch] ../i386/include/*.h \
71.11Smycroft	../i386/eisa/*.[ch] ../i386/isa/*.[ch] ../i386/pci/*.[ch]
81.1ScgdAI386=	../i386/i386/*.s
91.1Scgd
101.13Smycroft# Directories in which to place tags links
111.11SmycroftDI386=	eisa isa include pci
121.11Smycroft
131.11Smycroft.include "../../kern/Make.tags.inc"
141.1Scgd
151.1Scgdtags:
161.11Smycroft	-ctags -wdtf ${TI386} ${SI386} ${COMM}
171.1Scgd	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
181.1Scgd	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
191.1Scgd		>> ${TI386}
201.1Scgd	sort -o ${TI386} ${TI386}
211.1Scgd
221.1Scgdlinks:
231.1Scgd	-for i in ${DI386}; do \
241.1Scgd	    cd $$i && rm -f tags; ln -s ../tags tags; done
251.13Smycroft
261.13Smycroft
271.15ScgdSUBDIR=	include stand isa/pcvt
281.3Scgd
291.11Smycroft.include <bsd.subdir.mk>
30