Makefile revision 1.1
11.1Sgavan#	$NetBSD: Makefile,v 1.1 2004/10/13 23:28:35 gavan Exp $
21.1Sgavan
31.1Sgavan# Makefile for iyonix tags file and boot blocks
41.1Sgavan
51.1SgavanTIYONIX=	../iyonix/tags
61.1SgavanSIYONIX=	../iyonix/include/*.h \
71.1Sgavan		../iyonix/dev/*.[ch] \
81.1Sgavan#AIYONIX=
91.1Sgavan
101.1Sgavan# Directories in which to place tags links
111.1SgavanDIYONIX=	include
121.1Sgavan
131.1Sgavan.include "../../kern/Make.tags.inc"
141.1Sgavan
151.1Sgavantags:
161.1Sgavan	-ctags -wdtf ${TIYONIX} ${SIYONIX} ${COMM}
171.1Sgavan#	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIYONIX} | \
181.1Sgavan#	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
191.1Sgavan#	    >> ${TIYONIX}
201.1Sgavan	sort -o ${TIYONIX} ${TIYONIX}
211.1Sgavan
221.1Sgavanlinks:
231.1Sgavan	-for i in ${DIYONIX}; do \
241.1Sgavan	    cd $$i && rm -f tags; ln -s ../tags tags; done
251.1Sgavan
261.1Sgavan
271.1SgavanSUBDIR=	compile include
281.1Sgavan
291.1Sgavan.include <bsd.subdir.mk>
30