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 \ 26*6f9cd2a9SJohn 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 \ 389c6f9240SPeter Wemm kldxref \ 39cccce27aSPeter Wemm mailwrapper \ 40efc06131SSam Leffler makefs \ 41519b7eccSWarner Losh manctl \ 420adc9d60SMike Smith memcontrol \ 4324ff9bb5SBill Fumerola mergemaster \ 44763fae79SScott Long mfiutil \ 45c7805c63SDoug Rabson mixer \ 46f6f23e2cSMike Smith mlxcontrol \ 478f40768aSGordon Tetlow mountd \ 48d10a8d6cSRuslan Ermilov mount_portalfs \ 49fc58801cSScott Long mptutil \ 500451ac36SGary Palmer mtest \ 510451ac36SGary Palmer mtree \ 520451ac36SGary Palmer newsyslog \ 5303914b0bSRick Macklem nfscbd \ 548f40768aSGordon Tetlow nfsd \ 5503914b0bSRick Macklem nfsdumpstate \ 5603914b0bSRick Macklem nfsrevoke \ 5703914b0bSRick Macklem nfsuserd \ 585de697a6SColin Percival nologin \ 594bbc5bd8SWarner Losh pc-sysinstall \ 600451ac36SGary Palmer pciconf \ 610451ac36SGary Palmer periodic \ 62c3c5f9cdSNate Lawson powerd \ 630451ac36SGary Palmer procctl \ 640451ac36SGary Palmer pstat \ 650451ac36SGary Palmer pw \ 660451ac36SGary Palmer pwd_mkdb \ 670451ac36SGary Palmer quot \ 680451ac36SGary Palmer rarpd \ 690451ac36SGary Palmer rmt \ 708360efbdSAlfred Perlstein rpcbind \ 710451ac36SGary Palmer rpc.lockd \ 720451ac36SGary Palmer rpc.statd \ 73c69a34d4SMatthew Dillon rpc.umntall \ 745c9036d5SDima Ruban rtprio \ 753d482827SDoug Barton service \ 760b25da7eSHajimu UMEMOTO services_mkdb \ 77108e8dd9SJulian Elischer setfib \ 785b38a427SRobert Watson setfmac \ 795b38a427SRobert Watson setpmac \ 8080cdf39aSJoerg Wunsch smbmsg \ 818f61cf9cSMark Santcroos snapinfo \ 820451ac36SGary Palmer spray \ 830451ac36SGary Palmer syslogd \ 848d4b20e3SMark Murray tcpdchk \ 858d4b20e3SMark Murray tcpdmatch \ 86212a79b0SMaxim Konovalov tcpdrop \ 870acc1823SDavid E. O'Brien tcpdump \ 880451ac36SGary Palmer timed \ 890451ac36SGary Palmer traceroute \ 900451ac36SGary Palmer trpt \ 910451ac36SGary Palmer tzsetup \ 9234d26f04SRobert Watson ugidfw \ 930451ac36SGary Palmer vipw \ 9458c6a70aSMartin Blapp wake \ 950451ac36SGary Palmer watch \ 96370c3cb5SSean Kelly watchdogd \ 97519b7eccSWarner Losh zic 98d10a8d6cSRuslan Ermilov 99690f477dSSam Leffler# NB: keep these sorted by MK_* knobs 100690f477dSSam Leffler 101690f477dSSam Leffler.if ${MK_ACCT} != "no" 102519b7eccSWarner LoshSUBDIR+= accton 103519b7eccSWarner LoshSUBDIR+= sa 104690f477dSSam Leffler.endif 105690f477dSSam Leffler 106690f477dSSam Leffler.if ${MK_AMD} != "no" 107519b7eccSWarner LoshSUBDIR+= amd 108d10a8d6cSRuslan Ermilov.endif 1095021f740SPeter Wemm 110e1fe3dbaSRuslan Ermilov.if ${MK_AUDIT} != "no" 111519b7eccSWarner LoshSUBDIR+= audit 112519b7eccSWarner LoshSUBDIR+= auditd 113519b7eccSWarner LoshSUBDIR+= auditreduce 114519b7eccSWarner LoshSUBDIR+= praudit 1156470320fSRobert Watson.endif 1166470320fSRobert Watson 117690f477dSSam Leffler.if ${MK_AUTHPF} != "no" 118519b7eccSWarner LoshSUBDIR+= authpf 119690f477dSSam Leffler.endif 120690f477dSSam Leffler 121e1fe3dbaSRuslan Ermilov.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no" 122519b7eccSWarner LoshSUBDIR+= dnssec-dsfromkey 123519b7eccSWarner LoshSUBDIR+= dnssec-keyfromlabel 124519b7eccSWarner LoshSUBDIR+= dnssec-keygen 12525630ba7SDoug BartonSUBDIR+= dnssec-revoke 12625630ba7SDoug BartonSUBDIR+= dnssec-settime 127519b7eccSWarner LoshSUBDIR+= dnssec-signzone 12811d9d041SDag-Erling Smørgrav.endif 129e1fe3dbaSRuslan Ermilov.if ${MK_BIND_NAMED} != "no" 13025630ba7SDoug BartonSUBDIR+= arpaname 13125630ba7SDoug BartonSUBDIR+= ddns-confgen 13225630ba7SDoug BartonSUBDIR+= genrandom 13325630ba7SDoug BartonSUBDIR+= isc-hmac-fixup 134519b7eccSWarner LoshSUBDIR+= named 135519b7eccSWarner LoshSUBDIR+= named-checkconf 136519b7eccSWarner LoshSUBDIR+= named-checkzone 13725630ba7SDoug BartonSUBDIR+= named-journalprint 13825630ba7SDoug BartonSUBDIR+= nsec3hash 139519b7eccSWarner LoshSUBDIR+= rndc 140519b7eccSWarner LoshSUBDIR+= rndc-confgen 141d10a8d6cSRuslan Ermilov.endif 142d10a8d6cSRuslan Ermilov 143e1fe3dbaSRuslan Ermilov.if ${MK_BLUETOOTH} != "no" 144519b7eccSWarner LoshSUBDIR+= bluetooth 14523d1e148SMaksim Yevmenkin.endif 14623d1e148SMaksim Yevmenkin 147690f477dSSam Leffler.if ${MK_BSNMP} != "no" 148519b7eccSWarner LoshSUBDIR+= bsnmpd 149d10a8d6cSRuslan Ermilov.endif 150d10a8d6cSRuslan Ermilov 151690f477dSSam Leffler.if ${MK_CTM} != "no" 152519b7eccSWarner LoshSUBDIR+= ctm 153690f477dSSam Leffler.endif 154690f477dSSam Leffler 155690f477dSSam Leffler.if ${MK_FLOPPY} != "no" 156519b7eccSWarner LoshSUBDIR+= fdcontrol 157519b7eccSWarner LoshSUBDIR+= fdformat 158519b7eccSWarner LoshSUBDIR+= fdread 159519b7eccSWarner LoshSUBDIR+= fdwrite 160690f477dSSam Leffler.endif 161690f477dSSam Leffler 162690f477dSSam Leffler.if ${MK_FREEBSD_UPDATE} != "no" 163519b7eccSWarner LoshSUBDIR+= freebsd-update 16460ee3847SMax Laier.endif 16560ee3847SMax Laier 1665241f8b7SUlrich Spörlein.if ${MK_GSSAPI} != "no" 167519b7eccSWarner LoshSUBDIR+= gssd 168a9148abdSDoug Rabson.endif 169a9148abdSDoug Rabson 170eef93d2fSOleksandr Tymoshenko.if ${MK_GPIO} != "no" 171eef93d2fSOleksandr TymoshenkoSUBDIR+= gpioctl 172eef93d2fSOleksandr Tymoshenko.endif 173eef93d2fSOleksandr Tymoshenko 174e1fe3dbaSRuslan Ermilov.if ${MK_INET6} != "no" 175519b7eccSWarner LoshSUBDIR+= faithd 176519b7eccSWarner LoshSUBDIR+= ip6addrctl 177519b7eccSWarner LoshSUBDIR+= mld6query 178519b7eccSWarner LoshSUBDIR+= ndp 179519b7eccSWarner LoshSUBDIR+= rip6query 180519b7eccSWarner LoshSUBDIR+= route6d 181519b7eccSWarner LoshSUBDIR+= rrenumd 18237241896SHiroki SatoSUBDIR+= rtadvctl 183519b7eccSWarner LoshSUBDIR+= rtadvd 184519b7eccSWarner LoshSUBDIR+= rtsold 185519b7eccSWarner LoshSUBDIR+= traceroute6 186d10a8d6cSRuslan Ermilov.endif 187d10a8d6cSRuslan Ermilov 188690f477dSSam Leffler.if ${MK_IPFW} != "no" 189519b7eccSWarner LoshSUBDIR+= ipfwpcap 190690f477dSSam Leffler.endif 191690f477dSSam Leffler 192cea557adSRuslan Ermilov.if ${MK_IPX} != "no" 193519b7eccSWarner LoshSUBDIR+= IPXrouted 194cea557adSRuslan Ermilov.endif 195cea557adSRuslan Ermilov 196690f477dSSam Leffler.if ${MK_JAIL} != "no" 197519b7eccSWarner LoshSUBDIR+= jail 198519b7eccSWarner LoshSUBDIR+= jexec 199519b7eccSWarner LoshSUBDIR+= jls 200690f477dSSam Leffler.endif 201690f477dSSam Leffler 202690f477dSSam Leffler# XXX MK_SYSCONS 203690f477dSSam Leffler.if ${MK_LEGACY_CONSOLE} != "no" 204519b7eccSWarner LoshSUBDIR+= kbdcontrol 205519b7eccSWarner LoshSUBDIR+= kbdmap 206519b7eccSWarner LoshSUBDIR+= moused 207519b7eccSWarner LoshSUBDIR+= vidcontrol 208690f477dSSam Leffler.endif 209690f477dSSam Leffler 2101272ddb2SBjoern A. Zeeb.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no" 211690f477dSSam Leffler.if ${MK_PPP} != "no" 212519b7eccSWarner LoshSUBDIR+= pppctl 213690f477dSSam Leffler.endif 214690f477dSSam Leffler.if ${MK_NS_CACHING} != "no" 215519b7eccSWarner LoshSUBDIR+= nscd 216690f477dSSam Leffler.endif 217690f477dSSam Leffler.endif 218690f477dSSam Leffler 219690f477dSSam Leffler.if ${MK_LPR} != "no" 220519b7eccSWarner LoshSUBDIR+= lpr 221690f477dSSam Leffler.endif 222690f477dSSam Leffler 22307e547feSJung-uk Kim.if ${MK_MAN_UTILS} != "no" 224519b7eccSWarner LoshSUBDIR+= manctl 22507e547feSJung-uk Kim.endif 22607e547feSJung-uk Kim 2277f725bcdSGrzegorz Bernacki.if ${MK_NAND} != "no" 2287f725bcdSGrzegorz BernackiSUBDIR+= nandsim 2297f725bcdSGrzegorz BernackiSUBDIR+= nandtool 2307f725bcdSGrzegorz Bernacki.endif 2317f725bcdSGrzegorz Bernacki 232690f477dSSam Leffler.if ${MK_NETGRAPH} != "no" 233519b7eccSWarner LoshSUBDIR+= flowctl 234519b7eccSWarner LoshSUBDIR+= lmcconfig 235519b7eccSWarner LoshSUBDIR+= ngctl 236519b7eccSWarner LoshSUBDIR+= nghook 237690f477dSSam Leffler.endif 238690f477dSSam Leffler 239e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no" 240519b7eccSWarner LoshSUBDIR+= rpc.yppasswdd 241519b7eccSWarner LoshSUBDIR+= rpc.ypupdated 242519b7eccSWarner LoshSUBDIR+= rpc.ypxfrd 243519b7eccSWarner LoshSUBDIR+= ypbind 244519b7eccSWarner LoshSUBDIR+= yp_mkdb 245519b7eccSWarner LoshSUBDIR+= yppoll 246519b7eccSWarner LoshSUBDIR+= yppush 247519b7eccSWarner LoshSUBDIR+= ypserv 248519b7eccSWarner LoshSUBDIR+= ypset 2496c58990dSBjoern A. Zeeb.endif 2506c58990dSBjoern A. Zeeb 251690f477dSSam Leffler.if ${MK_NTP} != "no" 252519b7eccSWarner LoshSUBDIR+= ntp 2538d69c48bSMax Laier.endif 2548d69c48bSMax Laier 255690f477dSSam Leffler.if ${MK_OPENSSL} != "no" 256519b7eccSWarner LoshSUBDIR+= keyserv 257152f2a4aSRuslan Ermilov.endif 258152f2a4aSRuslan Ermilov 259690f477dSSam Leffler.if ${MK_PF} != "no" 260519b7eccSWarner LoshSUBDIR+= ftp-proxy 2618c0e8d96STim Vanderhoek.endif 2628c0e8d96STim Vanderhoek 263f2ed2848SGleb Smirnoff.if ${MK_PKGBOOTSTRAP} != "no" 2642f3a9ba5SBaptiste DaroussinSUBDIR+= pkg 2652f3a9ba5SBaptiste Daroussin.endif 2662f3a9ba5SBaptiste Daroussin 267690f477dSSam Leffler.if ${MK_PKGTOOLS} != "no" 268519b7eccSWarner LoshSUBDIR+= pkg_install 2698af480aeSRuslan Ermilov.endif 270690f477dSSam Leffler 271690f477dSSam Leffler# XXX MK_TOOLCHAIN? 272690f477dSSam Leffler.if ${MK_PMC} != "no" 273519b7eccSWarner LoshSUBDIR+= pmcannotate 274519b7eccSWarner LoshSUBDIR+= pmccontrol 275519b7eccSWarner LoshSUBDIR+= pmcstat 276690f477dSSam Leffler.endif 277690f477dSSam Leffler 278690f477dSSam Leffler.if ${MK_PORTSNAP} != "no" 279519b7eccSWarner LoshSUBDIR+= portsnap 280690f477dSSam Leffler.endif 281690f477dSSam Leffler 282690f477dSSam Leffler.if ${MK_PPP} != "no" 283519b7eccSWarner LoshSUBDIR+= ppp 284690f477dSSam Leffler.endif 285690f477dSSam Leffler 286690f477dSSam Leffler.if ${MK_QUOTAS} != "no" 287519b7eccSWarner LoshSUBDIR+= edquota 288519b7eccSWarner LoshSUBDIR+= quotaon 289519b7eccSWarner LoshSUBDIR+= repquota 290690f477dSSam Leffler.endif 291690f477dSSam Leffler 292690f477dSSam Leffler.if ${MK_RCMDS} != "no" 293519b7eccSWarner LoshSUBDIR+= rwhod 2948af480aeSRuslan Ermilov.endif 2958af480aeSRuslan Ermilov 296e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no" 297519b7eccSWarner LoshSUBDIR+= editmap 298519b7eccSWarner LoshSUBDIR+= mailstats 299519b7eccSWarner LoshSUBDIR+= makemap 300519b7eccSWarner LoshSUBDIR+= praliases 301519b7eccSWarner LoshSUBDIR+= sendmail 3025a85f025SPoul-Henning Kamp.endif 3035a85f025SPoul-Henning Kamp 304690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no" 305519b7eccSWarner LoshSUBDIR+= config 306519b7eccSWarner LoshSUBDIR+= crunch 307690f477dSSam Leffler.endif 308690f477dSSam Leffler 309e1fe3dbaSRuslan Ermilov.if ${MK_USB} != "no" 3108d8bfa7fSAntoine BrodinSUBDIR+= uathload 311519b7eccSWarner LoshSUBDIR+= uhsoctl 312519b7eccSWarner LoshSUBDIR+= usbconfig 3139e7abe05SHans Petter SelaskySUBDIR+= usbdump 3142b51223fSStefan Eßer.endif 3152b51223fSStefan Eßer 3169f0c9022SEd Schouten.if ${MK_UTMPX} != "no" 3179f0c9022SEd SchoutenSUBDIR+= ac 3189f0c9022SEd SchoutenSUBDIR+= lastlogin 31971d8432fSEd SchoutenSUBDIR+= utx 3209f0c9022SEd Schouten.endif 3219f0c9022SEd Schouten 322690f477dSSam Leffler.if ${MK_WIRELESS} != "no" 323519b7eccSWarner LoshSUBDIR+= ancontrol 324519b7eccSWarner LoshSUBDIR+= wlandebug 325519b7eccSWarner LoshSUBDIR+= wpa 326690f477dSSam Leffler.endif 327690f477dSSam Leffler 328519b7eccSWarner Losh.include <bsd.arch.inc.mk> 32957628e38SOlivier Houchard 330519b7eccSWarner LoshSUBDIR:= ${SUBDIR:O} 331a8ec1b48SMaxim Sobolev 332dea673e9SRodney W. Grimes.include <bsd.subdir.mk> 333