Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / sparc64 / Makefile
blob0de8d40f9f457529c905ce63bd3a31809313770b
1 # $NetBSD: Makefile,v 1.17 2008/10/25 22:27:38 apb Exp $
3 # Makefile for sparc64 tags file and boot blocks
5 TSPARC64= ${SYSDIR}/arch/sparc64/tags
6 SSPARC64= ${SYSDIR}/arch/sparc64/dev/*.[ch] \
7 ${SYSDIR}/arch/sparc/fpu/*.[ch] \
8 ${SYSDIR}/arch/sparc64/include/*.[ch] \
9 ${SYSDIR}/arch/sparc64/sparc64/*.[ch]
10 ASPARC64= ${SYSDIR}/arch/sparc64/sparc64/*.[sS]
11 # CSPARC64= ../../compat/*/*.[ch]
13 # Directories in which to place tags links
14 DSPARC64= conf dev fpu include sparc64
16 .include "../../kern/Make.tags.inc"
18 tags:
19 -rm -f ${TSPARC64}
20 -echo ${SSPARC64} | xargs ctags -wadtf ${TSPARC64}
21 ${FINDCOMM} | xargs ctags -wadtf ${TSPARC64}
22 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
23 ${TOOL_SED} -e "s;/;\\/;g" | \
24 ${TOOL_SED} -e \
25 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
26 >> tags
27 sort -o ${TSPARC64} ${TSPARC64}
29 links:
30 -for i in ${DSPARC64}; do \
31 cd $$i && rm -f tags; ln -s ../tags tags; done
33 SUBDIR= compile include ../sparc/include stand
35 .include <bsd.subdir.mk>