1 1.6 dyoung # $NetBSD: Makefile,v 1.6 2010/04/28 20:22:46 dyoung 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.6 dyoung ${SYSDIR}/arch/amd64/include/*.h 8 1.6 dyoung 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.6 dyoung -rm -f ${TAMD64} 17 1.6 dyoung -echo ${SAMD64} | xargs ctags -wadtf ${TAMD64} 18 1.6 dyoung -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \ 19 1.6 dyoung sort -t / -u | xargs ctags -wadtf ${TAMD64} 20 1.6 dyoung -${FINDCOMM} | xargs ctags -wadtf ${TAMD64} 21 1.2 fvdl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \ 22 1.4 apb ${TOOL_SED} -e \ 23 1.4 apb "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.5 mrg SUBDIR= compile include ../x86/include ../xen/include \ 33 1.5 mrg ../i386/include ../i386/stand 34 1.1 fvdl 35 1.1 fvdl .include <bsd.subdir.mk> 36