Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64 Fix 'tags' target.



details:   https://anonhg.NetBSD.org/src/rev/2ddae2e8d5c6
branches:  trunk
changeset: 754357:2ddae2e8d5c6
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Apr 28 20:22:46 2010 +0000

description:
Fix 'tags' target.

diffstat:

 sys/arch/amd64/Makefile |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r 904370d8eaa6 -r 2ddae2e8d5c6 sys/arch/amd64/Makefile
--- a/sys/arch/amd64/Makefile   Wed Apr 28 19:51:16 2010 +0000
+++ b/sys/arch/amd64/Makefile   Wed Apr 28 20:22:46 2010 +0000
@@ -1,13 +1,11 @@
-#      $NetBSD: Makefile,v 1.5 2008/10/26 02:14:59 mrg Exp $
+#      $NetBSD: Makefile,v 1.6 2010/04/28 20:22:46 dyoung Exp $
 
 # Makefile for amd64 tags file and boot blocks
 
 TAMD64=                ${SYSDIR}/arch/amd64/tags
 SAMD64=                ${SYSDIR}/arch/amd64/amd64/*.[ch] \
-               ${SYSDIR}/arch/amd64/include/*.h \
-               ${SYSDIR}/arch/amd64/isa/*.[ch] \
-               ${SYSDIR}/arch/amd64/pci/*.[ch]
-AAMD64=                ${SYSDIR}/arch/amd64/amd64/*.s ${SYSDIR}/arch/amd64/isa/*.s
+               ${SYSDIR}/arch/amd64/include/*.h
+AAMD64=                ${SYSDIR}/arch/amd64/amd64/*.S
 
 # Directories in which to place tags links
 DAMD64=                amd64 isa include pci
@@ -15,8 +13,11 @@
 .include "../../kern/Make.tags.inc"
 
 tags:
-       rm -f ${TAMD64}
-       -echo ${SAMD64} ${COMM} | xargs ctags -wadtf ${TAMD64}
+       -rm -f ${TAMD64}
+       -echo ${SAMD64} | xargs ctags -wadtf ${TAMD64}
+       -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
+           sort -t / -u | xargs ctags -wadtf ${TAMD64}
+       -${FINDCOMM} | xargs ctags -wadtf ${TAMD64}
        egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
            ${TOOL_SED} -e \
                "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \



Home | Main Index | Thread Index | Old Index