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/36b5e91db653
branches:  trunk
changeset: 763410:36b5e91db653
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Fri Mar 18 19:46:19 2011 +0000

description:
Fix tags target.

diffstat:

 sys/arch/amd64/Makefile |  18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r fc3e0affd520 -r 36b5e91db653 sys/arch/amd64/Makefile
--- a/sys/arch/amd64/Makefile   Fri Mar 18 19:45:27 2011 +0000
+++ b/sys/arch/amd64/Makefile   Fri Mar 18 19:46:19 2011 +0000
@@ -1,12 +1,20 @@
-#      $NetBSD: Makefile,v 1.6 2010/04/28 20:22:46 dyoung Exp $
+#      $NetBSD: Makefile,v 1.7 2011/03/18 19:46:19 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
-AAMD64=                ${SYSDIR}/arch/amd64/amd64/*.S
-
+               ${SYSDIR}/arch/amd64/include/*.h \
+               ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
+               ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
+               ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
+SAMD64+=       ${SYSDIR}/arch/x86/x86/*.[ch] \
+               ${SYSDIR}/arch/x86/acpi/*.[ch] \
+               ${SYSDIR}/arch/x86/include/*.h \
+               ${SYSDIR}/arch/x86/isa/*.[ch] \
+               ${SYSDIR}/arch/x86/pci/*.[ch]
+AAMD64=                ${SYSDIR}/arch/amd64/amd64/*.S \
+               ${SYSDIR}/arch/amd64/acpi/*.S
 # Directories in which to place tags links
 DAMD64=                amd64 isa include pci
 
@@ -20,7 +28,7 @@
        -${FINDCOMM} | xargs ctags -wadtf ${TAMD64}
        egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
            ${TOOL_SED} -e \
-               "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+               "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3     \1      /^\2(\3\4$$/;" \
                >> ${TAMD64}
        sort -o ${TAMD64} ${TAMD64}
 



Home | Main Index | Thread Index | Old Index