1#	$NetBSD: Makefile,v 1.2 2003/01/06 17:40:28 lukem Exp $
2
3.include <../powerpc/Makefile.inc>
4
5# XXX Fix this to deal with multiple "evbppc" ports.
6TEVBPPC=	${SYSDIR}/arch/evbppc/tags
7SEVBPPC=	${SYSDIR}/arch/evbppc/evbppc/*.[ch]
8SEVBPPC+=	${SYSDIR}/arch/evbppc/include/*.h
9SEVBPPC+=	${SYSDIR}/arch/evbppc/pmppc/dev/*.[ch]
10SEVBPPC+=	${SYSDIR}/arch/evbppc/pmppc/pci/*.[ch]
11SEVBPPC+=	${SYSDIR}/arch/evbppc/pmppc/*.[ch]
12AEVBPPC=	${SYSDIR}/arch/evbppc/ev64260/*.S \
13		${SYSDIR}/arch/evbppc/explora/*.S \
14		${SYSDIR}/arch/evbppc/mpc85xx/*.S \
15		${SYSDIR}/arch/evbppc/obs405/*.S \
16		${SYSDIR}/arch/evbppc/pmppc/*.S \
17		${SYSDIR}/arch/evbppc/virtex/*.S \
18		${SYSDIR}/arch/evbppc/walnut/*.S
19
20DEVBPPC=	include
21
22.include "../../kern/Make.tags.inc"
23
24tags:
25	-rm -f ${TEVBPPC}
26	-echo ${SEVBPPC} ${SPPC} | xargs ctags -wadtf ${TEVBPPC}
27	-${FINDCOMM} | xargs ctags -wadtf ${TEVBPPC}
28	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBPPC} ${APPC} | \
29	    ${TOOL_SED} -e \
30		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
31	    >> ${TEVBPPC}
32	sort -o ${TEVBPPC} ${TEVBPPC}
33
34links:
35	-for i in ${DEVBPPC}; do \
36	    cd $$i && rm -f tags; ln -s ../tags tags; done
37
38
39SUBDIR=	compile include
40
41.include <bsd.subdir.mk>
42