Date: Wed, 17 Feb 2010 23:48:47 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r204021 - user/imp/tbemd/sbin Message-ID: <201002172348.o1HNmlIV093124@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed Feb 17 23:48:47 2010 New Revision: 204021 URL: http://svn.freebsd.org/changeset/base/204021 Log: First directory to apply the simplification of the ARCH specific parts to. This also simplifies the MK_FOO items at the same time a little. Briefly, we create a list for all platforms. We then augment it for a specific platform. We then sort the result and do things alphabetically. Added: user/imp/tbemd/sbin/Makefile.amd64 user/imp/tbemd/sbin/Makefile.arm user/imp/tbemd/sbin/Makefile.i386 user/imp/tbemd/sbin/Makefile.ia64 user/imp/tbemd/sbin/Makefile.mips user/imp/tbemd/sbin/Makefile.pc98 user/imp/tbemd/sbin/Makefile.sparc64 Modified: user/imp/tbemd/sbin/Makefile Modified: user/imp/tbemd/sbin/Makefile ============================================================================== --- user/imp/tbemd/sbin/Makefile Wed Feb 17 23:47:08 2010 (r204020) +++ user/imp/tbemd/sbin/Makefile Wed Feb 17 23:48:47 2010 (r204021) @@ -5,26 +5,21 @@ # XXX MISSING: icheck ncheck -SUBDIR= adjkerntz \ +_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 \ @@ -38,15 +33,12 @@ SUBDIR= adjkerntz \ gvinum \ ifconfig \ init \ - ${_ipf} \ - ${_ipfw} \ iscontrol \ kldconfig \ kldload \ kldstat \ kldunload \ ldconfig \ - ${_mca} \ md5 \ mdconfig \ mdmfs \ @@ -60,96 +52,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_CPUARCH} != "ia64" && ${MACHINE_CPUARCH} != "powerpc" -_bsdlabel= bsdlabel +_SUBDIR += ping6 +_SUBDIR += rtsol .endif .if ${MK_QUOTAS} != "no" -_quotacheck= quotacheck +_SUBDIR += quotacheck .endif .if ${MK_ROUTED} != "no" -_routed= routed -.endif - -.if ${MACHINE_CPUARCH} == "i386" -.if ${MACHINE} == "i386" -_fdisk= fdisk -.elif ${MACHINE} == "pc98" -_fdisk_pc98= fdisk_pc98 -.endif -_sconfig= sconfig +_SUBDIR += routed .endif -.if ${MACHINE_CPUARCH} == "amd64" -_fdisk= fdisk -.endif +.include <bsd.arch.inc.mk> -.if ${MACHINE_CPUARCH} == "arm" -_fdisk= fdisk -.endif - -.if ${MACHINE_CPUARCH} == "ia64" -_mca= mca -.endif - -.if ${MACHINE_CPUARCH} == "sparc64" -_sunlabel= sunlabel -.endif +SUBDIR=${_SUBDIR:O} .include <bsd.subdir.mk> Added: user/imp/tbemd/sbin/Makefile.amd64 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/imp/tbemd/sbin/Makefile.amd64 Wed Feb 17 23:48:47 2010 (r204021) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +_SUBDIR += bsdlabel +_SUBDIR += fdisk Added: user/imp/tbemd/sbin/Makefile.arm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/imp/tbemd/sbin/Makefile.arm Wed Feb 17 23:48:47 2010 (r204021) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +_SUBDIR += bsdlabel +_SUBDIR += fdisk Added: user/imp/tbemd/sbin/Makefile.i386 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/imp/tbemd/sbin/Makefile.i386 Wed Feb 17 23:48:47 2010 (r204021) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +_SUBDIR += bsdlabel +_SUBDIR += fdisk +_SUBDIR += sconfig Added: user/imp/tbemd/sbin/Makefile.ia64 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/imp/tbemd/sbin/Makefile.ia64 Wed Feb 17 23:48:47 2010 (r204021) @@ -0,0 +1,3 @@ +# $FreeBSD$ + +_SUBDIR += mca Added: user/imp/tbemd/sbin/Makefile.mips ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/imp/tbemd/sbin/Makefile.mips Wed Feb 17 23:48:47 2010 (r204021) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +_SUBDIR += bsdlabel +_SUBDIR += fdisk Added: user/imp/tbemd/sbin/Makefile.pc98 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/imp/tbemd/sbin/Makefile.pc98 Wed Feb 17 23:48:47 2010 (r204021) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +_SUBDIR += bsdlabel +_SUBDIR += fdisk_pc98 +_SUBDIR += sconfig Added: user/imp/tbemd/sbin/Makefile.sparc64 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/imp/tbemd/sbin/Makefile.sparc64 Wed Feb 17 23:48:47 2010 (r204021) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +_SUBDIR += bsdlabel +_SUBDIR += sunlabel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002172348.o1HNmlIV093124>