Makefile revision 1.27
11.27Sdyoung# $NetBSD: Makefile,v 1.27 2006/02/26 03:08:02 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.25Sdyoung ${SYSDIR}/contrib/arch/i386/dev/*.[ch] \ 101.25Sdyoung ${SYSDIR}/contrib/dev/ic/*.[ch] 111.27SdyoungSI386+= ${SYSDIR}/arch/x86/x86/*.[ch] ${SYSDIR}/arch/x86/include/*.h \ 121.27Sdyoung ${SYSDIR}/arch/x86/isa/*.[ch] \ 131.27Sdyoung ${SYSDIR}/arch/x86/pci/*.[ch] 141.23SdyoungAI386= ${SYSDIR}/arch/i386/i386/*.[sS] ${SYSDIR}/arch/i386/isa/*.[sS] 151.1Scgd 161.13Smycroft# Directories in which to place tags links 171.16SperryDI386= i386 eisa isa include pci 181.11Smycroft 191.11Smycroft.include "../../kern/Make.tags.inc" 201.1Scgd 211.1Scgdtags: 221.18Slukem rm -f ${TI386} 231.18Slukem -echo ${SI386} ${COMM} | xargs ctags -wadtf ${TI386} 241.1Scgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 251.24Sdyoung sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 261.1Scgd >> ${TI386} 271.1Scgd sort -o ${TI386} ${TI386} 281.1Scgd 291.1Scgdlinks: 301.1Scgd -for i in ${DI386}; do \ 311.16Sperry (cd $$i && rm -f tags; ln -s ../tags tags); done 321.13Smycroft 331.13Smycroft 341.21SfvdlSUBDIR= compile include stand ../x86/include 351.3Scgd 361.11Smycroft.include <bsd.subdir.mk> 37