summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-27 19:39:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-27 19:39:45 +0000
commit8f7e44d5a58521dd86ebf8b16fae191d97edae9e (patch)
treed4ef940f43566375ca3960a37020f15c94a303d4
parent629ee9d8d31db6a7c5ff8bfa5424df3e445b8232 (diff)
solbourne Makefile and dive there
-rw-r--r--sys/Makefile6
-rw-r--r--sys/arch/solbourne/Makefile36
2 files changed, 39 insertions, 3 deletions
diff --git a/sys/Makefile b/sys/Makefile
index 07764222a59..9f5cedf99bb 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.24 2005/04/01 15:27:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.25 2005/04/27 19:39:44 deraadt Exp $
# $NetBSD: Makefile,v 1.5 1995/09/15 21:05:21 pk Exp $
SUBDIR= dev/microcode \
arch/alpha arch/hp300 arch/hppa arch/hppa64 arch/i386 arch/m68k \
arch/mac68k arch/macppc arch/mvme68k arch/mvme88k \
- arch/mvmeppc arch/sgi arch/sparc arch/sparc64 arch/vax \
- arch/cats arch/amd64 arch/zaurus
+ arch/mvmeppc arch/sgi arch/solbourne arch/sparc arch/sparc64 \
+ arch/vax arch/cats arch/amd64 arch/zaurus
.include <bsd.subdir.mk>
diff --git a/sys/arch/solbourne/Makefile b/sys/arch/solbourne/Makefile
new file mode 100644
index 00000000000..d238116d0bf
--- /dev/null
+++ b/sys/arch/solbourne/Makefile
@@ -0,0 +1,36 @@
+# $OpenBSD: Makefile,v 1.1 2005/04/27 19:39:44 deraadt Exp $
+# $NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg Exp $
+
+#
+# Makefile for solbourne links, tags file
+
+S=${.CURDIR}/../..
+.include "$S/kern/Make.tags.inc"
+
+SUBDIR=
+
+NOPROG= noprog
+NOMAN= noman
+
+TSOLBOURNE= $S/arch/solbourne/tags
+DIRS= conf include dev solourne
+
+links::
+ -for i in ${DIRS}; do \
+ (cd $$i && { rm -f tags; ln -s ${TSOLBOURNE} tags; }) done
+
+SOLBOURNE= $S/arch/solbourne/dev/*.[ch] $S/arch/solbourne/fpu/*.[ch] \
+ $S/arch/solbourne/include/*.[ch] $S/arch/solbourne/solbourne/*.[ch]
+ASOLBOURNE= $S/arch/solbourne/solbourne/*.[sS] $S/lib/libkern/arch/solbourne/*.[sS]
+
+tags:
+ -ctags -wdtf ${TSOLBOURNE} ${COMM} ${SOLBOURNE}
+ egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASOLBOURNE} | \
+ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+ >> ${TSOLBOURNE}
+ sort -o ${TSOLBOURNE} ${TSOLBOURNE}
+
+obj: _SUBDIRUSE
+
+.include <bsd.prog.mk>
+.include <bsd.subdir.mk>