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 ${TOOL_SED} -e \ 19 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 20 >> ${TACORN32} 21 sort -o ${TACORN32} ${TACORN32} 22 23links: 24 -for i in ${DACORN32}; do \ 25 cd $$i && rm -f tags; ln -s ../tags tags; done 26 27 28SUBDIR= compile include stand 29 30.include <bsd.subdir.mk> 31