Makefile revision 1.40
11.40Sdyoung# $NetBSD: Makefile,v 1.40 2011/04/04 19:46:40 dyoung 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.37Sdyoung ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \ 151.37Sdyoung ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \ 161.38Sdyoung ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch] 171.34SdyoungSI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \ 181.34Sdyoung ${SYSDIR}/arch/x86/acpi/*.[ch] \ 191.34Sdyoung ${SYSDIR}/arch/x86/include/*.h \ 201.27Sdyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 211.40Sdyoung ${SYSDIR}/arch/xen/include/*.h \ 221.40Sdyoung ${SYSDIR}/arch/xen/i386/*.[ch] \ 231.40Sdyoung ${SYSDIR}/arch/xen/x86/*.[ch] \ 241.40Sdyoung ${SYSDIR}/arch/xen/xen/*.[ch] \ 251.40Sdyoung ${SYSDIR}/arch/xen/xenbus/*.[ch] \ 261.27Sdyoung ${SYSDIR}/arch/x86/pci/*.[ch] 271.39SdyoungAI386= ${SYSDIR}/arch/i386/i386/*.S 281.1Scgd 291.13Smycroft# Directories in which to place tags links 301.16SperryDI386= i386 eisa isa include pci 311.11Smycroft 321.11Smycroft.include "../../kern/Make.tags.inc" 331.1Scgd 341.1Scgdtags: 351.28Sdyoung -rm -f ${TI386} 361.29Sdyoung -echo ${SI386} | xargs ctags -wadtf ${TI386} 371.40Sdyoung -find -H ${SYSDIR}/external/bsd/acpica/dist/ -name '*.[ch]' | \ 381.38Sdyoung sort -t / -u | xargs ctags -wadtf ${TI386} 391.29Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TI386} 401.1Scgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 411.35Sapb ${TOOL_SED} -e \ 421.35Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 431.1Scgd >> ${TI386} 441.1Scgd sort -o ${TI386} ${TI386} 451.1Scgd 461.1Scgdlinks: 471.1Scgd -for i in ${DI386}; do \ 481.16Sperry (cd $$i && rm -f tags; ln -s ../tags tags); done 491.13Smycroft 501.13Smycroft 511.33SbouyerSUBDIR= compile include stand ../x86/include ../xen/include 521.3Scgd 531.11Smycroft.include <bsd.subdir.mk> 54