1 1.32 dyoung # $NetBSD: Makefile,v 1.32 2008/01/15 22:26:02 dyoung Exp $ 2 1.1 cgd 3 1.3 cgd # Makefile for i386 tags file and boot blocks 4 1.16 perry 5 1.16 perry TI386= ${SYSDIR}/arch/i386/tags 6 1.31 dyoung SI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \ 7 1.31 dyoung ${SYSDIR}/arch/i386/eisa/*.[ch] \ 8 1.31 dyoung ${SYSDIR}/arch/i386/i386/*.[ch] \ 9 1.31 dyoung ${SYSDIR}/arch/i386/include/*.h \ 10 1.31 dyoung ${SYSDIR}/arch/i386/isa/*.[ch] \ 11 1.32 dyoung ${SYSDIR}/arch/i386/mca/*.[ch] \ 12 1.22 dyoung ${SYSDIR}/arch/i386/pci/*.[ch] \ 13 1.31 dyoung ${SYSDIR}/arch/i386/pnpbios/*.[ch] \ 14 1.28 dyoung ${SYSDIR}/contrib/dev/ath/*.[ch] \ 15 1.28 dyoung ${SYSDIR}/contrib/dev/ath/netbsd/*.[ch] \ 16 1.28 dyoung ${SYSDIR}/contrib/dev/ath/public/*.[ch] 17 1.27 dyoung SI386+= ${SYSDIR}/arch/x86/x86/*.[ch] ${SYSDIR}/arch/x86/include/*.h \ 18 1.27 dyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 19 1.27 dyoung ${SYSDIR}/arch/x86/pci/*.[ch] 20 1.28 dyoung AI386= ${SYSDIR}/arch/i386/i386/*.[sS] 21 1.1 cgd 22 1.13 mycroft # Directories in which to place tags links 23 1.16 perry DI386= i386 eisa isa include pci 24 1.11 mycroft 25 1.11 mycroft .include "../../kern/Make.tags.inc" 26 1.1 cgd 27 1.1 cgd tags: 28 1.28 dyoung -rm -f ${TI386} 29 1.29 dyoung -echo ${SI386} | xargs ctags -wadtf ${TI386} 30 1.29 dyoung -${FINDCOMM} | xargs ctags -wadtf ${TI386} 31 1.1 cgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 32 1.24 dyoung sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 33 1.1 cgd >> ${TI386} 34 1.1 cgd sort -o ${TI386} ${TI386} 35 1.1 cgd 36 1.1 cgd links: 37 1.1 cgd -for i in ${DI386}; do \ 38 1.16 perry (cd $$i && rm -f tags; ln -s ../tags tags); done 39 1.13 mycroft 40 1.13 mycroft 41 1.21 fvdl SUBDIR= compile include stand ../x86/include 42 1.3 cgd 43 1.11 mycroft .include <bsd.subdir.mk> 44