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