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