Fri Mar 18 19:48:12 2011 UTC ()
Simplify tags target to reduce diffs with amd64/Makefile tags target.


(dyoung)
diff -r1.38 -r1.39 src/sys/arch/i386/Makefile

cvs diff -r1.38 -r1.39 src/sys/arch/i386/Makefile (expand / switch to unified diff)

--- src/sys/arch/i386/Makefile 2009/08/30 02:00:56 1.38
+++ src/sys/arch/i386/Makefile 2011/03/18 19:48:12 1.39
@@ -1,35 +1,35 @@ @@ -1,35 +1,35 @@
1# $NetBSD: Makefile,v 1.38 2009/08/30 02:00:56 dyoung Exp $ 1# $NetBSD: Makefile,v 1.39 2011/03/18 19:48:12 dyoung Exp $
2 2
3# Makefile for i386 tags file and boot blocks 3# Makefile for i386 tags file and boot blocks
4 4
5TI386= ${SYSDIR}/arch/i386/tags 5TI386= ${SYSDIR}/arch/i386/tags
6SI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \ 6SI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \
7 ${SYSDIR}/arch/i386/eisa/*.[ch] \ 7 ${SYSDIR}/arch/i386/eisa/*.[ch] \
8 ${SYSDIR}/arch/i386/i386/*.[ch] \ 8 ${SYSDIR}/arch/i386/i386/*.[ch] \
9 ${SYSDIR}/arch/i386/include/*.h \ 9 ${SYSDIR}/arch/i386/include/*.h \
10 ${SYSDIR}/arch/i386/isa/*.[ch] \ 10 ${SYSDIR}/arch/i386/isa/*.[ch] \
11 ${SYSDIR}/arch/i386/mca/*.[ch] \ 11 ${SYSDIR}/arch/i386/mca/*.[ch] \
12 ${SYSDIR}/arch/i386/pci/*.[ch] \ 12 ${SYSDIR}/arch/i386/pci/*.[ch] \
13 ${SYSDIR}/arch/i386/pnpbios/*.[ch] \ 13 ${SYSDIR}/arch/i386/pnpbios/*.[ch] \
14 ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \ 14 ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
15 ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \ 15 ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
16 ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch] 16 ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
17SI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \ 17SI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \
18 ${SYSDIR}/arch/x86/acpi/*.[ch] \ 18 ${SYSDIR}/arch/x86/acpi/*.[ch] \
19 ${SYSDIR}/arch/x86/include/*.h \ 19 ${SYSDIR}/arch/x86/include/*.h \
20 ${SYSDIR}/arch/x86/isa/*.[ch] \ 20 ${SYSDIR}/arch/x86/isa/*.[ch] \
21 ${SYSDIR}/arch/x86/pci/*.[ch] 21 ${SYSDIR}/arch/x86/pci/*.[ch]
22AI386= ${SYSDIR}/arch/i386/i386/*.[sS] 22AI386= ${SYSDIR}/arch/i386/i386/*.S
23 23
24# Directories in which to place tags links 24# Directories in which to place tags links
25DI386= i386 eisa isa include pci 25DI386= i386 eisa isa include pci
26 26
27.include "../../kern/Make.tags.inc" 27.include "../../kern/Make.tags.inc"
28 28
29tags: 29tags:
30 -rm -f ${TI386} 30 -rm -f ${TI386}
31 -echo ${SI386} | xargs ctags -wadtf ${TI386} 31 -echo ${SI386} | xargs ctags -wadtf ${TI386}
32 -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \ 32 -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
33 sort -t / -u | xargs ctags -wadtf ${TI386} 33 sort -t / -u | xargs ctags -wadtf ${TI386}
34 -${FINDCOMM} | xargs ctags -wadtf ${TI386} 34 -${FINDCOMM} | xargs ctags -wadtf ${TI386}
35 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 35 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \