Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg 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 rcons sbus 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/rcons/*.[ch] \
21	/sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch]
22ASPARC=	/sys/arch/sparc/sparc/*.s
23
24tags:
25	-ctags -wdt ${COMM} ${SPARC}
26	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
27	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
28		>> tags
29	sort -o tags tags
30
31.include <bsd.prog.mk>
32.include <bsd.subdir.mk>
33