Check for subdirectories for both the platform architecture and the
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 11 Nov 2006 20:02:36 +0000 (20:02 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 11 Nov 2006 20:02:36 +0000 (20:02 +0000)
cpu architecture.

sbin/Makefile

index 7bc4ac7..088e94c 100644 (file)
@@ -1,6 +1,6 @@
 #      @(#)Makefile    8.5 (Berkeley) 3/31/94
 # $FreeBSD: src/sbin/Makefile,v 1.77.2.9 2002/08/08 09:03:46 ru Exp $
-# $DragonFly: src/sbin/Makefile,v 1.12 2006/07/29 18:56:28 swildner Exp $
+# $DragonFly: src/sbin/Makefile,v 1.13 2006/11/11 20:02:36 dillon Exp $
 #
 # XXX MISSING:         icheck ncheck
 
@@ -96,5 +96,8 @@ SUBDIR+=kget \
 .if exists(${.CURDIR}/${MACHINE})
 SUBDIR+= ${MACHINE}
 .endif
+.if exists(${.CURDIR}/${MACHINE_ARCH})
+SUBDIR+= ${MACHINE_ARCH}
+.endif
 
 .include <bsd.subdir.mk>