Makefile revision 1.39
11.39Sdyoung# $NetBSD: Makefile,v 1.39 2011/03/18 19:48:12 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.27Sdyoung ${SYSDIR}/arch/x86/pci/*.[ch] 221.39SdyoungAI386= ${SYSDIR}/arch/i386/i386/*.S 231.1Scgd 241.13Smycroft# Directories in which to place tags links 251.16SperryDI386= i386 eisa isa include pci 261.11Smycroft 271.11Smycroft.include "../../kern/Make.tags.inc" 281.1Scgd 291.1Scgdtags: 301.28Sdyoung -rm -f ${TI386} 311.29Sdyoung -echo ${SI386} | xargs ctags -wadtf ${TI386} 321.38Sdyoung -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \ 331.38Sdyoung sort -t / -u | xargs ctags -wadtf ${TI386} 341.29Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TI386} 351.1Scgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 361.35Sapb ${TOOL_SED} -e \ 371.35Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 381.1Scgd >> ${TI386} 391.1Scgd sort -o ${TI386} ${TI386} 401.1Scgd 411.1Scgdlinks: 421.1Scgd -for i in ${DI386}; do \ 431.16Sperry (cd $$i && rm -f tags; ln -s ../tags tags); done 441.13Smycroft 451.13Smycroft 461.33SbouyerSUBDIR= compile include stand ../x86/include ../xen/include 471.3Scgd 481.11Smycroft.include <bsd.subdir.mk> 49