Makefile revision 1.3
11.2Scgd#	from: @(#)Makefile	7.3 (Berkeley) 6/9/91
21.3Scgd#	$Id: Makefile,v 1.3 1993/07/04 14:03:00 cgd Exp $
31.1Scgd
41.3Scgd# Makefile for i386 tags file and boot blocks
51.1Scgd
61.3ScgdNOPROG=	noprog
71.3ScgdNOMAN=	noman
81.3ScgdNOOBJ=	noobj
91.1Scgd
101.3ScgdSUBDIR=	boot
111.3Scgd
121.1ScgdTI386=	../i386/tags
131.1ScgdSI386=	../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch]
141.1ScgdAI386=	../i386/i386/*.s
151.1Scgd
161.1Scgd# Directories in which to place i386 tags links
171.1ScgdDI386=	eisa isa mca include
181.1Scgd
191.1Scgdtags:
201.1Scgd	-ctags -dtf ${TI386} ${COMM} ${SI386}
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.3Scgd.include <bsd.prog.mk>
31