diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-15 21:29:17 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-15 21:29:17 +0000 |
commit | f6919fd90bb0cf855d40ea56e1bac94e13c92978 (patch) | |
tree | 7c5a5f4802e0687503f99122f1e9bbdecc5c1ae4 /sys/arch/mvme88k/Makefile | |
parent | 2c14d0dddcd37fb261a40e9816e2980a85258f57 (diff) |
repair tags building (due to obj dirs in /sys)
Diffstat (limited to 'sys/arch/mvme88k/Makefile')
-rw-r--r-- | sys/arch/mvme88k/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/sys/arch/mvme88k/Makefile b/sys/arch/mvme88k/Makefile index b9c798e2c36..f9ea3c1b68d 100644 --- a/sys/arch/mvme88k/Makefile +++ b/sys/arch/mvme88k/Makefile @@ -1,14 +1,17 @@ -# $OpenBSD: Makefile,v 1.4 2000/12/28 21:21:23 smurph Exp $ +# $OpenBSD: Makefile,v 1.5 2002/07/15 21:29:16 mickey Exp $ # from: @(#)Makefile 8.1 (Berkeley) 6/11/93 # # Makefile for mvme88k links, tags file +S=${.CURDIR}/../.. +.include "$S/kern/Make.tags.inc" + NOPROG= noprog NOMAN= noman NOOBJ= noobj -SYSTAGS= ${.CURDIR}/tags +TMVME88K=${.CURDIR}/tags SUBDIR= stand DIRS= conf dev include mvme88k @@ -16,20 +19,19 @@ links:: -for i in ${DIRS}; do \ echo $$i ; \ cd ${.CURDIR} ; \ - (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done + (cd $$i && { rm -f tags; ln -s ${TMVME88K} tags; }) done -MVME88K=/sys/arch/mvme88k/dev/*.[ch] /sys/arch/mvme88k/include/*.[ch] \ - /sys/arch/mvme88k/mvme88k/*.[ch] -AMVME88K=/sys/arch/mvme88k/mvme88k/*.s +SMVME88K=$S/arch/mvme88k/dev/*.[ch] $S/arch/mvme88k/include/*.[ch] \ + $S/arch/mvme88k/mvme88k/*.[ch] +AMVME88K=$S/arch/mvme88k/mvme88k/*.[sS] tags: - -ctags -wdt ${COMM} ${MVME88K} + -ctags -wdtf ${TMVME88K} ${COMM} ${SMVME88K} egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMVME88K} | \ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ - >> tags - sort -o tags tags + >> ${TMVME88K} + sort -o ${TMVME88K} ${TMVME88K} obj: _SUBDIRUSE .include <bsd.prog.mk> -.include <bsd.subdir.mk> |