Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / acorn26 / Makefile
blob3e74c81990f6ebe97d32c38271014b7f49ed66da
1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:19 lukem Exp $
3 # Makefile for acorn26 tags file and boot blocks
5 TACORN26= ../acorn26/tags
6 SACORN26= ../acorn26/acorn26/*.[ch] ../acorn26/include/*.h \
7 ../acorn26/iobus/*.[ch] ../acorn26/ioc/*.[ch] ../arm32/mainbus/*.[ch] \
8 ../acorn26/vidc/*.[ch]
9 AACORN26= ../acorn26/acorn26/*.S ../acorn26/iobus/*.S
11 # Directories in which to place tags links
12 DACORN26= acorn26 include iobus ioc mainbus vidc
14 .include "../../kern/Make.tags.inc"
16 tags: TAGS
17 -ctags -wdtf ${TACORN26} ${SACORN26} ${COMM}
18 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AACORN26} | \
19 ${TOOL_SED} -e \
20 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
21 >> ${TACORN26}
22 sort -o ${TACORN26} ${TACORN26}
24 TAGS:
25 etags ${SACORN26} ${COMM} ${AACORN26}
27 links:
28 -for i in ${DACORN26}; do \
29 cd $$i && rm -f tags; ln -s ../tags tags; done
32 SUBDIR= compile include stand
34 .include <bsd.subdir.mk>