1 1.13 apb # $NetBSD: Makefile,v 1.13 2008/10/25 22:27:36 apb Exp $ 2 1.1 cgd 3 1.3 cgd # Makefile for alpha tags file and boot blocks 4 1.1 cgd 5 1.3 cgd TALPHA= ../alpha/tags 6 1.8 mycroft SALPHA= ../alpha/alpha/*.[ch] ../alpha/include/*.h \ 7 1.8 mycroft ../alpha/pci/*.[ch] ../alpha/tlsb/*.[ch] ../alpha/tc/*.[ch] 8 1.3 cgd AALPHA= ../alpha/alpha/*.S 9 1.1 cgd 10 1.10 mycroft # Directories in which to place tags links 11 1.3 cgd DALPHA= tc include 12 1.8 mycroft 13 1.5 mjacob .include "../../kern/Make.tags.inc" 14 1.1 cgd 15 1.8 mycroft tags: 16 1.6 mjacob -ctags -wdtf ${TALPHA} ${SALPHA} ${COMM} 17 1.3 cgd egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AALPHA} | \ 18 1.13 apb ${TOOL_SED} "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 19 1.8 mycroft >> ${TALPHA} 20 1.3 cgd sort -o ${TALPHA} ${TALPHA} 21 1.3 cgd 22 1.3 cgd links: 23 1.3 cgd -for i in ${DALPHA}; do \ 24 1.3 cgd cd $$i && rm -f tags; ln -s ../tags tags; done 25 1.10 mycroft 26 1.10 mycroft 27 1.12 lukem SUBDIR= compile include stand 28 1.3 cgd 29 1.8 mycroft .include <bsd.subdir.mk> 30