summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-31 22:21:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-31 22:21:45 +0000
commit5a95f7ec91d73027a0cb3cfad969e67da84aa980 (patch)
tree3dc0482b21e6cce79dc71912a2fac336fe24694c /sys/arch/m68k
parenta28226240cd918c9b04e30eb6121cf4a6b7f5e5a (diff)
Completely rewrite the tags file creation process. use config(8) against
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some variables using make -V, and after some more singing and dancing use this full and (more) correct list of files with ctags. Don't read this code. ok guenther
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r--sys/arch/m68k/Makefile31
1 files changed, 2 insertions, 29 deletions
diff --git a/sys/arch/m68k/Makefile b/sys/arch/m68k/Makefile
index f06ceb52593..06c9597af5a 100644
--- a/sys/arch/m68k/Makefile
+++ b/sys/arch/m68k/Makefile
@@ -1,32 +1,5 @@
-# $OpenBSD: Makefile,v 1.10 2007/10/18 18:08:02 deraadt Exp $
-
-S=${.CURDIR}/../..
-.include "$S/kern/Make.tags.inc"
-
-SUBDIR+= 060sp fpsp
-
-TM68K= $S/arch/m68k/tags
-SM68K= $S/arch/m68k/m68k/*.[ch] \
- $S/arch/m68k/include/*.h
-AM68K= $S/arch/m68k/m68k/*.[sS] \
- $S/lib/libkern/arch/m68k/*.[sS] \
- $S/arch/m68k/fpsp/*.sa \
- $S/arch/m68k/060sp/*.[sS] \
- $S/arch/m68k/060sp/*.sa \
-
-# Directories in which to place m68k tags links
-DM68K= conf m68k include pci
-
-tags:
- -ctags -wdtf ${TM68K} ${COMM} ${SM68K}
- egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AM68K} | \
- sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
- >> ${TM68K}
- sort -o ${TM68K} ${TM68K}
-
-links:
- -for i in ${DM68K}; do \
- cd $$i && rm -f tags; ln -s ${TM68K} tags; done
+# $OpenBSD: Makefile,v 1.11 2010/05/31 22:21:43 deraadt Exp $
+SUBDIR= 060sp fpsp
.include <bsd.subdir.mk>