Makefile revision 1.33
11.33Sbouyer# $NetBSD: Makefile,v 1.33 2008/02/17 16:23:12 bouyer Exp $ 21.1Scgd 31.3Scgd# Makefile for i386 tags file and boot blocks 41.16Sperry 51.16SperryTI386= ${SYSDIR}/arch/i386/tags 61.31SdyoungSI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \ 71.31Sdyoung ${SYSDIR}/arch/i386/eisa/*.[ch] \ 81.31Sdyoung ${SYSDIR}/arch/i386/i386/*.[ch] \ 91.31Sdyoung ${SYSDIR}/arch/i386/include/*.h \ 101.31Sdyoung ${SYSDIR}/arch/i386/isa/*.[ch] \ 111.32Sdyoung ${SYSDIR}/arch/i386/mca/*.[ch] \ 121.22Sdyoung ${SYSDIR}/arch/i386/pci/*.[ch] \ 131.31Sdyoung ${SYSDIR}/arch/i386/pnpbios/*.[ch] \ 141.28Sdyoung ${SYSDIR}/contrib/dev/ath/*.[ch] \ 151.28Sdyoung ${SYSDIR}/contrib/dev/ath/netbsd/*.[ch] \ 161.28Sdyoung ${SYSDIR}/contrib/dev/ath/public/*.[ch] 171.27SdyoungSI386+= ${SYSDIR}/arch/x86/x86/*.[ch] ${SYSDIR}/arch/x86/include/*.h \ 181.27Sdyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 191.27Sdyoung ${SYSDIR}/arch/x86/pci/*.[ch] 201.28SdyoungAI386= ${SYSDIR}/arch/i386/i386/*.[sS] 211.1Scgd 221.13Smycroft# Directories in which to place tags links 231.16SperryDI386= i386 eisa isa include pci 241.11Smycroft 251.11Smycroft.include "../../kern/Make.tags.inc" 261.1Scgd 271.1Scgdtags: 281.28Sdyoung -rm -f ${TI386} 291.29Sdyoung -echo ${SI386} | xargs ctags -wadtf ${TI386} 301.29Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TI386} 311.1Scgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 321.24Sdyoung sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 331.1Scgd >> ${TI386} 341.1Scgd sort -o ${TI386} ${TI386} 351.1Scgd 361.1Scgdlinks: 371.1Scgd -for i in ${DI386}; do \ 381.16Sperry (cd $$i && rm -f tags; ln -s ../tags tags); done 391.13Smycroft 401.13Smycroft 411.33SbouyerSUBDIR= compile include stand ../x86/include ../xen/include 421.3Scgd 431.11Smycroft.include <bsd.subdir.mk> 44