xref: /netbsd-src/sys/arch/evbarm/Makefile (revision fad4c9f71477ae11cea2ee75ec82151ac770a534)
1#	$NetBSD: Makefile,v 1.4 2003/04/29 05:42:43 thorpej Exp $
2
3# Makefile for evbarm tags file and boot blocks
4
5TEVBARM=	../evbarm/tags
6SEVBARM=	../evbarm/integrator/*.[ch] ../evbarm/include/*.h \
7		../evbarm/dev/*.[ch] ../evbarm/ifpga/*.[ch] \
8		../evbarm/iq80310/*.[ch] \
9		../evbarm/integrator_fpga/*.[ch] \
10AEVBARM=	../evbarm/integrator/*.S ../evbarm/ifpga/*.S \
11
12# Directories in which to place tags links
13DEVBARM=	include
14
15.include "../../kern/Make.tags.inc"
16
17tags:
18	-ctags -wdtf ${TEVBARM} ${SEVBARM} ${COMM}
19	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBARM} | \
20	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
21	    >> ${TEVBARM}
22	sort -o ${TEVBARM} ${TEVBARM}
23
24links:
25	-for i in ${DEVBARM}; do \
26	    cd $$i && rm -f tags; ln -s ../tags tags; done
27
28
29SUBDIR=	compile include stand
30
31.include <bsd.subdir.mk>
32