summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-15 21:29:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-15 21:29:17 +0000
commitf6919fd90bb0cf855d40ea56e1bac94e13c92978 (patch)
tree7c5a5f4802e0687503f99122f1e9bbdecc5c1ae4 /sys/arch/sparc
parent2c14d0dddcd37fb261a40e9816e2980a85258f57 (diff)
repair tags building (due to obj dirs in /sys)
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/sys/arch/sparc/Makefile b/sys/arch/sparc/Makefile
index 700e220cf1b..7203ff63353 100644
--- a/sys/arch/sparc/Makefile
+++ b/sys/arch/sparc/Makefile
@@ -1,31 +1,34 @@
-# $OpenBSD: Makefile,v 1.7 2001/07/04 08:43:28 niklas Exp $
+# $OpenBSD: Makefile,v 1.8 2002/07/15 21:29:16 mickey Exp $
# $NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg Exp $
#
# Makefile for sparc links, tags file
+S=${.CURDIR}/../..
+.include "$S/kern/Make.tags.inc"
+
SUBDIR= stand
NOPROG= noprog
NOMAN= noman
+TSPARC= $S/arch/sparc/tags
DIRS= conf dev fpu include rcons sbus sparc
links::
-for i in ${DIRS}; do \
- (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
+ (cd $$i && { rm -f tags; ln -s ${TSPARC} 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
+SPARC= $S/arch/sparc/dev/*.[ch] $S/arch/sparc/fpu/*.[ch] \
+ $S/arch/sparc/include/*.[ch] $S/arch/sparc/sparc/*.[ch]
+ASPARC= $S/arch/sparc/sparc/*.[sS] $S/lib/libkern/arch/sparc/*.[sS]
tags:
- -ctags -wdt ${COMM} ${SPARC}
+ -ctags -wdtf ${TSPARC} ${COMM} ${SPARC}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
- >> tags
- sort -o tags tags
+ >> ${TSPARC}
+ sort -o ${TSPARC} ${TSPARC}
obj: _SUBDIRUSE