diff options
author | 2006-11-10 19:37:51 +0000 | |
---|---|---|
committer | 2006-11-10 19:37:51 +0000 | |
commit | 6eb8f3df213e0f880596d5bb422c0c55563e3118 (patch) | |
tree | 63213ceb773ed9e01c58481deaf04377300504cd | |
parent | fake no-op install target (diff) | |
download | wireguard-openbsd-6eb8f3df213e0f880596d5bb422c0c55563e3118.tar.xz wireguard-openbsd-6eb8f3df213e0f880596d5bb422c0c55563e3118.zip |
try to be more clever about when to enter SUBDIRS, so that we don't
do it double for the native arch
-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 |