summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-23 13:14:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-23 13:14:38 +0000
commit0d9bd07968d409a80abe35559697b1985274468c (patch)
tree618c29475673d82272d37029b0aed8d407e776b6 /sys/arch
parent83078891078339cc5cc8475c3aba57e7357bc1ea (diff)
correct obj building
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/Makefile7
-rw-r--r--sys/arch/mac68k/Makefile6
-rw-r--r--sys/arch/sparc/Makefile2
-rw-r--r--sys/arch/wgrisc/Makefile4
4 files changed, 15 insertions, 4 deletions
diff --git a/sys/arch/amiga/Makefile b/sys/arch/amiga/Makefile
index 7f713b4e241..131a1775c7e 100644
--- a/sys/arch/amiga/Makefile
+++ b/sys/arch/amiga/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1997/01/16 09:23:08 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 1997/10/23 13:14:32 deraadt Exp $
# $NetBSD: Makefile,v 1.11 1997/01/06 12:33:09 is Exp $
# @(#)Makefile 7.3 (Berkeley) 6/9/91
@@ -12,7 +12,7 @@ COMM= $S/vm/*.[ch] $S/ufs/*.[ch] $S/sys/*.h $S/compat/sunos/*.[ch] \
# Makefile for amiga tags file
-SUBDIR=stand
+SUBDIR=stand ../m68k
TAMIGA= $S/arch/amiga/tags
SAMIGA= $S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
@@ -41,5 +41,8 @@ links:
rm -f $$i/tags; rm -f $$i/TAGS ; \
ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
+obj: _SUBDIRUSE
+
.include <bsd.prog.mk>
+.include <bsd.subdir.mk>
diff --git a/sys/arch/mac68k/Makefile b/sys/arch/mac68k/Makefile
index 37f084e42df..54684c486da 100644
--- a/sys/arch/mac68k/Makefile
+++ b/sys/arch/mac68k/Makefile
@@ -13,6 +13,8 @@ SMAC68K= ../m68k/m68k/*.c ../m68k/include/*.h \
../mac68k/dev/*.[ch]
AMAC68K= ../m68k/m68k/*.s ../mac68k/mac68k/*.s
+SUBDIR=../m68k
+
# Directories in which to place mac68k tags links
DMAC68K= mac68k dev include
@@ -27,5 +29,7 @@ links:
-for i in ${DMAC68K}; do \
cd $$i && rm -f tags; ln -s ../tags tags; done
-.include <bsd.prog.mk>
+obj: _SUBDIRUSE
+.include <bsd.prog.mk>
+.include <bsd.subdir.mk>
diff --git a/sys/arch/sparc/Makefile b/sys/arch/sparc/Makefile
index a553e3b2b16..f82d1b56903 100644
--- a/sys/arch/sparc/Makefile
+++ b/sys/arch/sparc/Makefile
@@ -27,5 +27,7 @@ tags:
>> tags
sort -o tags tags
+obj: _SUBDIRUSE
+
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
diff --git a/sys/arch/wgrisc/Makefile b/sys/arch/wgrisc/Makefile
index 79473e5afc1..155b6984107 100644
--- a/sys/arch/wgrisc/Makefile
+++ b/sys/arch/wgrisc/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/16/93
-# $Id: Makefile,v 1.1 1997/02/06 16:02:41 pefo Exp $
+# $Id: Makefile,v 1.2 1997/10/23 13:14:37 deraadt Exp $
# Makefile for pica links, tags file
@@ -25,4 +25,6 @@ tags::
>> tags
sort -o tags tags
+obj: _SUBDIRUSE
+
.include <bsd.prog.mk>