Makefile revision 1.37
11.37Sdyoung# $NetBSD: Makefile,v 1.37 2009/05/28 18:13:46 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.37Sdyoung ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch] \ 171.36Sdyoung ${SYSDIR}/dist/acpica/*.[ch] 181.34SdyoungSI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \ 191.34Sdyoung ${SYSDIR}/arch/x86/acpi/*.[ch] \ 201.34Sdyoung ${SYSDIR}/arch/x86/include/*.h \ 211.27Sdyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 221.27Sdyoung ${SYSDIR}/arch/x86/pci/*.[ch] 231.28SdyoungAI386= ${SYSDIR}/arch/i386/i386/*.[sS] 241.1Scgd 251.13Smycroft# Directories in which to place tags links 261.16SperryDI386= i386 eisa isa include pci 271.11Smycroft 281.11Smycroft.include "../../kern/Make.tags.inc" 291.1Scgd 301.1Scgdtags: 311.28Sdyoung -rm -f ${TI386} 321.29Sdyoung -echo ${SI386} | xargs ctags -wadtf ${TI386} 331.29Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TI386} 341.1Scgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 351.35Sapb ${TOOL_SED} -e \ 361.35Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 371.1Scgd >> ${TI386} 381.1Scgd sort -o ${TI386} ${TI386} 391.1Scgd 401.1Scgdlinks: 411.1Scgd -for i in ${DI386}; do \ 421.16Sperry (cd $$i && rm -f tags; ln -s ../tags tags); done 431.13Smycroft 441.13Smycroft 451.33SbouyerSUBDIR= compile include stand ../x86/include ../xen/include 461.3Scgd 471.11Smycroft.include <bsd.subdir.mk> 48