1 # $NetBSD: Makefile,v 1.6 2007/10/17 19:54:14 garbled Exp $
3 # Makefile for evbmips tags file and boot blocks
5 # Find where mips source files are for inclusion in tags
6 .
include <..
/mips
/Makefile.inc
>
9 TEVBMIPS
= ${SYSDIR}/arch
/evbmips
/tags
10 SEVBMIPS
= ${SYSDIR}/arch
/evbmips
/evbmips
/*.
[ch
] \
11 ${SYSDIR}/arch
/evbmips
/include/*.h \
12 ${SYSDIR}/arch
/evbmips
/isa
/*.
[ch
]
13 AEVBMIPS
= ${SYSDIR}/arch
/evbmips
/evbmips
/*.S
15 # Directories in which to place tags links
16 DEVBMIPS
= evbmips
include isa pci
18 .
include "../../kern/Make.tags.inc"
22 -echo
${SEVBMIPS} ${SMIPS} | xargs ctags
-wadtf
${TEVBMIPS}
23 -${FINDCOMM} | xargs ctags
-wadtf
${TEVBMIPS}
24 egrep
"^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AEVBMIPS} ${AMIPS} | \
26 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
28 sort -o
${TEVBMIPS} ${TEVBMIPS}
31 -for i in
${DEVBMIPS}; do \
32 cd
$$i && rm -f
tags; ln
-s ..
/tags tags; done
35 SUBDIR
= compile
include
37 .
include <bsd.subdir.mk
>