Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / dreamcast / Makefile
blob509f70a012e845a7f20d7df2082e954a2f480c6a
1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:27 lukem Exp $
3 # Makefile for dreamcast tags file and boot blocks
5 #.include "../sh3/Makefile.inc"
7 TDREAMCAST= ../dreamcast/tags
8 SDREAMCAST= ../dreamcast/dreamcast/*.[ch] ../dreamcast/include/*.h
9 ADREAMCAST= ../dreamcast/dreamcast/*.[sS]
11 # Directories in which to place tags links
12 DDREAMCAST= dreamcast include
14 .include "../../kern/Make.tags.inc"
16 tags:
17 -ctags -wdtf ${TDREAMCAST} ${SDREAMCAST} ${COMM}
18 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ADREAMCAST} | \
19 ${TOOL_SED} -e \
20 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
21 >> ${TDREAMCAST}
22 sort -o ${TDREAMCAST} ${TDREAMCAST}
24 links:
25 -for i in ${DDREAMCAST}; do \
26 (cd $$i && rm -f tags; ln -s ../tags tags); done
29 SUBDIR= compile include # stand
31 .include <bsd.subdir.mk>