From ed7f9f9073ff56b852d481e94e86acad136ed9ec Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 12 Nov 2010 17:11:45 +0000 Subject: 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 --- sys/arch/octeon/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/octeon') diff --git a/sys/arch/octeon/Makefile b/sys/arch/octeon/Makefile index 4af6aca0c44..893ff4a9687 100644 --- a/sys/arch/octeon/Makefile +++ b/sys/arch/octeon/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2010/11/03 20:08:03 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 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} && \ -- cgit v1.2.3