Makefile revision 1.28
11.28Sdyoung# $NetBSD: Makefile,v 1.28 2006/11/12 22:44:00 dyoung Exp $ 21.1Scgd 31.3Scgd# Makefile for i386 tags file and boot blocks 41.16Sperry 51.16SperryTI386= ${SYSDIR}/arch/i386/tags 61.16SperrySI386= ${SYSDIR}/arch/i386/i386/*.[ch] ${SYSDIR}/arch/i386/include/*.h \ 71.16Sperry ${SYSDIR}/arch/i386/eisa/*.[ch] ${SYSDIR}/arch/i386/isa/*.[ch] \ 81.22Sdyoung ${SYSDIR}/arch/i386/pci/*.[ch] \ 91.28Sdyoung ${SYSDIR}/contrib/dev/ath/*.[ch] \ 101.28Sdyoung ${SYSDIR}/contrib/dev/ath/netbsd/*.[ch] \ 111.28Sdyoung ${SYSDIR}/contrib/dev/ath/public/*.[ch] 121.27SdyoungSI386+= ${SYSDIR}/arch/x86/x86/*.[ch] ${SYSDIR}/arch/x86/include/*.h \ 131.27Sdyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 141.27Sdyoung ${SYSDIR}/arch/x86/pci/*.[ch] 151.28SdyoungAI386= ${SYSDIR}/arch/i386/i386/*.[sS] 161.1Scgd 171.13Smycroft# Directories in which to place tags links 181.16SperryDI386= i386 eisa isa include pci 191.11Smycroft 201.11Smycroft.include "../../kern/Make.tags.inc" 211.1Scgd 221.1Scgdtags: 231.28Sdyoung -rm -f ${TI386} 241.18Slukem -echo ${SI386} ${COMM} | xargs ctags -wadtf ${TI386} 251.1Scgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 261.24Sdyoung sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 271.1Scgd >> ${TI386} 281.1Scgd sort -o ${TI386} ${TI386} 291.1Scgd 301.1Scgdlinks: 311.1Scgd -for i in ${DI386}; do \ 321.16Sperry (cd $$i && rm -f tags; ln -s ../tags tags); done 331.13Smycroft 341.13Smycroft 351.21SfvdlSUBDIR= compile include stand ../x86/include 361.3Scgd 371.11Smycroft.include <bsd.subdir.mk> 38