1886e832bSGarrett Wollman# From: @(#)Makefile 5.20 (Berkeley) 6/12/93 297d92980SPeter Wemm# $FreeBSD$ 3dea673e9SRodney W. Grimes 4e1fe3dbaSRuslan Ermilov.include <bsd.own.mk> 5e1fe3dbaSRuslan Ermilov 69f0c9022SEd SchoutenSUBDIR= adduser \ 70451ac36SGary Palmer arp \ 80451ac36SGary Palmer bootparamd \ 96d73a68aSSøren Schmidt burncd \ 102118f387SNathan Whitehorn bsdinstall \ 110451ac36SGary Palmer cdcontrol \ 120451ac36SGary Palmer chkgrp \ 130451ac36SGary Palmer chown \ 140451ac36SGary Palmer chroot \ 150451ac36SGary Palmer ckdist \ 16dfdcada3SDoug Rabson clear_locks \ 17a37f9716SJohn Baldwin crashinfo \ 180451ac36SGary Palmer cron \ 19130f4520SKenneth D. Merry ctladm \ 20bd06a3ecSMike Barcroft daemon \ 21869093b1SHidetoshi Shimokawa dconschat \ 220fb0f418SMike Smith devinfo \ 23ad01e0c8SBrian Somers digictl \ 24a362eb63SPoul-Henning Kamp diskinfo \ 250738c00eSWarner Losh dumpcis \ 26caefa400SPoul-Henning Kamp extattr \ 279754f5b6SRobert Watson extattrctl \ 287825a6bdSPoul-Henning Kamp fifolog \ 29a7a73b95SHidetoshi Shimokawa fwcontrol \ 305b38a427SRobert Watson getfmac \ 315b38a427SRobert Watson getpmac \ 3254a8adabSPoul-Henning Kamp gstat \ 33477f656bSRafal Jaworowski i2c \ 34123689d3SYoshinobu Inoue ifmcstat \ 350451ac36SGary Palmer inetd \ 365c9036d5SDima Ruban iostat \ 379c6f9240SPeter Wemm kldxref \ 38cccce27aSPeter Wemm mailwrapper \ 39efc06131SSam Leffler makefs \ 40519b7eccSWarner Losh manctl \ 410adc9d60SMike Smith memcontrol \ 4224ff9bb5SBill Fumerola mergemaster \ 43763fae79SScott Long mfiutil \ 44c7805c63SDoug Rabson mixer \ 45f6f23e2cSMike Smith mlxcontrol \ 468f40768aSGordon Tetlow mountd \ 47d10a8d6cSRuslan Ermilov mount_portalfs \ 48fc58801cSScott Long mptutil \ 490451ac36SGary Palmer mtest \ 500451ac36SGary Palmer mtree \ 510451ac36SGary Palmer newsyslog \ 5203914b0bSRick Macklem nfscbd \ 538f40768aSGordon Tetlow nfsd \ 5403914b0bSRick Macklem nfsdumpstate \ 5503914b0bSRick Macklem nfsrevoke \ 5603914b0bSRick Macklem nfsuserd \ 575de697a6SColin Percival nologin \ 584bbc5bd8SWarner Losh pc-sysinstall \ 590451ac36SGary Palmer pciconf \ 600451ac36SGary Palmer periodic \ 61c3c5f9cdSNate Lawson powerd \ 620451ac36SGary Palmer procctl \ 630451ac36SGary Palmer pstat \ 640451ac36SGary Palmer pw \ 650451ac36SGary Palmer pwd_mkdb \ 660451ac36SGary Palmer quot \ 670451ac36SGary Palmer rarpd \ 680451ac36SGary Palmer rmt \ 698360efbdSAlfred Perlstein rpcbind \ 700451ac36SGary Palmer rpc.lockd \ 710451ac36SGary Palmer rpc.statd \ 72c69a34d4SMatthew Dillon rpc.umntall \ 735c9036d5SDima Ruban rtprio \ 743d482827SDoug Barton service \ 750b25da7eSHajimu UMEMOTO services_mkdb \ 76108e8dd9SJulian Elischer setfib \ 775b38a427SRobert Watson setfmac \ 785b38a427SRobert Watson setpmac \ 7980cdf39aSJoerg Wunsch smbmsg \ 808f61cf9cSMark Santcroos snapinfo \ 810451ac36SGary Palmer spray \ 820451ac36SGary Palmer syslogd \ 838d4b20e3SMark Murray tcpdchk \ 848d4b20e3SMark Murray tcpdmatch \ 85212a79b0SMaxim Konovalov tcpdrop \ 860acc1823SDavid E. O'Brien tcpdump \ 870451ac36SGary Palmer timed \ 880451ac36SGary Palmer traceroute \ 890451ac36SGary Palmer trpt \ 900451ac36SGary Palmer tzsetup \ 9134d26f04SRobert Watson ugidfw \ 920451ac36SGary Palmer vipw \ 9358c6a70aSMartin Blapp wake \ 940451ac36SGary Palmer watch \ 95370c3cb5SSean Kelly watchdogd \ 96519b7eccSWarner Losh zic 97d10a8d6cSRuslan Ermilov 98690f477dSSam Leffler# NB: keep these sorted by MK_* knobs 99690f477dSSam Leffler 100690f477dSSam Leffler.if ${MK_ACCT} != "no" 101519b7eccSWarner LoshSUBDIR+= accton 102519b7eccSWarner LoshSUBDIR+= sa 103690f477dSSam Leffler.endif 104690f477dSSam Leffler 105690f477dSSam Leffler.if ${MK_AMD} != "no" 106519b7eccSWarner LoshSUBDIR+= amd 107d10a8d6cSRuslan Ermilov.endif 1085021f740SPeter Wemm 109e1fe3dbaSRuslan Ermilov.if ${MK_AUDIT} != "no" 110519b7eccSWarner LoshSUBDIR+= audit 111519b7eccSWarner LoshSUBDIR+= auditd 112519b7eccSWarner LoshSUBDIR+= auditreduce 113519b7eccSWarner LoshSUBDIR+= praudit 1146470320fSRobert Watson.endif 1156470320fSRobert Watson 116690f477dSSam Leffler.if ${MK_AUTHPF} != "no" 117519b7eccSWarner LoshSUBDIR+= authpf 118690f477dSSam Leffler.endif 119690f477dSSam Leffler 120e1fe3dbaSRuslan Ermilov.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no" 121519b7eccSWarner LoshSUBDIR+= dnssec-dsfromkey 122519b7eccSWarner LoshSUBDIR+= dnssec-keyfromlabel 123519b7eccSWarner LoshSUBDIR+= dnssec-keygen 12425630ba7SDoug BartonSUBDIR+= dnssec-revoke 12525630ba7SDoug BartonSUBDIR+= dnssec-settime 126519b7eccSWarner LoshSUBDIR+= dnssec-signzone 12711d9d041SDag-Erling Smørgrav.endif 128e1fe3dbaSRuslan Ermilov.if ${MK_BIND_NAMED} != "no" 12925630ba7SDoug BartonSUBDIR+= arpaname 13025630ba7SDoug BartonSUBDIR+= ddns-confgen 13125630ba7SDoug BartonSUBDIR+= genrandom 13225630ba7SDoug BartonSUBDIR+= isc-hmac-fixup 133519b7eccSWarner LoshSUBDIR+= named 134519b7eccSWarner LoshSUBDIR+= named-checkconf 135519b7eccSWarner LoshSUBDIR+= named-checkzone 13625630ba7SDoug BartonSUBDIR+= named-journalprint 13725630ba7SDoug BartonSUBDIR+= nsec3hash 138519b7eccSWarner LoshSUBDIR+= rndc 139519b7eccSWarner LoshSUBDIR+= rndc-confgen 140d10a8d6cSRuslan Ermilov.endif 141d10a8d6cSRuslan Ermilov 142e1fe3dbaSRuslan Ermilov.if ${MK_BLUETOOTH} != "no" 143519b7eccSWarner LoshSUBDIR+= bluetooth 14423d1e148SMaksim Yevmenkin.endif 14523d1e148SMaksim Yevmenkin 146690f477dSSam Leffler.if ${MK_BSNMP} != "no" 147519b7eccSWarner LoshSUBDIR+= bsnmpd 148d10a8d6cSRuslan Ermilov.endif 149d10a8d6cSRuslan Ermilov 150690f477dSSam Leffler.if ${MK_CTM} != "no" 151519b7eccSWarner LoshSUBDIR+= ctm 152690f477dSSam Leffler.endif 153690f477dSSam Leffler 154690f477dSSam Leffler.if ${MK_FLOPPY} != "no" 155519b7eccSWarner LoshSUBDIR+= fdcontrol 156519b7eccSWarner LoshSUBDIR+= fdformat 157519b7eccSWarner LoshSUBDIR+= fdread 158519b7eccSWarner LoshSUBDIR+= fdwrite 159690f477dSSam Leffler.endif 160690f477dSSam Leffler 161690f477dSSam Leffler.if ${MK_FREEBSD_UPDATE} != "no" 162519b7eccSWarner LoshSUBDIR+= freebsd-update 16360ee3847SMax Laier.endif 16460ee3847SMax Laier 1655241f8b7SUlrich Spörlein.if ${MK_GSSAPI} != "no" 166519b7eccSWarner LoshSUBDIR+= gssd 167a9148abdSDoug Rabson.endif 168a9148abdSDoug Rabson 169eef93d2fSOleksandr Tymoshenko.if ${MK_GPIO} != "no" 170eef93d2fSOleksandr TymoshenkoSUBDIR+= gpioctl 171eef93d2fSOleksandr Tymoshenko.endif 172eef93d2fSOleksandr Tymoshenko 173e1fe3dbaSRuslan Ermilov.if ${MK_INET6} != "no" 174519b7eccSWarner LoshSUBDIR+= faithd 175519b7eccSWarner LoshSUBDIR+= ip6addrctl 176519b7eccSWarner LoshSUBDIR+= mld6query 177519b7eccSWarner LoshSUBDIR+= ndp 178519b7eccSWarner LoshSUBDIR+= rip6query 179519b7eccSWarner LoshSUBDIR+= route6d 180519b7eccSWarner LoshSUBDIR+= rrenumd 18137241896SHiroki SatoSUBDIR+= rtadvctl 182519b7eccSWarner LoshSUBDIR+= rtadvd 183519b7eccSWarner LoshSUBDIR+= rtsold 184519b7eccSWarner LoshSUBDIR+= traceroute6 185d10a8d6cSRuslan Ermilov.endif 186d10a8d6cSRuslan Ermilov 187690f477dSSam Leffler.if ${MK_IPFW} != "no" 188519b7eccSWarner LoshSUBDIR+= ipfwpcap 189690f477dSSam Leffler.endif 190690f477dSSam Leffler 191cea557adSRuslan Ermilov.if ${MK_IPX} != "no" 192519b7eccSWarner LoshSUBDIR+= IPXrouted 193cea557adSRuslan Ermilov.endif 194cea557adSRuslan Ermilov 195690f477dSSam Leffler.if ${MK_JAIL} != "no" 196519b7eccSWarner LoshSUBDIR+= jail 197519b7eccSWarner LoshSUBDIR+= jexec 198519b7eccSWarner LoshSUBDIR+= jls 199690f477dSSam Leffler.endif 200690f477dSSam Leffler 201690f477dSSam Leffler# XXX MK_SYSCONS 202690f477dSSam Leffler.if ${MK_LEGACY_CONSOLE} != "no" 203519b7eccSWarner LoshSUBDIR+= kbdcontrol 204519b7eccSWarner LoshSUBDIR+= kbdmap 205519b7eccSWarner LoshSUBDIR+= moused 206519b7eccSWarner LoshSUBDIR+= vidcontrol 207690f477dSSam Leffler.endif 208690f477dSSam Leffler 2091272ddb2SBjoern A. Zeeb.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no" 210690f477dSSam Leffler.if ${MK_PPP} != "no" 211519b7eccSWarner LoshSUBDIR+= pppctl 212690f477dSSam Leffler.endif 213690f477dSSam Leffler.if ${MK_NS_CACHING} != "no" 214519b7eccSWarner LoshSUBDIR+= nscd 215690f477dSSam Leffler.endif 216690f477dSSam Leffler.endif 217690f477dSSam Leffler 218690f477dSSam Leffler.if ${MK_LPR} != "no" 219519b7eccSWarner LoshSUBDIR+= lpr 220690f477dSSam Leffler.endif 221690f477dSSam Leffler 22207e547feSJung-uk Kim.if ${MK_MAN_UTILS} != "no" 223519b7eccSWarner LoshSUBDIR+= manctl 22407e547feSJung-uk Kim.endif 22507e547feSJung-uk Kim 2267f725bcdSGrzegorz Bernacki.if ${MK_NAND} != "no" 2277f725bcdSGrzegorz BernackiSUBDIR+= nandsim 2287f725bcdSGrzegorz BernackiSUBDIR+= nandtool 2297f725bcdSGrzegorz Bernacki.endif 2307f725bcdSGrzegorz Bernacki 231690f477dSSam Leffler.if ${MK_NETGRAPH} != "no" 232519b7eccSWarner LoshSUBDIR+= flowctl 233519b7eccSWarner LoshSUBDIR+= lmcconfig 234519b7eccSWarner LoshSUBDIR+= ngctl 235519b7eccSWarner LoshSUBDIR+= nghook 236690f477dSSam Leffler.endif 237690f477dSSam Leffler 238e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no" 239519b7eccSWarner LoshSUBDIR+= rpc.yppasswdd 240519b7eccSWarner LoshSUBDIR+= rpc.ypupdated 241519b7eccSWarner LoshSUBDIR+= rpc.ypxfrd 242519b7eccSWarner LoshSUBDIR+= ypbind 243519b7eccSWarner LoshSUBDIR+= yp_mkdb 244519b7eccSWarner LoshSUBDIR+= yppoll 245519b7eccSWarner LoshSUBDIR+= yppush 246519b7eccSWarner LoshSUBDIR+= ypserv 247519b7eccSWarner LoshSUBDIR+= ypset 2486c58990dSBjoern A. Zeeb.endif 2496c58990dSBjoern A. Zeeb 250690f477dSSam Leffler.if ${MK_NTP} != "no" 251519b7eccSWarner LoshSUBDIR+= ntp 2528d69c48bSMax Laier.endif 2538d69c48bSMax Laier 254690f477dSSam Leffler.if ${MK_OPENSSL} != "no" 255519b7eccSWarner LoshSUBDIR+= keyserv 256152f2a4aSRuslan Ermilov.endif 257152f2a4aSRuslan Ermilov 258690f477dSSam Leffler.if ${MK_PF} != "no" 259519b7eccSWarner LoshSUBDIR+= ftp-proxy 2608c0e8d96STim Vanderhoek.endif 2618c0e8d96STim Vanderhoek 262*2f3a9ba5SBaptiste Daroussin.if ${PK_PKGBOOTSTRAP} != "no" 263*2f3a9ba5SBaptiste DaroussinSUBDIR+= pkg 264*2f3a9ba5SBaptiste Daroussin.endif 265*2f3a9ba5SBaptiste Daroussin 266690f477dSSam Leffler.if ${MK_PKGTOOLS} != "no" 267519b7eccSWarner LoshSUBDIR+= pkg_install 2688af480aeSRuslan Ermilov.endif 269690f477dSSam Leffler 270690f477dSSam Leffler# XXX MK_TOOLCHAIN? 271690f477dSSam Leffler.if ${MK_PMC} != "no" 272519b7eccSWarner LoshSUBDIR+= pmcannotate 273519b7eccSWarner LoshSUBDIR+= pmccontrol 274519b7eccSWarner LoshSUBDIR+= pmcstat 275690f477dSSam Leffler.endif 276690f477dSSam Leffler 277690f477dSSam Leffler.if ${MK_PORTSNAP} != "no" 278519b7eccSWarner LoshSUBDIR+= portsnap 279690f477dSSam Leffler.endif 280690f477dSSam Leffler 281690f477dSSam Leffler.if ${MK_PPP} != "no" 282519b7eccSWarner LoshSUBDIR+= ppp 283690f477dSSam Leffler.endif 284690f477dSSam Leffler 285690f477dSSam Leffler.if ${MK_QUOTAS} != "no" 286519b7eccSWarner LoshSUBDIR+= edquota 287519b7eccSWarner LoshSUBDIR+= quotaon 288519b7eccSWarner LoshSUBDIR+= repquota 289690f477dSSam Leffler.endif 290690f477dSSam Leffler 291690f477dSSam Leffler.if ${MK_RCMDS} != "no" 292519b7eccSWarner LoshSUBDIR+= rwhod 2938af480aeSRuslan Ermilov.endif 2948af480aeSRuslan Ermilov 295e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no" 296519b7eccSWarner LoshSUBDIR+= editmap 297519b7eccSWarner LoshSUBDIR+= mailstats 298519b7eccSWarner LoshSUBDIR+= makemap 299519b7eccSWarner LoshSUBDIR+= praliases 300519b7eccSWarner LoshSUBDIR+= sendmail 3015a85f025SPoul-Henning Kamp.endif 3025a85f025SPoul-Henning Kamp 303690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no" 304519b7eccSWarner LoshSUBDIR+= config 305519b7eccSWarner LoshSUBDIR+= crunch 306690f477dSSam Leffler.endif 307690f477dSSam Leffler 308e1fe3dbaSRuslan Ermilov.if ${MK_USB} != "no" 3098d8bfa7fSAntoine BrodinSUBDIR+= uathload 310519b7eccSWarner LoshSUBDIR+= uhsoctl 311519b7eccSWarner LoshSUBDIR+= usbconfig 3129e7abe05SHans Petter SelaskySUBDIR+= usbdump 3132b51223fSStefan Eßer.endif 3142b51223fSStefan Eßer 3159f0c9022SEd Schouten.if ${MK_UTMPX} != "no" 3169f0c9022SEd SchoutenSUBDIR+= ac 3179f0c9022SEd SchoutenSUBDIR+= lastlogin 31871d8432fSEd SchoutenSUBDIR+= utx 3199f0c9022SEd Schouten.endif 3209f0c9022SEd Schouten 321690f477dSSam Leffler.if ${MK_WIRELESS} != "no" 322519b7eccSWarner LoshSUBDIR+= ancontrol 323519b7eccSWarner LoshSUBDIR+= wlandebug 324519b7eccSWarner LoshSUBDIR+= wpa 325690f477dSSam Leffler.endif 326690f477dSSam Leffler 327519b7eccSWarner Losh.include <bsd.arch.inc.mk> 32857628e38SOlivier Houchard 329519b7eccSWarner LoshSUBDIR:= ${SUBDIR:O} 330a8ec1b48SMaxim Sobolev 331dea673e9SRodney W. Grimes.include <bsd.subdir.mk> 332