diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-10 19:37:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-10 19:37:52 +0000 |
commit | dce8cf87789442d9782c92772ebca3b5e0f6986b (patch) | |
tree | 1929d1565379e34c895770336317e72d0451326f /distrib/Makefile | |
parent | a8c6f03fff0a7b247ce3a5418a403fc1c1e97841 (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/Makefile | 20 |
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 |