Makefile revision 1.5
1#	$NetBSD: Makefile,v 1.6 1996/02/01 22:31:28 mycroft Exp $
2#	@(#)Makefile	7.3 (Berkeley) 6/9/91
3
4# Makefile for i386 tags file and boot blocks
5
6.include "../../kern/Make.tags.inc"
7
8NOPROG=	noprog
9NOMAN=	noman
10
11SUBDIR=	boot boot.dos stand isa/pcvt/Util
12
13TI386=	../i386/tags
14SI386=	../i386/eisa/*.[ch] ../i386/i386/*.[ch] ../i386/include/*.h \
15	../i386/include/pc/*.h ../i386/isa/*.[ch] ../i386/isa/pcvt/*.[ch] \
16	../i386/pci/*.[ch]
17AI386=	../i386/i386/*.s ../i386/isa/*.s
18
19# Directories in which to place i386 tags links
20DI386=	conf eisa i386 include isa pci
21
22tags:
23	-ctags -wdtf ${TI386} ${COMM} ${SI386}
24	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
25	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
26		>> ${TI386}
27	sort -o ${TI386} ${TI386}
28
29links:
30	-for i in ${DI386}; do \
31	    cd $$i && rm -f tags; ln -s ../tags tags; done
32
33obj:	_SUBDIRUSE
34
35.include <bsd.prog.mk>
36