1 # $NetBSD: Makefile,v 1.10 1997/10/11 09:12:18 mycroft Exp $ 2 3 # Makefile for alpha tags file and boot blocks 4 5 TALPHA= ../alpha/tags 6 SALPHA= ../alpha/alpha/*.[ch] ../alpha/include/*.h \ 7 ../alpha/pci/*.[ch] ../alpha/tlsb/*.[ch] ../alpha/tc/*.[ch] 8 AALPHA= ../alpha/alpha/*.S 9 10 # Directories in which to place tags links 11 DALPHA= tc include 12 13 .include "../../kern/Make.tags.inc" 14 15 tags: 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 22 links: 23 -for i in ${DALPHA}; do \ 24 cd $$i && rm -f tags; ln -s ../tags tags; done 25 26 27 SUBDIR= stand 28 29 .include <bsd.subdir.mk> 30