Makefile revision 1.43
11.1Sfvdl# $NetBSD: Makefile,v 1.43 2012/10/23 16:08:12 dyoung Exp $ 21.1Sfvdl 31.1Sfvdl# Makefile for i386 tags file and boot blocks 41.1Sfvdl 51.1SfvdlTI386= ${SYSDIR}/arch/i386/tags 61.1SfvdlSI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \ 71.1Sfvdl ${SYSDIR}/arch/i386/eisa/*.[ch] \ 81.1Sfvdl ${SYSDIR}/arch/i386/i386/*.[ch] \ 91.1Sfvdl ${SYSDIR}/arch/i386/include/*.h \ 101.1Sfvdl ${SYSDIR}/arch/i386/isa/*.[ch] \ 111.1Sfvdl ${SYSDIR}/arch/i386/mca/*.[ch] \ 121.1Sfvdl ${SYSDIR}/arch/i386/pci/*.[ch] \ 131.1Sfvdl ${SYSDIR}/arch/i386/pnpbios/*.[ch] \ 141.1Sfvdl ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \ 151.1Sfvdl ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \ 161.1Sfvdl ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch] 171.1SfvdlSI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \ 181.1Sfvdl ${SYSDIR}/arch/x86/acpi/*.[ch] \ 191.1Sfvdl ${SYSDIR}/arch/x86/include/*.h \ 201.1Sfvdl ${SYSDIR}/arch/x86/isa/*.[ch] \ 211.1Sfvdl ${SYSDIR}/arch/x86/pci/*.[ch] \ 221.1Sfvdl ${SYSDIR}/arch/xen/include/*.h \ 231.1Sfvdl ${SYSDIR}/arch/xen/i386/*.[ch] \ 241.1Sfvdl ${SYSDIR}/arch/xen/x86/*.[ch] \ 251.1Sfvdl ${SYSDIR}/arch/xen/xen/*.[ch] \ 261.1Sfvdl ${SYSDIR}/arch/xen/xenbus/*.[ch] 271.1SfvdlAI386= ${SYSDIR}/arch/i386/i386/*.S \ 281.1Sfvdl ${SYSDIR}/../common/lib/libc/arch/i386/*/*.S 291.1Sfvdl 301.1Sfvdl# Directories in which to place tags links 311.1SfvdlDI386= i386 eisa isa include pci 321.1Sfvdl 331.1Sfvdl.include "../../kern/Make.tags.inc" 341.1Sfvdl 351.1Sfvdltags: 361.1Sfvdl -rm -f ${TI386} 371.1Sfvdl -echo ${SI386} | xargs $(TOOL_CTAGS) -wadtf ${TI386} 381.1Sfvdl -find -H ${SYSDIR}/external/bsd/acpica/dist/ -name '*.[ch]' | \ 391.1Sfvdl sort -t / -u | xargs $(TOOL_CTAGS) -wadtf ${TI386} 401.1Sfvdl -${FINDCOMM} | xargs $(TOOL_CTAGS) -wadtf ${TI386} 411.1Sfvdl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 421.1Sfvdl ${TOOL_SED} -e \ 431.1Sfvdl "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 441.1Sfvdl >> ${TI386} 451.1Sfvdl sort -o ${TI386} ${TI386} 461.1Sfvdl 471.1Sfvdllinks: 481.1Sfvdl -for i in ${DI386}; do \ 491.1Sfvdl (cd $$i && rm -f tags; ln -s ../tags tags); done 501.1Sfvdl 511.1Sfvdl 521.1SfvdlSUBDIR= compile include stand ../x86/include ../xen/include 531.1Sfvdl 541.1Sfvdl.include <bsd.subdir.mk> 551.1Sfvdl