1 1.15 cgd # $NetBSD: Makefile,v 1.15 1998/06/12 23:22:36 cgd 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.11 mycroft SI386= ../i386/i386/*.[ch] ../i386/include/*.h \ 7 1.11 mycroft ../i386/eisa/*.[ch] ../i386/isa/*.[ch] ../i386/pci/*.[ch] 8 1.1 cgd AI386= ../i386/i386/*.s 9 1.1 cgd 10 1.13 mycroft # Directories in which to place tags links 11 1.11 mycroft DI386= eisa isa include pci 12 1.11 mycroft 13 1.11 mycroft .include "../../kern/Make.tags.inc" 14 1.1 cgd 15 1.1 cgd tags: 16 1.11 mycroft -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.13 mycroft 26 1.13 mycroft 27 1.15 cgd SUBDIR= include stand isa/pcvt 28 1.3 cgd 29 1.11 mycroft .include <bsd.subdir.mk> 30