11.8Smaxv# $NetBSD: Makefile,v 1.8 2017/12/22 07:19:02 maxv Exp $ 21.1Sfvdl 31.2Sfvdl# Makefile for amd64 tags file and boot blocks 41.1Sfvdl 51.2SfvdlTAMD64= ${SYSDIR}/arch/amd64/tags 61.2SfvdlSAMD64= ${SYSDIR}/arch/amd64/amd64/*.[ch] \ 71.7Sdyoung ${SYSDIR}/arch/amd64/include/*.h \ 81.7Sdyoung ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \ 91.7Sdyoung ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \ 101.7Sdyoung ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch] 111.7SdyoungSAMD64+= ${SYSDIR}/arch/x86/x86/*.[ch] \ 121.7Sdyoung ${SYSDIR}/arch/x86/acpi/*.[ch] \ 131.7Sdyoung ${SYSDIR}/arch/x86/include/*.h \ 141.7Sdyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 151.7Sdyoung ${SYSDIR}/arch/x86/pci/*.[ch] 161.7SdyoungAAMD64= ${SYSDIR}/arch/amd64/amd64/*.S \ 171.7Sdyoung ${SYSDIR}/arch/amd64/acpi/*.S 181.1Sfvdl# Directories in which to place tags links 191.2SfvdlDAMD64= amd64 isa include pci 201.1Sfvdl 211.1Sfvdl.include "../../kern/Make.tags.inc" 221.1Sfvdl 231.1Sfvdltags: 241.6Sdyoung -rm -f ${TAMD64} 251.6Sdyoung -echo ${SAMD64} | xargs ctags -wadtf ${TAMD64} 261.6Sdyoung -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \ 271.6Sdyoung sort -t / -u | xargs ctags -wadtf ${TAMD64} 281.6Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TAMD64} 291.2Sfvdl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \ 301.4Sapb ${TOOL_SED} -e \ 311.7Sdyoung "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 321.2Sfvdl >> ${TAMD64} 331.2Sfvdl sort -o ${TAMD64} ${TAMD64} 341.1Sfvdl 351.1Sfvdllinks: 361.2Sfvdl -for i in ${DAMD64}; do \ 371.1Sfvdl (cd $$i && rm -f tags; ln -s ../tags tags); done 381.1Sfvdl 391.1Sfvdl 401.5SmrgSUBDIR= compile include ../x86/include ../xen/include \ 411.8Smaxv ../i386/include ../i386/stand stand 421.1Sfvdl 431.1Sfvdl.include <bsd.subdir.mk> 44