summaryrefslogtreecommitdiffstats
path: root/sbin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/Makefile')
-rw-r--r--sbin/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/Makefile b/sbin/Makefile
index 4570763..d346a6c 100644
--- a/sbin/Makefile
+++ b/sbin/Makefile
@@ -9,10 +9,8 @@ SUBDIR= adjkerntz badsect clri disklabel dmesg dump dumpfs dumplfs \
nologin ping quotacheck reboot restore route savecore shutdown \
slattach startslip swapon sysinstall tunefs umount
-.if make(clean) || make(cleandir)
-SUBDIR+=comcontrol fdisk ft mount_msdos
-.elif ${MACHINE} == "i386"
-SUBDIR+=comcontrol fdisk ft mount_msdos
+.if exists(${.CURDIR}/${MACHINE})
+SUBDIR+= ${MACHINE}
.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud