Makefile revision 1.10
1#	$NetBSD: Makefile,v 1.10 1997/06/07 00:35:42 perry Exp $
2#	@(#)Makefile	7.3 (Berkeley) 6/9/91
3
4# Makefile for i386 tags file and boot blocks
5
6NOPROG=	noprog
7NOMAN=	noman
8
9SUBDIR=	stand
10
11TI386=	../i386/tags
12SI386=	../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch]
13AI386=	../i386/i386/*.s
14
15# Directories in which to place i386 tags links
16DI386=	eisa isa mca include
17
18tags:
19	-ctags -dtf ${TI386} ${COMM} ${SI386}
20	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
21	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
22		>> ${TI386}
23	sort -o ${TI386} ${TI386}
24
25links:
26	-for i in ${DI386}; do \
27	    cd $$i && rm -f tags; ln -s ../tags tags; done
28
29.include <bsd.prog.mk>
30