summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/Makefile
blob: 2dd71ec74542e635b8a9ae12e3020d1c002cd8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#	$NetBSD: Makefile,v 1.3 1994/11/20 20:51:32 deraadt Exp $

# from: @(#)Makefile	8.1 (Berkeley) 6/11/93
#
# Makefile for sparc links, tags file

NOPROG=	noprog
NOMAN=	noman
NOOBJ=	noobj

SUBDIR=	stand

DIRS=	conf dev fpu include sparc

links::
	-for i in ${DIRS}; do \
	    (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done

SPARC=	/sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \
	/sys/arch/sparc/include/*.[ch] /sys/arch/sparc/sparc/*.[ch]
ASPARC=	/sys/arch/sparc/sparc/*.s

tags:
	-ctags -wdt ${COMM} ${SPARC}
	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
		>> tags
	sort -o tags tags

obj:	_SUBDIRUSE

.include <bsd.prog.mk>