Make the mac68k 'tags' target work.

This commit is contained in:
dyoung 2007-02-25 05:47:55 +00:00
parent e56125c356
commit 58d89d0317
2 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,4 @@
# $NetBSD: Makefile.inc,v 1.2 1998/11/15 20:36:30 perry Exp $
SYSDIR?= /sys
# $NetBSD: Makefile.inc,v 1.3 2007/02/25 05:47:55 dyoung Exp $
SM68K= ${SYSDIR}/arch/m68k/m68k/*.[ch] ${SYSDIR}/arch/m68k/include/*.h
AM68K= ${SYSDIR}/arch/m68k/m68k/*.s

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2003/01/06 17:40:36 lukem Exp $
# $NetBSD: Makefile,v 1.9 2007/02/25 05:47:55 dyoung Exp $
# Makefile for mac68k tags file and boot blocks
@ -17,7 +17,8 @@ DMAC68K=mac68k dev include nubus obio
.include "../../kern/Make.tags.inc"
tags:
-ctags -wdtf ${TMAC68K} ${SMAC68K} ${SM68K} ${COMM}
-rm -f ${TMAC68K}
-echo ${SMAC68K} ${SM68K} ${COMM} | xargs ctags -wdtf ${TMAC68K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMAC68K} ${AM68K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TMAC68K}