xref: /netbsd-src/sys/arch/iyonix/Makefile (revision b62fc9e20372b08e1785ff6d769312d209fa2005)
1#	$NetBSD: Makefile,v 1.3 2008/10/25 22:27:37 apb 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#	    ${TOOL_SED} -e \
19#		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
20#	    >> ${TIYONIX}
21	sort -o ${TIYONIX} ${TIYONIX}
22
23links:
24	-for i in ${DIYONIX}; do \
25	    cd $$i && rm -f tags; ln -s ../tags tags; done
26
27
28SUBDIR=	compile include
29
30.include <bsd.subdir.mk>
31