Makefile revision 1.8
11.8Scgd#	$NetBSD: Makefile,v 1.8 1994/10/27 04:14:23 cgd Exp $
21.8Scgd#	@(#)Makefile	7.3 (Berkeley) 6/9/91
31.1Scgd
41.3Scgd# Makefile for i386 tags file and boot blocks
51.1Scgd
61.3ScgdNOPROG=	noprog
71.3ScgdNOMAN=	noman
81.1Scgd
91.7ScgdSUBDIR=	boot
101.3Scgd
111.1ScgdTI386=	../i386/tags
121.1ScgdSI386=	../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch]
131.1ScgdAI386=	../i386/i386/*.s
141.1Scgd
151.1Scgd# Directories in which to place i386 tags links
161.1ScgdDI386=	eisa isa mca include
171.1Scgd
181.1Scgdtags:
191.1Scgd	-ctags -dtf ${TI386} ${COMM} ${SI386}
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.1Scgd	    cd $$i && rm -f tags; ln -s ../tags tags; done
281.6Scgd
291.6Scgdobj: _SUBDIRUSE
301.3Scgd
311.3Scgd.include <bsd.prog.mk>
32