Makefile revision 1.4
11.4Sapb# $NetBSD: Makefile,v 1.4 2008/10/25 22:27:36 apb 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.2Sfvdl ${SYSDIR}/arch/amd64/include/*.h \ 81.2Sfvdl ${SYSDIR}/arch/amd64/isa/*.[ch] \ 91.2Sfvdl ${SYSDIR}/arch/amd64/pci/*.[ch] 101.2SfvdlAAMD64= ${SYSDIR}/arch/amd64/amd64/*.s ${SYSDIR}/arch/amd64/isa/*.s 111.1Sfvdl 121.1Sfvdl# Directories in which to place tags links 131.2SfvdlDAMD64= amd64 isa include pci 141.1Sfvdl 151.1Sfvdl.include "../../kern/Make.tags.inc" 161.1Sfvdl 171.1Sfvdltags: 181.2Sfvdl rm -f ${TAMD64} 191.2Sfvdl -echo ${SAMD64} ${COMM} | xargs ctags -wadtf ${TAMD64} 201.2Sfvdl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \ 211.4Sapb ${TOOL_SED} -e \ 221.4Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 231.2Sfvdl >> ${TAMD64} 241.2Sfvdl sort -o ${TAMD64} ${TAMD64} 251.1Sfvdl 261.1Sfvdllinks: 271.2Sfvdl -for i in ${DAMD64}; do \ 281.1Sfvdl (cd $$i && rm -f tags; ln -s ../tags tags); done 291.1Sfvdl 301.1Sfvdl 311.3SbouyerSUBDIR= compile include ../x86/include ../xen/include ../i386/stand 321.1Sfvdl 331.1Sfvdl.include <bsd.subdir.mk> 34