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