NetBSD/sys/arch/sparc/Makefile

35 lines
885 B
Makefile
Raw Normal View History

2011-04-04 23:41:24 +04:00
# $NetBSD: Makefile,v 1.10 2011/04/04 19:41:24 dyoung 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
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
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"
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}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
${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
SUBDIR= compile include stand
1994-02-06 18:27:54 +03:00
1996-03-26 01:48:09 +03:00
.include <bsd.subdir.mk>