11.4Sdyoung# $NetBSD: Makefile,v 1.4 2011/04/06 01:49:23 dyoung Exp $ 21.1Sgavan 31.1Sgavan# Makefile for iyonix tags file and boot blocks 41.1Sgavan 51.4Sdyoung# Find where ARM source files are for inclusion in tags 61.4Sdyoung.include <../arm/Makefile.inc> 71.4Sdyoung 81.4SdyoungTIYONIX= ${SYSDIR}/arch/iyonix/tags 91.4SdyoungSIYONIX= ${SYSDIR}/arch/iyonix/iyonix/*.[ch] 101.4SdyoungSIYONIX+= ${SYSDIR}/arch/iyonix/include/*.h 111.1Sgavan 121.1Sgavan# Directories in which to place tags links 131.1SgavanDIYONIX= include 141.1Sgavan 151.1Sgavan.include "../../kern/Make.tags.inc" 161.1Sgavan 171.1Sgavantags: 181.4Sdyoung -rm -f ${TIYONIX} 191.4Sdyoung -echo ${SIYONIX} ${SARM} | xargs ctags -wadtf ${TIYONIX} 201.4Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TIYONIX} 211.4Sdyoung egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AARM} | \ 221.4Sdyoung ${TOOL_SED} -e \ 231.4Sdyoung "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 241.4Sdyoung >> ${TIYONIX} 251.1Sgavan sort -o ${TIYONIX} ${TIYONIX} 261.1Sgavan 271.1Sgavanlinks: 281.1Sgavan -for i in ${DIYONIX}; do \ 291.1Sgavan cd $$i && rm -f tags; ln -s ../tags tags; done 301.1Sgavan 311.1SgavanSUBDIR= compile include 321.1Sgavan 331.1Sgavan.include <bsd.subdir.mk> 34