Use ${FINDCOMM} to avoid 'Arguments list too long'-related failure

of 'tags' target.
This commit is contained in:
dyoung 2009-05-19 22:01:34 +00:00
parent 9812fa677f
commit 96280e41f6
1 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2008/10/25 22:27:38 apb Exp $
# $NetBSD: Makefile,v 1.18 2009/05/19 22:01:34 dyoung Exp $
# Makefile for sparc64 tags file and boot blocks
@ -16,11 +16,13 @@ DSPARC64= conf dev fpu include sparc64
.include "../../kern/Make.tags.inc"
tags:
-rm ${TSPARC64}
-echo ${SSPARC64} ${COMM} | xargs ctags -wadtf ${TSPARC64}
-rm -f ${TSPARC64}
-echo ${SSPARC64} | xargs ctags -wadtf ${TSPARC64}
${FINDCOMM} | xargs ctags -wadtf ${TSPARC64}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
${TOOL_SED} -e "s;/;\\/;g" | \
${TOOL_SED} -e \
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> tags
sort -o ${TSPARC64} ${TSPARC64}