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 \ 266f9cd2a9SJohn Baldwin etcupdate \ 27caefa400SPoul-Henning Kamp extattr \ 289754f5b6SRobert Watson extattrctl \ 297825a6bdSPoul-Henning Kamp fifolog \ 30a7a73b95SHidetoshi Shimokawa fwcontrol \ 315b38a427SRobert Watson getfmac \ 325b38a427SRobert Watson getpmac \ 3354a8adabSPoul-Henning Kamp gstat \ 34477f656bSRafal Jaworowski i2c \ 35123689d3SYoshinobu Inoue ifmcstat \ 360451ac36SGary Palmer inetd \ 375c9036d5SDima Ruban iostat \ 38087d3173SBrooks Davis isfctl \ 399c6f9240SPeter Wemm kldxref \ 40cccce27aSPeter Wemm mailwrapper \ 41efc06131SSam Leffler makefs \ 42519b7eccSWarner Losh manctl \ 430adc9d60SMike Smith memcontrol \ 4424ff9bb5SBill Fumerola mergemaster \ 45763fae79SScott Long mfiutil \ 46c7805c63SDoug Rabson mixer \ 47f6f23e2cSMike Smith mlxcontrol \ 488f40768aSGordon Tetlow mountd \ 49d10a8d6cSRuslan Ermilov mount_portalfs \ 50fc58801cSScott Long mptutil \ 510451ac36SGary Palmer mtest \ 520451ac36SGary Palmer mtree \ 530451ac36SGary Palmer newsyslog \ 5403914b0bSRick Macklem nfscbd \ 558f40768aSGordon Tetlow nfsd \ 5603914b0bSRick Macklem nfsdumpstate \ 5703914b0bSRick Macklem nfsrevoke \ 5803914b0bSRick Macklem nfsuserd \ 595de697a6SColin Percival nologin \ 604bbc5bd8SWarner Losh pc-sysinstall \ 610451ac36SGary Palmer pciconf \ 620451ac36SGary Palmer periodic \ 63c3c5f9cdSNate Lawson powerd \ 640451ac36SGary Palmer procctl \ 650451ac36SGary Palmer pstat \ 660451ac36SGary Palmer pw \ 670451ac36SGary Palmer pwd_mkdb \ 680451ac36SGary Palmer quot \ 690451ac36SGary Palmer rarpd \ 700451ac36SGary Palmer rmt \ 718360efbdSAlfred Perlstein rpcbind \ 720451ac36SGary Palmer rpc.lockd \ 730451ac36SGary Palmer rpc.statd \ 74c69a34d4SMatthew Dillon rpc.umntall \ 755c9036d5SDima Ruban rtprio \ 763d482827SDoug Barton service \ 770b25da7eSHajimu UMEMOTO services_mkdb \ 78108e8dd9SJulian Elischer setfib \ 795b38a427SRobert Watson setfmac \ 805b38a427SRobert Watson setpmac \ 8180cdf39aSJoerg Wunsch smbmsg \ 828f61cf9cSMark Santcroos snapinfo \ 830451ac36SGary Palmer spray \ 840451ac36SGary Palmer syslogd \ 858d4b20e3SMark Murray tcpdchk \ 868d4b20e3SMark Murray tcpdmatch \ 87212a79b0SMaxim Konovalov tcpdrop \ 880acc1823SDavid E. O'Brien tcpdump \ 890451ac36SGary Palmer timed \ 900451ac36SGary Palmer traceroute \ 910451ac36SGary Palmer trpt \ 920451ac36SGary Palmer tzsetup \ 9334d26f04SRobert Watson ugidfw \ 940451ac36SGary Palmer vipw \ 9558c6a70aSMartin Blapp wake \ 960451ac36SGary Palmer watch \ 97370c3cb5SSean Kelly watchdogd \ 98519b7eccSWarner Losh zic 99d10a8d6cSRuslan Ermilov 100690f477dSSam Leffler# NB: keep these sorted by MK_* knobs 101690f477dSSam Leffler 102690f477dSSam Leffler.if ${MK_ACCT} != "no" 103519b7eccSWarner LoshSUBDIR+= accton 104519b7eccSWarner LoshSUBDIR+= sa 105690f477dSSam Leffler.endif 106690f477dSSam Leffler 107690f477dSSam Leffler.if ${MK_AMD} != "no" 108519b7eccSWarner LoshSUBDIR+= amd 109d10a8d6cSRuslan Ermilov.endif 1105021f740SPeter Wemm 111e1fe3dbaSRuslan Ermilov.if ${MK_AUDIT} != "no" 112519b7eccSWarner LoshSUBDIR+= audit 113519b7eccSWarner LoshSUBDIR+= auditd 114519b7eccSWarner LoshSUBDIR+= auditreduce 115519b7eccSWarner LoshSUBDIR+= praudit 1166470320fSRobert Watson.endif 1176470320fSRobert Watson 118690f477dSSam Leffler.if ${MK_AUTHPF} != "no" 119519b7eccSWarner LoshSUBDIR+= authpf 120690f477dSSam Leffler.endif 121690f477dSSam Leffler 122e1fe3dbaSRuslan Ermilov.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no" 123519b7eccSWarner LoshSUBDIR+= dnssec-dsfromkey 124519b7eccSWarner LoshSUBDIR+= dnssec-keyfromlabel 125519b7eccSWarner LoshSUBDIR+= dnssec-keygen 12625630ba7SDoug BartonSUBDIR+= dnssec-revoke 12725630ba7SDoug BartonSUBDIR+= dnssec-settime 128519b7eccSWarner LoshSUBDIR+= dnssec-signzone 12911d9d041SDag-Erling Smørgrav.endif 130e1fe3dbaSRuslan Ermilov.if ${MK_BIND_NAMED} != "no" 13125630ba7SDoug BartonSUBDIR+= arpaname 13225630ba7SDoug BartonSUBDIR+= ddns-confgen 13325630ba7SDoug BartonSUBDIR+= genrandom 13425630ba7SDoug BartonSUBDIR+= isc-hmac-fixup 135519b7eccSWarner LoshSUBDIR+= named 136519b7eccSWarner LoshSUBDIR+= named-checkconf 137519b7eccSWarner LoshSUBDIR+= named-checkzone 13825630ba7SDoug BartonSUBDIR+= named-journalprint 13925630ba7SDoug BartonSUBDIR+= nsec3hash 140519b7eccSWarner LoshSUBDIR+= rndc 141519b7eccSWarner LoshSUBDIR+= rndc-confgen 142d10a8d6cSRuslan Ermilov.endif 143d10a8d6cSRuslan Ermilov 144e1fe3dbaSRuslan Ermilov.if ${MK_BLUETOOTH} != "no" 145519b7eccSWarner LoshSUBDIR+= bluetooth 14623d1e148SMaksim Yevmenkin.endif 14723d1e148SMaksim Yevmenkin 148641a6cfbSDevin Teske.if ${MK_BSDCONFIG} != "no" 149641a6cfbSDevin TeskeSUBDIR+= bsdconfig 150*2a357efaSDevin TeskeSUBDIR+= sysrc 151641a6cfbSDevin Teske.endif 152641a6cfbSDevin Teske 153690f477dSSam Leffler.if ${MK_BSNMP} != "no" 154519b7eccSWarner LoshSUBDIR+= bsnmpd 155d10a8d6cSRuslan Ermilov.endif 156d10a8d6cSRuslan Ermilov 157690f477dSSam Leffler.if ${MK_CTM} != "no" 158519b7eccSWarner LoshSUBDIR+= ctm 159690f477dSSam Leffler.endif 160690f477dSSam Leffler 161690f477dSSam Leffler.if ${MK_FLOPPY} != "no" 162519b7eccSWarner LoshSUBDIR+= fdcontrol 163519b7eccSWarner LoshSUBDIR+= fdformat 164519b7eccSWarner LoshSUBDIR+= fdread 165519b7eccSWarner LoshSUBDIR+= fdwrite 166690f477dSSam Leffler.endif 167690f477dSSam Leffler 168690f477dSSam Leffler.if ${MK_FREEBSD_UPDATE} != "no" 169519b7eccSWarner LoshSUBDIR+= freebsd-update 17060ee3847SMax Laier.endif 17160ee3847SMax Laier 1725241f8b7SUlrich Spörlein.if ${MK_GSSAPI} != "no" 173519b7eccSWarner LoshSUBDIR+= gssd 174a9148abdSDoug Rabson.endif 175a9148abdSDoug Rabson 176eef93d2fSOleksandr Tymoshenko.if ${MK_GPIO} != "no" 177eef93d2fSOleksandr TymoshenkoSUBDIR+= gpioctl 178eef93d2fSOleksandr Tymoshenko.endif 179eef93d2fSOleksandr Tymoshenko 180e1fe3dbaSRuslan Ermilov.if ${MK_INET6} != "no" 181519b7eccSWarner LoshSUBDIR+= faithd 182519b7eccSWarner LoshSUBDIR+= ip6addrctl 183519b7eccSWarner LoshSUBDIR+= mld6query 184519b7eccSWarner LoshSUBDIR+= ndp 185519b7eccSWarner LoshSUBDIR+= rip6query 186519b7eccSWarner LoshSUBDIR+= route6d 187519b7eccSWarner LoshSUBDIR+= rrenumd 18837241896SHiroki SatoSUBDIR+= rtadvctl 189519b7eccSWarner LoshSUBDIR+= rtadvd 190519b7eccSWarner LoshSUBDIR+= rtsold 191519b7eccSWarner LoshSUBDIR+= traceroute6 192d10a8d6cSRuslan Ermilov.endif 193d10a8d6cSRuslan Ermilov 194690f477dSSam Leffler.if ${MK_IPFW} != "no" 195519b7eccSWarner LoshSUBDIR+= ipfwpcap 196690f477dSSam Leffler.endif 197690f477dSSam Leffler 198cea557adSRuslan Ermilov.if ${MK_IPX} != "no" 199519b7eccSWarner LoshSUBDIR+= IPXrouted 200cea557adSRuslan Ermilov.endif 201cea557adSRuslan Ermilov 202690f477dSSam Leffler.if ${MK_JAIL} != "no" 203519b7eccSWarner LoshSUBDIR+= jail 204519b7eccSWarner LoshSUBDIR+= jexec 205519b7eccSWarner LoshSUBDIR+= jls 206690f477dSSam Leffler.endif 207690f477dSSam Leffler 208690f477dSSam Leffler# XXX MK_SYSCONS 209690f477dSSam Leffler.if ${MK_LEGACY_CONSOLE} != "no" 210519b7eccSWarner LoshSUBDIR+= kbdcontrol 211519b7eccSWarner LoshSUBDIR+= kbdmap 212519b7eccSWarner LoshSUBDIR+= moused 213519b7eccSWarner LoshSUBDIR+= vidcontrol 214690f477dSSam Leffler.endif 215690f477dSSam Leffler 2161272ddb2SBjoern A. Zeeb.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no" 217690f477dSSam Leffler.if ${MK_PPP} != "no" 218519b7eccSWarner LoshSUBDIR+= pppctl 219690f477dSSam Leffler.endif 220690f477dSSam Leffler.if ${MK_NS_CACHING} != "no" 221519b7eccSWarner LoshSUBDIR+= nscd 222690f477dSSam Leffler.endif 223690f477dSSam Leffler.endif 224690f477dSSam Leffler 225690f477dSSam Leffler.if ${MK_LPR} != "no" 226519b7eccSWarner LoshSUBDIR+= lpr 227690f477dSSam Leffler.endif 228690f477dSSam Leffler 22907e547feSJung-uk Kim.if ${MK_MAN_UTILS} != "no" 230519b7eccSWarner LoshSUBDIR+= manctl 23107e547feSJung-uk Kim.endif 23207e547feSJung-uk Kim 2337f725bcdSGrzegorz Bernacki.if ${MK_NAND} != "no" 2347f725bcdSGrzegorz BernackiSUBDIR+= nandsim 2357f725bcdSGrzegorz BernackiSUBDIR+= nandtool 2367f725bcdSGrzegorz Bernacki.endif 2377f725bcdSGrzegorz Bernacki 238690f477dSSam Leffler.if ${MK_NETGRAPH} != "no" 239519b7eccSWarner LoshSUBDIR+= flowctl 240519b7eccSWarner LoshSUBDIR+= lmcconfig 241519b7eccSWarner LoshSUBDIR+= ngctl 242519b7eccSWarner LoshSUBDIR+= nghook 243690f477dSSam Leffler.endif 244690f477dSSam Leffler 245e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no" 246519b7eccSWarner LoshSUBDIR+= rpc.yppasswdd 247519b7eccSWarner LoshSUBDIR+= rpc.ypupdated 248519b7eccSWarner LoshSUBDIR+= rpc.ypxfrd 249519b7eccSWarner LoshSUBDIR+= ypbind 250519b7eccSWarner LoshSUBDIR+= yp_mkdb 251519b7eccSWarner LoshSUBDIR+= yppoll 252519b7eccSWarner LoshSUBDIR+= yppush 253519b7eccSWarner LoshSUBDIR+= ypserv 254519b7eccSWarner LoshSUBDIR+= ypset 2556c58990dSBjoern A. Zeeb.endif 2566c58990dSBjoern A. Zeeb 257690f477dSSam Leffler.if ${MK_NTP} != "no" 258519b7eccSWarner LoshSUBDIR+= ntp 2598d69c48bSMax Laier.endif 2608d69c48bSMax Laier 261690f477dSSam Leffler.if ${MK_OPENSSL} != "no" 262519b7eccSWarner LoshSUBDIR+= keyserv 263152f2a4aSRuslan Ermilov.endif 264152f2a4aSRuslan Ermilov 265690f477dSSam Leffler.if ${MK_PF} != "no" 266519b7eccSWarner LoshSUBDIR+= ftp-proxy 2678c0e8d96STim Vanderhoek.endif 2688c0e8d96STim Vanderhoek 269f2ed2848SGleb Smirnoff.if ${MK_PKGBOOTSTRAP} != "no" 2702f3a9ba5SBaptiste DaroussinSUBDIR+= pkg 2712f3a9ba5SBaptiste Daroussin.endif 2722f3a9ba5SBaptiste Daroussin 273690f477dSSam Leffler.if ${MK_PKGTOOLS} != "no" 274519b7eccSWarner LoshSUBDIR+= pkg_install 2758af480aeSRuslan Ermilov.endif 276690f477dSSam Leffler 277690f477dSSam Leffler# XXX MK_TOOLCHAIN? 278690f477dSSam Leffler.if ${MK_PMC} != "no" 279519b7eccSWarner LoshSUBDIR+= pmcannotate 280519b7eccSWarner LoshSUBDIR+= pmccontrol 281519b7eccSWarner LoshSUBDIR+= pmcstat 282690f477dSSam Leffler.endif 283690f477dSSam Leffler 284690f477dSSam Leffler.if ${MK_PORTSNAP} != "no" 285519b7eccSWarner LoshSUBDIR+= portsnap 286690f477dSSam Leffler.endif 287690f477dSSam Leffler 288690f477dSSam Leffler.if ${MK_PPP} != "no" 289519b7eccSWarner LoshSUBDIR+= ppp 290690f477dSSam Leffler.endif 291690f477dSSam Leffler 292690f477dSSam Leffler.if ${MK_QUOTAS} != "no" 293519b7eccSWarner LoshSUBDIR+= edquota 294519b7eccSWarner LoshSUBDIR+= quotaon 295519b7eccSWarner LoshSUBDIR+= repquota 296690f477dSSam Leffler.endif 297690f477dSSam Leffler 298690f477dSSam Leffler.if ${MK_RCMDS} != "no" 299519b7eccSWarner LoshSUBDIR+= rwhod 3008af480aeSRuslan Ermilov.endif 3018af480aeSRuslan Ermilov 302e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no" 303519b7eccSWarner LoshSUBDIR+= editmap 304519b7eccSWarner LoshSUBDIR+= mailstats 305519b7eccSWarner LoshSUBDIR+= makemap 306519b7eccSWarner LoshSUBDIR+= praliases 307519b7eccSWarner LoshSUBDIR+= sendmail 3085a85f025SPoul-Henning Kamp.endif 3095a85f025SPoul-Henning Kamp 310690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no" 311519b7eccSWarner LoshSUBDIR+= config 312519b7eccSWarner LoshSUBDIR+= crunch 313690f477dSSam Leffler.endif 314690f477dSSam Leffler 315e1fe3dbaSRuslan Ermilov.if ${MK_USB} != "no" 3168d8bfa7fSAntoine BrodinSUBDIR+= uathload 317519b7eccSWarner LoshSUBDIR+= uhsoctl 318519b7eccSWarner LoshSUBDIR+= usbconfig 3199e7abe05SHans Petter SelaskySUBDIR+= usbdump 3202b51223fSStefan Eßer.endif 3212b51223fSStefan Eßer 3229f0c9022SEd Schouten.if ${MK_UTMPX} != "no" 3239f0c9022SEd SchoutenSUBDIR+= ac 3249f0c9022SEd SchoutenSUBDIR+= lastlogin 32571d8432fSEd SchoutenSUBDIR+= utx 3269f0c9022SEd Schouten.endif 3279f0c9022SEd Schouten 328690f477dSSam Leffler.if ${MK_WIRELESS} != "no" 329519b7eccSWarner LoshSUBDIR+= ancontrol 330519b7eccSWarner LoshSUBDIR+= wlandebug 331519b7eccSWarner LoshSUBDIR+= wpa 332690f477dSSam Leffler.endif 333690f477dSSam Leffler 334519b7eccSWarner Losh.include <bsd.arch.inc.mk> 33557628e38SOlivier Houchard 336519b7eccSWarner LoshSUBDIR:= ${SUBDIR:O} 337a8ec1b48SMaxim Sobolev 338dea673e9SRodney W. Grimes.include <bsd.subdir.mk> 339