Module Name: src
Committed By: dyoung
Date: Wed Apr 28 20:22:46 UTC 2010
Modified Files:
src/sys/arch/amd64: Makefile
Log Message:
Fix 'tags' target.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/Makefile
diff -u src/sys/arch/amd64/Makefile:1.5 src/sys/arch/amd64/Makefile:1.6
--- src/sys/arch/amd64/Makefile:1.5 Sun Oct 26 02:14:59 2008
+++ src/sys/arch/amd64/Makefile Wed Apr 28 20:22:46 2010
@@ -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$$/;" \