From befe65e23ce8fa707e1a9ebf53d5287958526ce9 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 6 May 2005 01:45:04 +0000 Subject: Add tags to luna88k. commit your stuff. make tags work. --- sys/arch/luna88k/Makefile | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/sys/arch/luna88k/Makefile b/sys/arch/luna88k/Makefile index 322260dcc80..c2c9d5b1892 100644 --- a/sys/arch/luna88k/Makefile +++ b/sys/arch/luna88k/Makefile @@ -1,4 +1,7 @@ -# $OpenBSD: Makefile,v 1.1 2004/04/21 16:24:28 miod Exp $ +# $OpenBSD: Makefile,v 1.2 2005/05/06 01:45:03 marco Exp $ + +S=${.CURDIR}/../.. +.include "$S/kern/Make.tags.inc" NOPROG= NOMAN= @@ -6,6 +9,25 @@ NOOBJ= SUBDIR= +TLUNA88K= $S/arch/luna88k/tags +SLUNA88K= $S/arch/luna88k/luna88k/*.[ch] \ + $S/arch/luna88k/include/*.h +ALUNA88K= $S/arch/luna88k/luna88k/*.[sS] + +# Directories in which to place luna88k tags links +DLUNA88K= conf luna88k include + +tags: + -ctags -wdtf ${TLUNA88K} ${COMM} ${SLUNA88K} + egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ALUNA88K} | \ + sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ + >> ${TLUNA88K} + sort -o ${TLUNA88K} ${TLUNA88K} + +links: + -for i in ${DLUNA88K}; do \ + cd $$i && rm -f tags; ln -s ${TLUNA88K} tags; done + obj: _SUBDIRUSE .include -- cgit v1.2.3