2009-05-20 02:01:34 +04:00
|
|
|
# $NetBSD: Makefile,v 1.18 2009/05/19 22:01:34 dyoung Exp $
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
# Makefile for sparc64 tags file and boot blocks
|
|
|
|
|
2007-06-09 02:59:51 +04:00
|
|
|
TSPARC64= ${SYSDIR}/arch/sparc64/tags
|
|
|
|
SSPARC64= ${SYSDIR}/arch/sparc64/dev/*.[ch] \
|
|
|
|
${SYSDIR}/arch/sparc/fpu/*.[ch] \
|
|
|
|
${SYSDIR}/arch/sparc64/include/*.[ch] \
|
|
|
|
${SYSDIR}/arch/sparc64/sparc64/*.[ch]
|
|
|
|
ASPARC64= ${SYSDIR}/arch/sparc64/sparc64/*.[sS]
|
1999-05-09 23:24:19 +04:00
|
|
|
# CSPARC64= ../../compat/*/*.[ch]
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
# Directories in which to place tags links
|
|
|
|
DSPARC64= conf dev fpu include sparc64
|
|
|
|
|
1998-09-22 06:48:42 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
tags:
|
2009-05-20 02:01:34 +04:00
|
|
|
-rm -f ${TSPARC64}
|
|
|
|
-echo ${SSPARC64} | xargs ctags -wadtf ${TSPARC64}
|
|
|
|
${FINDCOMM} | xargs ctags -wadtf ${TSPARC64}
|
1998-06-20 08:58:50 +04:00
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
|
2009-05-20 02:01:34 +04:00
|
|
|
${TOOL_SED} -e "s;/;\\/;g" | \
|
2008-10-26 02:27:34 +04:00
|
|
|
${TOOL_SED} -e \
|
2009-05-20 02:01:34 +04:00
|
|
|
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1998-06-20 08:58:50 +04:00
|
|
|
>> tags
|
|
|
|
sort -o ${TSPARC64} ${TSPARC64}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DSPARC64}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
2003-01-06 20:40:18 +03:00
|
|
|
SUBDIR= compile include ../sparc/include stand
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|