summaryrefslogtreecommitdiff
path: root/distrib/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-10 19:37:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-10 19:37:52 +0000
commitdce8cf87789442d9782c92772ebca3b5e0f6986b (patch)
tree1929d1565379e34c895770336317e72d0451326f /distrib/Makefile
parenta8c6f03fff0a7b247ce3a5418a403fc1c1e97841 (diff)
try to be more clever about when to enter SUBDIRS, so that we don't
do it double for the native arch
Diffstat (limited to 'distrib/Makefile')
-rw-r--r--distrib/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/distrib/Makefile b/distrib/Makefile
index 5172ab5d7f8..301a5236bda 100644
--- a/distrib/Makefile
+++ b/distrib/Makefile
@@ -1,18 +1,20 @@
-# $OpenBSD: Makefile,v 1.28 2006/11/10 01:39:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.29 2006/11/10 19:37:51 deraadt Exp $
+
+SUBDIR= special
.if make(obj)
-SUBDIR= special alpha crunch hp300 hppa i386 mac68k macppc mvme68k \
- mvme88k mvmeppc sparc sparc64 vax amd64 cats sgi zaurus landisk
-.elif !make(install)
-SUBDIR= special
+SUBDIR+=crunch
+SUBDIR+=alpha amd64 cats hp300 hppa i386 landisk mac68k macppc mvme68k \
+ mvme88k mvmeppc sgi sparc sparc64 vax zaurus
+.elif exists(${MACHINE})
+SUBDIR+=${MACHINE}
.endif
+
.if make(clean) || make(cleandir)
SUBDIR+=crunch
.endif
-.if exists(${MACHINE})
-SUBDIR+= ${MACHINE}
-.endif
-SUBDIR+= notes
+
+SUBDIR+=notes
#all: crunch-tools _SUBDIRUSE