Makefile revision 1.2
1#	$NetBSD: Makefile,v 1.2 2005/12/11 12:17:51 christos Exp $
2
3# Makefile for iyonix tags file and boot blocks
4
5TIYONIX=	../iyonix/tags
6SIYONIX=	../iyonix/include/*.h \
7		../iyonix/dev/*.[ch] \
8#AIYONIX=
9
10# Directories in which to place tags links
11DIYONIX=	include
12
13.include "../../kern/Make.tags.inc"
14
15tags:
16	-ctags -wdtf ${TIYONIX} ${SIYONIX} ${COMM}
17#	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIYONIX} | \
18#	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
19#	    >> ${TIYONIX}
20	sort -o ${TIYONIX} ${TIYONIX}
21
22links:
23	-for i in ${DIYONIX}; do \
24	    cd $$i && rm -f tags; ln -s ../tags tags; done
25
26
27SUBDIR=	compile include
28
29.include <bsd.subdir.mk>
30