Makefile revision 1.6
11.6Sdyoung# $NetBSD: Makefile,v 1.6 2010/04/28 20:22:46 dyoung 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.6Sdyoung ${SYSDIR}/arch/amd64/include/*.h 81.6SdyoungAAMD64= ${SYSDIR}/arch/amd64/amd64/*.S 91.1Sfvdl 101.1Sfvdl# Directories in which to place tags links 111.2SfvdlDAMD64= amd64 isa include pci 121.1Sfvdl 131.1Sfvdl.include "../../kern/Make.tags.inc" 141.1Sfvdl 151.1Sfvdltags: 161.6Sdyoung -rm -f ${TAMD64} 171.6Sdyoung -echo ${SAMD64} | xargs ctags -wadtf ${TAMD64} 181.6Sdyoung -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \ 191.6Sdyoung sort -t / -u | xargs ctags -wadtf ${TAMD64} 201.6Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TAMD64} 211.2Sfvdl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \ 221.4Sapb ${TOOL_SED} -e \ 231.4Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 241.2Sfvdl >> ${TAMD64} 251.2Sfvdl sort -o ${TAMD64} ${TAMD64} 261.1Sfvdl 271.1Sfvdllinks: 281.2Sfvdl -for i in ${DAMD64}; do \ 291.1Sfvdl (cd $$i && rm -f tags; ln -s ../tags tags); done 301.1Sfvdl 311.1Sfvdl 321.5SmrgSUBDIR= compile include ../x86/include ../xen/include \ 331.5Smrg ../i386/include ../i386/stand 341.1Sfvdl 351.1Sfvdl.include <bsd.subdir.mk> 36