summaryrefslogtreecommitdiff
path: root/sys/arch/solbourne
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-11-12 17:11:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-11-12 17:11:45 +0000
commited7f9f9073ff56b852d481e94e86acad136ed9ec (patch)
treed5d7bfd862a9ec006d4e2da3c174a8624ef11bf3 /sys/arch/solbourne
parenta48c673d6666f13fc0747e285e24ea16cf0d8cc1 (diff)
Push all potential (as in, all system MI not utilized by the bootblocks)
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
Diffstat (limited to 'sys/arch/solbourne')
-rw-r--r--sys/arch/solbourne/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/solbourne/Makefile b/sys/arch/solbourne/Makefile
index 3d6919cbbe5..3b8c9139f4e 100644
--- a/sys/arch/solbourne/Makefile
+++ b/sys/arch/solbourne/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2010/11/03 20:08:03 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2010/11/12 17:11:44 deraadt Exp $
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -24,10 +24,11 @@ tags::
eval "_mach=\"`make -V _mach -f $${TDIR}/Makefile`\"" && \
eval "_machdir=\$S/arch/$${_mach}" && \
eval "_archdir=\$S/arch/$${_arch}" && \
+ eval "HFILES=\"`find $S \( -path $S/'arch' -o -path $S/stand -o -path $S/lib/libsa -o -path $S'/lib/libkern/arch' \) -prune -o -name '*.h'; find $${_machdir} $${_archdir} $S/lib/libkern/arch/$${_mach} \( -name boot -o -name stand \) -prune -o -name '*.h'`\"" && \
eval "SFILES=\"`make -V SFILES -f $${TDIR}/Makefile`\"" && \
eval "CFILES=\"`make -V CFILES -f $${TDIR}/Makefile`\"" && \
eval "AFILES=\"`make -V AFILES -f $${TDIR}/Makefile`\"" && \
- ctags -wd -f ${TAGS} $${CFILES} && \
+ ctags -wd -f ${TAGS} $${CFILES} $${HFILES} && \
egrep "^[_A-Z]*ENTRY[_A-Z]*\(.*\)" $${SFILES} $${AFILES} | \
sed "s;\\([^:]*\\):\\([^(]*\\)(\\([^, )]*\\)\\(.*\\);\\3 \\1 /^\\2(\\3\\4$$/;" \
>> ${TAGS} && \