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