1 1.3.10.2 yamt # $NetBSD: Makefile,v 1.3.10.2 2010/08/11 22:51:32 yamt Exp $ 2 1.1 fvdl 3 1.2 fvdl # Makefile for amd64 tags file and boot blocks 4 1.1 fvdl 5 1.2 fvdl TAMD64= ${SYSDIR}/arch/amd64/tags 6 1.2 fvdl SAMD64= ${SYSDIR}/arch/amd64/amd64/*.[ch] \ 7 1.3.10.2 yamt ${SYSDIR}/arch/amd64/include/*.h 8 1.3.10.2 yamt AAMD64= ${SYSDIR}/arch/amd64/amd64/*.S 9 1.1 fvdl 10 1.1 fvdl # Directories in which to place tags links 11 1.2 fvdl DAMD64= amd64 isa include pci 12 1.1 fvdl 13 1.1 fvdl .include "../../kern/Make.tags.inc" 14 1.1 fvdl 15 1.1 fvdl tags: 16 1.3.10.2 yamt -rm -f ${TAMD64} 17 1.3.10.2 yamt -echo ${SAMD64} | xargs ctags -wadtf ${TAMD64} 18 1.3.10.2 yamt -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \ 19 1.3.10.2 yamt sort -t / -u | xargs ctags -wadtf ${TAMD64} 20 1.3.10.2 yamt -${FINDCOMM} | xargs ctags -wadtf ${TAMD64} 21 1.2 fvdl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \ 22 1.3.10.1 yamt ${TOOL_SED} -e \ 23 1.3.10.1 yamt "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 24 1.2 fvdl >> ${TAMD64} 25 1.2 fvdl sort -o ${TAMD64} ${TAMD64} 26 1.1 fvdl 27 1.1 fvdl links: 28 1.2 fvdl -for i in ${DAMD64}; do \ 29 1.1 fvdl (cd $$i && rm -f tags; ln -s ../tags tags); done 30 1.1 fvdl 31 1.1 fvdl 32 1.3.10.1 yamt SUBDIR= compile include ../x86/include ../xen/include \ 33 1.3.10.1 yamt ../i386/include ../i386/stand 34 1.1 fvdl 35 1.1 fvdl .include <bsd.subdir.mk> 36