1 1.43 dyoung # $NetBSD: Makefile,v 1.43 2012/10/23 16:08:12 dyoung Exp $ 2 1.1 cgd 3 1.3 cgd # Makefile for i386 tags file and boot blocks 4 1.16 perry 5 1.16 perry TI386= ${SYSDIR}/arch/i386/tags 6 1.31 dyoung SI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \ 7 1.31 dyoung ${SYSDIR}/arch/i386/eisa/*.[ch] \ 8 1.31 dyoung ${SYSDIR}/arch/i386/i386/*.[ch] \ 9 1.31 dyoung ${SYSDIR}/arch/i386/include/*.h \ 10 1.31 dyoung ${SYSDIR}/arch/i386/isa/*.[ch] \ 11 1.32 dyoung ${SYSDIR}/arch/i386/mca/*.[ch] \ 12 1.22 dyoung ${SYSDIR}/arch/i386/pci/*.[ch] \ 13 1.31 dyoung ${SYSDIR}/arch/i386/pnpbios/*.[ch] \ 14 1.37 dyoung ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \ 15 1.37 dyoung ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \ 16 1.38 dyoung ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch] 17 1.34 dyoung SI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \ 18 1.34 dyoung ${SYSDIR}/arch/x86/acpi/*.[ch] \ 19 1.34 dyoung ${SYSDIR}/arch/x86/include/*.h \ 20 1.27 dyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 21 1.42 dyoung ${SYSDIR}/arch/x86/pci/*.[ch] \ 22 1.40 dyoung ${SYSDIR}/arch/xen/include/*.h \ 23 1.40 dyoung ${SYSDIR}/arch/xen/i386/*.[ch] \ 24 1.40 dyoung ${SYSDIR}/arch/xen/x86/*.[ch] \ 25 1.40 dyoung ${SYSDIR}/arch/xen/xen/*.[ch] \ 26 1.42 dyoung ${SYSDIR}/arch/xen/xenbus/*.[ch] 27 1.41 dyoung AI386= ${SYSDIR}/arch/i386/i386/*.S \ 28 1.41 dyoung ${SYSDIR}/../common/lib/libc/arch/i386/*/*.S 29 1.1 cgd 30 1.13 mycroft # Directories in which to place tags links 31 1.16 perry DI386= i386 eisa isa include pci 32 1.11 mycroft 33 1.11 mycroft .include "../../kern/Make.tags.inc" 34 1.1 cgd 35 1.1 cgd tags: 36 1.28 dyoung -rm -f ${TI386} 37 1.43 dyoung -echo ${SI386} | xargs $(TOOL_CTAGS) -wadtf ${TI386} 38 1.40 dyoung -find -H ${SYSDIR}/external/bsd/acpica/dist/ -name '*.[ch]' | \ 39 1.43 dyoung sort -t / -u | xargs $(TOOL_CTAGS) -wadtf ${TI386} 40 1.43 dyoung -${FINDCOMM} | xargs $(TOOL_CTAGS) -wadtf ${TI386} 41 1.1 cgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 42 1.35 apb ${TOOL_SED} -e \ 43 1.35 apb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 44 1.1 cgd >> ${TI386} 45 1.1 cgd sort -o ${TI386} ${TI386} 46 1.1 cgd 47 1.1 cgd links: 48 1.1 cgd -for i in ${DI386}; do \ 49 1.16 perry (cd $$i && rm -f tags; ln -s ../tags tags); done 50 1.13 mycroft 51 1.13 mycroft 52 1.33 bouyer SUBDIR= compile include stand ../x86/include ../xen/include 53 1.3 cgd 54 1.11 mycroft .include <bsd.subdir.mk> 55