Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / evbmips / Makefile
blobb173f067ab84205f87560b33eefd291aeba33f68
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>
8 # XXX ! fix this
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"
20 tags:
21 -rm -f ${TEVBMIPS}
22 -echo ${SEVBMIPS} ${SMIPS} | xargs ctags -wadtf ${TEVBMIPS}
23 -${FINDCOMM} | xargs ctags -wadtf ${TEVBMIPS}
24 egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AEVBMIPS} ${AMIPS} | \
25 ${TOOL_SED} -e \
26 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
27 >> ${TEVBMIPS}
28 sort -o ${TEVBMIPS} ${TEVBMIPS}
30 links:
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>