diff options
author | ru <ru@FreeBSD.org> | 2004-01-16 15:23:19 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-01-16 15:23:19 +0000 |
commit | 6593bb80ea605257d135ed6040839c2c7d97c28e (patch) | |
tree | e9acce15e121fbd68a9dc4f210872a01c8a6f103 /usr.bin/Makefile | |
parent | e3c786562ff87850be855dfd169fb04002f8419a (diff) | |
download | FreeBSD-src-6593bb80ea605257d135ed6040839c2c7d97c28e.zip FreeBSD-src-6593bb80ea605257d135ed6040839c2c7d97c28e.tar.gz |
- Build things in pure dictionary order (see sort(1)).
- Unify the conditional assignments section so that architectural
exclusions come first, then options and !options, sorted by the
option name, also in directory order, then architecture specific
sections, sorted by the architecture name, with i386 being a
traditional exception.
Prodded by: bde
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r-- | usr.bin/Makefile | 98 |
1 files changed, 57 insertions, 41 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile index c8e64c4..1d2e3cc 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -7,25 +7,6 @@ # Moved to secure: bdes # -.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "amd64" -.if !defined(NO_TOOLCHAIN) -_gprof= gprof -.endif -_truss= truss -.endif - -.if !defined(NO_TOOLCHAIN) -_c89= c89 -_c99= c99 -_lex= lex -_xlint= xlint -_yacc= yacc -.endif - -.if !defined(NOATM) -_atm= atm -.endif - SUBDIR= alias \ apply \ asa \ @@ -35,6 +16,7 @@ SUBDIR= alias \ banner \ basename \ biff \ + ${_bluetooth} \ brandelf \ bzip2 \ bzip2recover \ @@ -45,6 +27,7 @@ SUBDIR= alias \ catman \ chat \ checknr \ + ${_chkey} \ chpass \ cksum \ cmp \ @@ -59,7 +42,11 @@ SUBDIR= alias \ csplit \ ctags \ cut \ + ${_dig} \ dirname \ + ${_dnskeygen} \ + ${_dnsquery} \ + ${_doscmd} \ du \ ee \ elf2aout \ @@ -87,6 +74,7 @@ SUBDIR= alias \ head \ hesinfo \ hexdump \ + ${_host} \ id \ indent \ ipcrm \ @@ -133,8 +121,11 @@ SUBDIR= alias \ msgs \ mt \ ncal \ + ${_ncplist} \ + ${_ncplogin} \ netstat \ newgrp \ + ${_newkey} \ nfsstat \ nice \ nl \ @@ -163,10 +154,12 @@ SUBDIR= alias \ rusers \ rwall \ rwho \ + ${_sasc} \ script \ sed \ shar \ showmount \ + ${_smbutil} \ sockstat \ split \ stat \ @@ -191,6 +184,7 @@ SUBDIR= alias \ tset \ tsort \ tty \ + ${_uac} \ ul \ uname \ unexpand \ @@ -198,10 +192,13 @@ SUBDIR= alias \ uniq \ units \ unvis \ + ${_usbhidaction} \ + ${_usbhidctl} \ users \ uudecode \ uuencode \ uuidgen \ + ${_vacation} \ vgrind \ vi \ vis \ @@ -226,44 +223,63 @@ SUBDIR= alias \ ypmatch \ ypwhich +.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "powerpc" +_truss= truss +.endif + +.if !defined(NOATM) +_atm= atm +.endif + .if !defined(NO_BIND) -SUBDIR+=dig \ - dnskeygen \ - dnsquery \ - host +_dig= dig +_dnskeygen= dnskeygen +_dnsquery= dnsquery +_host= host +.endif + +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) +_chkey= chkey +_newkey= newkey .endif .if !defined(NO_SENDMAIL) -SUBDIR+=vacation +_vacation= vacation +.endif + +.if !defined(NO_TOOLCHAIN) +_c89= c89 +_c99= c99 +.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "powerpc" +_gprof= gprof +.endif +_lex= lex +_xlint= xlint +_yacc= yacc .endif .if !defined(NO_USB) -SUBDIR+=usbhidaction \ - usbhidctl +_usbhidaction= usbhidaction +_usbhidctl= usbhidctl .endif .if ${MACHINE_ARCH} == "i386" -# Things that don't compile on alpha or are aout specific: -SUBDIR+=bluetooth \ - doscmd \ - ncplist \ - ncplogin \ - sasc \ - smbutil +_bluetooth= bluetooth +_doscmd= doscmd +_ncplist= ncplist +_ncplogin= ncplogin +_sasc= sasc +_smbutil= smbutil .endif .if ${MACHINE_ARCH} == "alpha" -SUBDIR+=uac +_uac= uac .endif .if ${MACHINE_ARCH} == "amd64" -SUBDIR+=ncplist \ - ncplogin \ - smbutil -.endif - -.if !defined(NOCRYPT) && !defined(NO_OPENSSL) -SUBDIR+=chkey newkey +_ncplist= ncplist +_ncplogin= ncplogin +_smbutil= smbutil .endif .include <bsd.subdir.mk> |