1# $NetBSD: Makefile,v 1.4 2005/12/11 12:16:05 christos Exp $ 2 3# Makefile for acorn32 tags file and boot blocks 4 5TACORN32= ../acorn32/tags 6SACORN32= ../acorn32/acorn32/*.[ch] ../acorn32/include/*.h \ 7 ../acorn32/dev/*.[ch] ../acorn32/podulebus/*.[ch] ../acorn32/mainbus/*.[ch] 8AACORN32= ../acorn32/acorn32/*.s 9 10# Directories in which to place tags links 11DACORN32= dev mainbus podulebus include 12 13.include "../../kern/Make.tags.inc" 14 15tags: 16 -ctags -wdtf ${TACORN32} ${SACORN32} ${COMM} 17 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AACORN32} | \ 18 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 19 >> ${TACORN32} 20 sort -o ${TACORN32} ${TACORN32} 21 22links: 23 -for i in ${DACORN32}; do \ 24 cd $$i && rm -f tags; ln -s ../tags tags; done 25 26 27SUBDIR= compile include stand 28 29.include <bsd.subdir.mk> 30