1 1.18.2.2 thorpej # $NetBSD: Makefile,v 1.18.2.2 2003/01/07 21:11:33 thorpej Exp $ 2 1.1 cgd 3 1.3 cgd # Makefile for i386 tags file and boot blocks 4 1.16 perry 5 1.16 perry TI386= ${SYSDIR}/arch/i386/tags 6 1.16 perry SI386= ${SYSDIR}/arch/i386/i386/*.[ch] ${SYSDIR}/arch/i386/include/*.h \ 7 1.16 perry ${SYSDIR}/arch/i386/eisa/*.[ch] ${SYSDIR}/arch/i386/isa/*.[ch] \ 8 1.16 perry ${SYSDIR}/arch/i386/pci/*.[ch] 9 1.16 perry AI386= ${SYSDIR}/arch/i386/i386/*.s ${SYSDIR}/arch/i386/isa/*.s 10 1.1 cgd 11 1.13 mycroft # Directories in which to place tags links 12 1.16 perry DI386= i386 eisa isa include pci 13 1.11 mycroft 14 1.11 mycroft .include "../../kern/Make.tags.inc" 15 1.1 cgd 16 1.1 cgd tags: 17 1.18 lukem rm -f ${TI386} 18 1.18 lukem -echo ${SI386} ${COMM} | xargs ctags -wadtf ${TI386} 19 1.1 cgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 20 1.1 cgd sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 21 1.1 cgd >> ${TI386} 22 1.1 cgd sort -o ${TI386} ${TI386} 23 1.1 cgd 24 1.1 cgd links: 25 1.1 cgd -for i in ${DI386}; do \ 26 1.16 perry (cd $$i && rm -f tags; ln -s ../tags tags); done 27 1.13 mycroft 28 1.13 mycroft 29 1.18.2.2 thorpej SUBDIR= compile include stand 30 1.3 cgd 31 1.11 mycroft .include <bsd.subdir.mk> 32