blob: 700e220cf1b90d3c572451ac253876f8361412fb (
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
33
|
# $OpenBSD: Makefile,v 1.7 2001/07/04 08:43:28 niklas Exp $
# $NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg Exp $
#
# Makefile for sparc links, tags file
SUBDIR= stand
NOPROG= noprog
NOMAN= noman
DIRS= conf dev fpu include rcons sbus 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/rcons/*.[ch] \
/sys/arch/sparc/sbus/*.[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>
.include <bsd.subdir.mk>
|