MF tbemd: Move to using Makefile.arch to select what to build.

Reviewed by:	arch@ (no objection)
This commit is contained in:
Warner Losh 2010-09-13 02:25:21 +00:00
parent 22e2f727d0
commit 130ecf684f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212527
8 changed files with 43 additions and 56 deletions

View File

@ -7,24 +7,19 @@
SUBDIR=adjkerntz \
atacontrol \
${_atm} \
badsect \
${_bsdlabel} \
camcontrol \
ccdconfig \
clri \
comcontrol \
conscontrol \
ddb \
${_devd} \
devfs \
dhclient \
dmesg \
dump \
dumpfs \
dumpon \
${_fdisk} \
${_fdisk_pc98} \
ffsinfo \
fsck \
fsck_ffs \
@ -40,15 +35,12 @@ SUBDIR= adjkerntz \
hastd \
ifconfig \
init \
${_ipf} \
${_ipfw} \
iscontrol \
kldconfig \
kldload \
kldstat \
kldunload \
ldconfig \
${_mca} \
md5 \
mdconfig \
mdmfs \
@ -62,96 +54,62 @@ SUBDIR= adjkerntz \
mount_nullfs \
mount_udf \
mount_unionfs \
${_natd} \
newfs \
newfs_msdos \
nfsiod \
nos-tun \
${_pfctl} \
${_pflogd} \
ping \
${_ping6} \
${_quotacheck} \
rcorder \
reboot \
recoverdisk \
restore \
route \
${_routed} \
${_rtsol} \
savecore \
${_sconfig} \
setkey \
shutdown \
spppcontrol \
${_sunlabel} \
swapon \
sysctl \
tunefs \
umount \
.if ${MK_ATM} != "no"
_atm= atm
SUBDIR+= atm
.endif
.if ${MK_CXX} != "no"
_devd= devd
SUBDIR+= devd
.endif
.if ${MK_IPFILTER} != "no"
_ipf= ipf
SUBDIR+= ipf
.endif
.if ${MK_IPFW} != "no"
_ipfw= ipfw
_natd= natd
SUBDIR+= ipfw
SUBDIR+= natd
.endif
.if ${MK_PF} != "no"
_pfctl= pfctl
_pflogd= pflogd
SUBDIR+= pfctl
SUBDIR+= pflogd
.endif
.if ${MK_INET6} != "no"
_ping6= ping6
_rtsol= rtsol
.endif
.if ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "powerpc"
_bsdlabel= bsdlabel
SUBDIR+= ping6
SUBDIR+= rtsol
.endif
.if ${MK_QUOTAS} != "no"
_quotacheck= quotacheck
SUBDIR+= quotacheck
.endif
.if ${MK_ROUTED} != "no"
_routed= routed
SUBDIR+= routed
.endif
.if ${MACHINE_ARCH} == "i386"
.if ${MACHINE} == "i386"
_fdisk= fdisk
.elif ${MACHINE} == "pc98"
_fdisk_pc98= fdisk_pc98
.endif
_sconfig= sconfig
.endif
.include <bsd.arch.inc.mk>
.if ${MACHINE_ARCH} == "amd64"
_fdisk= fdisk
.endif
.if ${MACHINE_ARCH} == "arm"
_fdisk= fdisk
.endif
.if ${MACHINE_ARCH} == "ia64"
_mca= mca
.endif
.if ${MACHINE_ARCH} == "sparc64"
_sunlabel= sunlabel
.endif
SUBDIR:= ${SUBDIR:O}
.include <bsd.subdir.mk>

4
sbin/Makefile.amd64 Normal file
View File

@ -0,0 +1,4 @@
# $FreeBSD$
SUBDIR += bsdlabel
SUBDIR += fdisk

4
sbin/Makefile.arm Normal file
View File

@ -0,0 +1,4 @@
# $FreeBSD$
SUBDIR += bsdlabel
SUBDIR += fdisk

5
sbin/Makefile.i386 Normal file
View File

@ -0,0 +1,5 @@
# $FreeBSD$
SUBDIR += bsdlabel
SUBDIR += fdisk
SUBDIR += sconfig

3
sbin/Makefile.ia64 Normal file
View File

@ -0,0 +1,3 @@
# $FreeBSD$
SUBDIR += mca

4
sbin/Makefile.mips Normal file
View File

@ -0,0 +1,4 @@
# $FreeBSD$
SUBDIR += bsdlabel
SUBDIR += fdisk

5
sbin/Makefile.pc98 Normal file
View File

@ -0,0 +1,5 @@
# $FreeBSD$
SUBDIR += bsdlabel
SUBDIR += fdisk_pc98
SUBDIR += sconfig

4
sbin/Makefile.sparc64 Normal file
View File

@ -0,0 +1,4 @@
# $FreeBSD$
SUBDIR += bsdlabel
SUBDIR += sunlabel