Makefile revision 1.5
1#	$NetBSD: Makefile,v 1.5 1996/05/24 23:18:23 pk Exp $
2
3# from: @(#)Makefile	8.1 (Berkeley) 6/11/93
4#
5# Makefile for sparc links, tags file
6
7SUBDIR= stand
8
9NOPROG=	noprog
10NOMAN=	noman
11NOOBJ=	noobj
12
13DIRS=	conf dev fpu include sparc
14
15links::
16	-for i in ${DIRS}; do \
17	    (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
18
19SPARC=	/sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \
20	/sys/arch/sparc/include/*.[ch] /sys/arch/sparc/sparc/*.[ch]
21ASPARC=	/sys/arch/sparc/sparc/*.s
22
23tags:
24	-ctags -wdt ${COMM} ${SPARC}
25	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
26	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
27		>> tags
28	sort -o tags tags
29
30.include <bsd.prog.mk>
31.include <bsd.subdir.mk>
32