summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/Makefile
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-15 21:29:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-15 21:29:17 +0000
commitf6919fd90bb0cf855d40ea56e1bac94e13c92978 (patch)
tree7c5a5f4802e0687503f99122f1e9bbdecc5c1ae4 /sys/arch/mvme68k/Makefile
parent2c14d0dddcd37fb261a40e9816e2980a85258f57 (diff)
repair tags building (due to obj dirs in /sys)
Diffstat (limited to 'sys/arch/mvme68k/Makefile')
-rw-r--r--sys/arch/mvme68k/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/sys/arch/mvme68k/Makefile b/sys/arch/mvme68k/Makefile
index 830a257e05f..b9a28405a83 100644
--- a/sys/arch/mvme68k/Makefile
+++ b/sys/arch/mvme68k/Makefile
@@ -1,14 +1,17 @@
-# $OpenBSD: Makefile,v 1.8 1997/10/19 22:35:57 etheisen Exp $
+# $OpenBSD: Makefile,v 1.9 2002/07/15 21:29:16 mickey Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/11/93
#
# Makefile for mvme68k links, tags file
+S=${.CURDIR}/../..
+.include "$S/kern/Make.tags.inc"
+
NOPROG= noprog
NOMAN= noman
NOOBJ= noobj
-SYSTAGS= ${.CURDIR}/tags
+TMVEM68K= $S/arch/mvme68k/tags
SUBDIR= stand ../m68k
DIRS= conf dev include mvme68k
@@ -18,18 +21,17 @@ links::
cd ${.CURDIR} ; \
(cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
-MVME68K=/sys/arch/mvme68k/dev/*.[ch] /sys/arch/mvme68k/include/*.[ch] \
- /sys/arch/mvme68k/mvme68k/*.[ch]
-AMVME68K=/sys/arch/mvme68k/mvme68k/*.s
+SMVME68K=$S/arch/mvme68k/dev/*.[ch] $S/arch/mvme68k/include/*.[ch] \
+ $S/arch/mvme68k/mvme68k/*.[ch]
+AMVME68K=$S/arch/mvme68k/mvme68k/*.s $S/lib/libkern/arch/m68k/*.[sS]
tags:
- -ctags -wdt ${COMM} ${MVME68K}
+ -ctags -wdtf ${TMVEM68K} ${COMM} ${SMVME68K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMVME68K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> tags
- sort -o tags tags
+ sort -o ${TMVEM68K} ${TMVEM68K}
obj: _SUBDIRUSE
.include <bsd.prog.mk>
-.include <bsd.subdir.mk>