Makefile revision 1.3
11.3Sbouyer# $NetBSD: Makefile,v 1.3 2008/02/17 16:23:12 bouyer 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.1Sfvdl sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 221.2Sfvdl >> ${TAMD64} 231.2Sfvdl sort -o ${TAMD64} ${TAMD64} 241.1Sfvdl 251.1Sfvdllinks: 261.2Sfvdl -for i in ${DAMD64}; do \ 271.1Sfvdl (cd $$i && rm -f tags; ln -s ../tags tags); done 281.1Sfvdl 291.1Sfvdl 301.3SbouyerSUBDIR= compile include ../x86/include ../xen/include ../i386/stand 311.1Sfvdl 321.1Sfvdl.include <bsd.subdir.mk> 33