summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-09 18:07:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-09 18:07:41 +0000
commit835eedea75ad481386d5273b88d9b9f652bf566e (patch)
tree0225eafe062e1ed875b8ca339d0fea58cb8eaed5 /sys/arch
parent049e630e8966eef26be87ff91fe63a2938402e20 (diff)
Oops, correct import this time.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/aviion/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/arch/aviion/Makefile b/sys/arch/aviion/Makefile
new file mode 100644
index 00000000000..23fdb803098
--- /dev/null
+++ b/sys/arch/aviion/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD: Makefile,v 1.1 2006/05/09 18:07:40 miod Exp $
+
+S=${.CURDIR}/../..
+.include "$S/kern/Make.tags.inc"
+
+NOPROG=
+NOMAN=
+NOOBJ=
+
+SUBDIR=
+
+TAVIION= $S/arch/aviion/tags
+SAVIION= $S/arch/aviion/aviion/*.[ch] \
+ $S/arch/aviion/dev/*.[ch] \
+ $S/arch/aviion/include/*.h
+AAVIION= $S/arch/aviion/aviion/*.[sS]
+
+# Directories in which to place aviion tags links
+DAVIION= conf dev aviion include
+
+tags:
+ -ctags -wdtf ${TAVIION} ${COMM} ${SAVIION}
+ egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAVIION} | \
+ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+ >> ${TAVIION}
+ sort -o ${TAVIION} ${TAVIION}
+
+links:
+ -for i in ${DAVIION}; do \
+ (cd $$i && rm -f tags; ln -s ${TAVIION} tags); done
+
+obj: _SUBDIRUSE
+
+.include <bsd.prog.mk>