2013-05-31 00:08:47 +04:00
|
|
|
# $NetBSD: Makefile,v 1.11 2013/05/30 20:08:47 macallan Exp $
|
1994-11-20 23:51:32 +03:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
# Makefile for sparc tags file and boot blocks
|
1993-10-02 13:22:00 +03:00
|
|
|
|
2011-04-04 23:41:24 +04:00
|
|
|
TSPARC= ${SYSDIR}/arch/sparc/tags
|
|
|
|
SSPARC= ${SYSDIR}/arch/sparc/dev/*.[ch] \
|
|
|
|
${SYSDIR}/arch/sparc/fpu/*.[ch] \
|
|
|
|
${SYSDIR}/arch/sparc/sparc/*.[ch] \
|
|
|
|
${SYSDIR}/arch/sparc/include/*.h
|
|
|
|
ASPARC= ${SYSDIR}/arch/sparc/sparc/*.s
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
# Directories in which to place tags links
|
2011-04-04 23:41:24 +04:00
|
|
|
DSPARC= sparc dev fpu include
|
|
|
|
|
|
|
|
.include "../../kern/Make.tags.inc"
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1994-02-06 18:27:54 +03:00
|
|
|
tags:
|
2011-04-04 23:41:24 +04:00
|
|
|
-rm -f ${TSPARC}
|
|
|
|
-echo ${SSPARC} | xargs ctags -wadtf ${TSPARC}
|
|
|
|
-${FINDCOMM} | xargs ctags -wadtf ${TSPARC}
|
1993-10-02 13:22:00 +03:00
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
|
2008-10-26 02:27:34 +04:00
|
|
|
${TOOL_SED} -e \
|
2011-04-04 23:41:24 +04:00
|
|
|
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> ${TSPARC}
|
1997-10-11 13:10:25 +04:00
|
|
|
sort -o ${TSPARC} ${TSPARC}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DSPARC}; do \
|
2011-04-04 23:41:24 +04:00
|
|
|
(cd $$i && rm -f tags; ln -s ../tags tags); done
|
1997-10-11 13:10:25 +04:00
|
|
|
|
|
|
|
|
2013-05-31 00:08:47 +04:00
|
|
|
SUBDIR= compile include stand dev
|
1994-02-06 18:27:54 +03:00
|
|
|
|
1996-03-26 01:48:09 +03:00
|
|
|
.include <bsd.subdir.mk>
|