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