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