1# $FreeBSD$ 2 3SYSDIR?=${SRCTOP}/sys 4.include "${SYSDIR}/conf/kern.opts.mk" 5 6SUBDIR_PARALLEL= 7 8# Modules that include binary-only blobs of microcode should be selectable by 9# MK_SOURCELESS_UCODE option (see below). 10 11.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 12SUBDIR=${MODULES_OVERRIDE} 13.else 14SUBDIR= \ 15 ${_3dfx} \ 16 ${_3dfx_linux} \ 17 ${_aac} \ 18 ${_aacraid} \ 19 accf_data \ 20 accf_dns \ 21 accf_http \ 22 acl_nfs4 \ 23 acl_posix1e \ 24 ${_acpi} \ 25 ae \ 26 ${_aesni} \ 27 age \ 28 ${_agp} \ 29 aha \ 30 ahci \ 31 ${_aic} \ 32 aic7xxx \ 33 alc \ 34 ale \ 35 alq \ 36 ${_amd_ecc_inject} \ 37 ${_amdsbwd} \ 38 ${_amdsmn} \ 39 ${_amdtemp} \ 40 amr \ 41 ${_an} \ 42 ${_aout} \ 43 ${_apm} \ 44 ${_arcmsr} \ 45 ${_allwinner} \ 46 ${_armv8crypto} \ 47 ${_asmc} \ 48 ata \ 49 ath \ 50 ath_dfs \ 51 ath_hal \ 52 ath_hal_ar5210 \ 53 ath_hal_ar5211 \ 54 ath_hal_ar5212 \ 55 ath_hal_ar5416 \ 56 ath_hal_ar9300 \ 57 ath_main \ 58 ath_rate \ 59 ath_pci \ 60 ${_autofs} \ 61 ${_auxio} \ 62 ${_bce} \ 63 ${_bcm283x_clkman} \ 64 ${_bcm283x_pwm} \ 65 bfe \ 66 bge \ 67 bhnd \ 68 ${_bxe} \ 69 ${_bios} \ 70 ${_bktr} \ 71 ${_blake2} \ 72 ${_bm} \ 73 bnxt \ 74 bridgestp \ 75 bwi \ 76 bwn \ 77 ${_bytgpio} \ 78 ${_chvgpio} \ 79 cam \ 80 ${_cardbus} \ 81 ${_carp} \ 82 cas \ 83 ${_cbb} \ 84 cc \ 85 ${_ccp} \ 86 cd9660 \ 87 cd9660_iconv \ 88 ${_ce} \ 89 ${_cfi} \ 90 ${_chromebook_platform} \ 91 ${_ciss} \ 92 cloudabi \ 93 ${_cloudabi32} \ 94 ${_cloudabi64} \ 95 ${_cmx} \ 96 ${_coff} \ 97 ${_coretemp} \ 98 ${_cp} \ 99 ${_cpsw} \ 100 ${_cpuctl} \ 101 ${_cpufreq} \ 102 ${_crypto} \ 103 ${_cryptodev} \ 104 ${_cs} \ 105 ${_ctau} \ 106 ctl \ 107 ${_cxgb} \ 108 ${_cxgbe} \ 109 dc \ 110 dcons \ 111 dcons_crom \ 112 de \ 113 ${_dpms} \ 114 ${_dpt} \ 115 ${_drm} \ 116 ${_drm2} \ 117 dummynet \ 118 ${_ed} \ 119 ${_efirt} \ 120 ${_em} \ 121 ${_ena} \ 122 ${_ep} \ 123 ${_epic} \ 124 epoch_test \ 125 esp \ 126 ${_et} \ 127 evdev \ 128 ${_ex} \ 129 ${_exca} \ 130 ext2fs \ 131 fdc \ 132 fdescfs \ 133 ${_fe} \ 134 ${_ffec} \ 135 filemon \ 136 firewire \ 137 firmware \ 138 fuse \ 139 ${_fxp} \ 140 gem \ 141 geom \ 142 ${_glxiic} \ 143 ${_glxsb} \ 144 gpio \ 145 hifn \ 146 hme \ 147 ${_hpt27xx} \ 148 ${_hptiop} \ 149 ${_hptmv} \ 150 ${_hptnr} \ 151 ${_hptrr} \ 152 hwpmc \ 153 ${_hwpmc_mips24k} \ 154 ${_hwpmc_mips74k} \ 155 ${_hyperv} \ 156 i2c \ 157 ${_ibcore} \ 158 ${_ibcs2} \ 159 ${_ichwd} \ 160 ${_ida} \ 161 if_bridge \ 162 if_disc \ 163 if_edsc \ 164 ${_if_enc} \ 165 if_epair \ 166 ${_if_gif} \ 167 ${_if_gre} \ 168 ${_if_me} \ 169 if_lagg \ 170 ${_if_ndis} \ 171 ${_if_stf} \ 172 if_tap \ 173 if_tun \ 174 if_vlan \ 175 if_vxlan \ 176 ${_iir} \ 177 imgact_binmisc \ 178 ${_intelspi} \ 179 ${_io} \ 180 ${_ioat} \ 181 ${_ipoib} \ 182 ${_ipdivert} \ 183 ${_ipfilter} \ 184 ${_ipfw} \ 185 ipfw_nat \ 186 ${_ipfw_nat64} \ 187 ${_ipfw_nptv6} \ 188 ${_ipfw_pmod} \ 189 ${_ipmi} \ 190 ip6_mroute_mod \ 191 ip_mroute_mod \ 192 ${_ips} \ 193 ${_ipsec} \ 194 ${_ipw} \ 195 ${_ipwfw} \ 196 ${_isci} \ 197 ${_iser} \ 198 isp \ 199 ${_ispfw} \ 200 ${_iwi} \ 201 ${_iwifw} \ 202 ${_iwm} \ 203 ${_iwmfw} \ 204 ${_iwn} \ 205 ${_iwnfw} \ 206 ${_ix} \ 207 ${_ixv} \ 208 ${_ixl} \ 209 ${_ixlv} \ 210 jme \ 211 joy \ 212 kbdmux \ 213 kgssapi \ 214 kgssapi_krb5 \ 215 khelp \ 216 krpc \ 217 ksyms \ 218 le \ 219 lge \ 220 libalias \ 221 libiconv \ 222 libmchain \ 223 ${_linprocfs} \ 224 ${_linsysfs} \ 225 ${_linux} \ 226 ${_linux_common} \ 227 ${_linux64} \ 228 linuxkpi \ 229 ${_lio} \ 230 lpt \ 231 mac_biba \ 232 mac_bsdextended \ 233 mac_ifoff \ 234 mac_lomac \ 235 mac_mls \ 236 mac_none \ 237 mac_partition \ 238 mac_portacl \ 239 mac_seeotheruids \ 240 mac_stub \ 241 mac_test \ 242 malo \ 243 md \ 244 mdio \ 245 mem \ 246 mfi \ 247 mii \ 248 mlx \ 249 ${_mlx4} \ 250 ${_mlx4ib} \ 251 ${_mlx4en} \ 252 ${_mlx5} \ 253 ${_mlx5en} \ 254 ${_mlx5ib} \ 255 ${_mly} \ 256 mmc \ 257 mmcsd \ 258 mpr \ 259 mps \ 260 mpt \ 261 mqueue \ 262 mrsas \ 263 msdosfs \ 264 msdosfs_iconv \ 265 ${_mse} \ 266 msk \ 267 ${_mthca} \ 268 mvs \ 269 mwl \ 270 ${_mwlfw} \ 271 mxge \ 272 my \ 273 ${_nandfs} \ 274 ${_nandsim} \ 275 ${_ncr} \ 276 ${_nctgpio} \ 277 ${_ncv} \ 278 ${_ndis} \ 279 ${_netgraph} \ 280 ${_nfe} \ 281 nfscl \ 282 nfscommon \ 283 nfsd \ 284 nfslock \ 285 nfslockd \ 286 nfssvc \ 287 nge \ 288 nmdm \ 289 ${_nsp} \ 290 nullfs \ 291 ${_ntb} \ 292 ${_nvd} \ 293 ${_nvme} \ 294 ${_nvram} \ 295 oce \ 296 ${_ocs_fc} \ 297 otus \ 298 ${_otusfw} \ 299 ow \ 300 ${_padlock} \ 301 ${_padlock_rng} \ 302 ${_pccard} \ 303 ${_pcfclock} \ 304 pcn \ 305 ${_pf} \ 306 ${_pflog} \ 307 ${_pfsync} \ 308 plip \ 309 ${_pms} \ 310 ppbus \ 311 ppc \ 312 ppi \ 313 pps \ 314 procfs \ 315 proto \ 316 pseudofs \ 317 ${_pst} \ 318 pty \ 319 puc \ 320 ${_qlxge} \ 321 ${_qlxgb} \ 322 ${_qlxgbe} \ 323 ${_qlnx} \ 324 ral \ 325 ${_ralfw} \ 326 ${_random_fortuna} \ 327 ${_random_yarrow} \ 328 ${_random_other} \ 329 rc4 \ 330 ${_rdma} \ 331 ${_rdrand_rng} \ 332 re \ 333 rl \ 334 rtwn \ 335 rtwn_pci \ 336 rtwn_usb \ 337 ${_rtwnfw} \ 338 ${_s3} \ 339 ${_safe} \ 340 ${_sbni} \ 341 scc \ 342 ${_scsi_low} \ 343 sdhci \ 344 ${_sdhci_acpi} \ 345 sdhci_pci \ 346 sem \ 347 send \ 348 ${_sf} \ 349 ${_sfxge} \ 350 sge \ 351 ${_sgx} \ 352 ${_sgx_linux} \ 353 siftr \ 354 siis \ 355 sis \ 356 sk \ 357 ${_smartpqi} \ 358 smbfs \ 359 sn \ 360 snp \ 361 sound \ 362 ${_speaker} \ 363 spi \ 364 ${_splash} \ 365 ${_sppp} \ 366 ste \ 367 ${_stg} \ 368 stge \ 369 ${_sym} \ 370 ${_syscons} \ 371 sysvipc \ 372 tcp \ 373 ${_ti} \ 374 tl \ 375 tmpfs \ 376 ${_toecore} \ 377 ${_tpm} \ 378 trm \ 379 ${_twa} \ 380 twe \ 381 tws \ 382 tx \ 383 ${_txp} \ 384 uart \ 385 ubsec \ 386 udf \ 387 udf_iconv \ 388 ufs \ 389 uinput \ 390 unionfs \ 391 usb \ 392 ${_vesa} \ 393 ${_virtio} \ 394 vge \ 395 ${_viawd} \ 396 videomode \ 397 vkbd \ 398 ${_vmm} \ 399 ${_vmware} \ 400 ${_vpo} \ 401 vr \ 402 vte \ 403 vx \ 404 wb \ 405 ${_wbwd} \ 406 ${_wi} \ 407 wlan \ 408 wlan_acl \ 409 wlan_amrr \ 410 wlan_ccmp \ 411 wlan_rssadapt \ 412 wlan_tkip \ 413 wlan_wep \ 414 wlan_xauth \ 415 ${_wpi} \ 416 ${_wpifw} \ 417 ${_x86bios} \ 418 ${_xe} \ 419 xl \ 420 zlib 421 422.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) 423_autofs= autofs 424.endif 425 426.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 427.if (${MACHINE_CPUARCH} != "arm" || ${MACHINE_ARCH:Marmv[67]*} != "") && \ 428 ${MACHINE_CPUARCH} != "mips" && \ 429 ${MACHINE_CPUARCH} != "sparc64" 430SUBDIR+= dtrace 431.endif 432SUBDIR+= opensolaris 433.endif 434 435.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 436.if exists(${SRCTOP}/sys/opencrypto) 437_crypto= crypto 438_cryptodev= cryptodev 439_random_fortuna=random_fortuna 440_random_yarrow= random_yarrow 441_random_other= random_other 442.endif 443.endif 444 445.if ${MK_CUSE} != "no" || defined(ALL_MODULES) 446SUBDIR+= cuse 447.endif 448 449.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 450 defined(ALL_MODULES) 451_carp= carp 452_toecore= toecore 453_if_enc= if_enc 454_if_gif= if_gif 455_if_gre= if_gre 456_ipfw_pmod= ipfw_pmod 457.if ${MK_IPSEC_SUPPORT} != "no" 458_ipsec= ipsec 459.endif 460.endif 461 462.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 463 defined(ALL_MODULES) 464_if_stf= if_stf 465.endif 466 467.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 468_if_me= if_me 469_ipdivert= ipdivert 470_ipfw= ipfw 471.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES) 472_ipfw_nat64= ipfw_nat64 473.endif 474.endif 475 476.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES) 477_ipfw_nptv6= ipfw_nptv6 478.endif 479 480.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 481_ipfilter= ipfilter 482.endif 483 484.if ${MK_ISCSI} != "no" || defined(ALL_MODULES) 485SUBDIR+= cfiscsi 486SUBDIR+= iscsi 487SUBDIR+= iscsi_initiator 488.endif 489 490.if ${MK_NAND} != "no" || defined(ALL_MODULES) 491_nandfs= nandfs 492_nandsim= nandsim 493.endif 494 495.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 496_netgraph= netgraph 497.endif 498 499.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 500 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 501_pf= pf 502_pflog= pflog 503.if ${MK_INET_SUPPORT} != "no" 504_pfsync= pfsync 505.endif 506.endif 507 508.if ${MK_SOURCELESS_UCODE} != "no" 509_bce= bce 510_fxp= fxp 511_ispfw= ispfw 512_sf= sf 513_ti= ti 514_txp= txp 515 516.if ${MACHINE_CPUARCH} != "mips" 517_mwlfw= mwlfw 518_otusfw= otusfw 519_ralfw= ralfw 520_rtwnfw= rtwnfw 521.endif 522.endif 523 524.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ 525 ${MACHINE_CPUARCH} != "mips" && \ 526 ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" && \ 527 ${MACHINE_CPUARCH} != "riscv" 528_cxgbe= cxgbe 529.endif 530 531.if ${MK_TESTS} != "no" || defined(ALL_MODULES) 532SUBDIR+= tests 533.endif 534 535.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 536SUBDIR+= zfs 537.endif 538 539.if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "") 540_hwpmc_mips24k= hwpmc_mips24k 541_hwpmc_mips74k= hwpmc_mips74k 542.endif 543 544.if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "arm" && \ 545 ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "powerpc" && \ 546 ${MACHINE_CPUARCH} != "riscv" 547_syscons= syscons 548_vpo= vpo 549.endif 550 551.if ${MACHINE_CPUARCH} != "mips" 552# no BUS_SPACE_UNSPECIFIED 553# No barrier instruction support (specific to this driver) 554_sym= sym 555# intr_disable() is a macro, causes problems 556.if ${MK_SOURCELESS_UCODE} != "no" 557_cxgb= cxgb 558.endif 559.endif 560 561.if ${MACHINE_CPUARCH} == "aarch64" 562_allwinner= allwinner 563_armv8crypto= armv8crypto 564_efirt= efirt 565_em= em 566.endif 567 568.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 569_agp= agp 570_an= an 571_aout= aout 572_bios= bios 573_bktr= bktr 574.if ${MK_SOURCELESS_UCODE} != "no" 575_bxe= bxe 576.endif 577_cardbus= cardbus 578_cbb= cbb 579_cpuctl= cpuctl 580_cpufreq= cpufreq 581_cs= cs 582_dpms= dpms 583_drm= drm 584_drm2= drm2 585_ed= ed 586_em= em 587_ena= ena 588_ep= ep 589_et= et 590_exca= exca 591_fe= fe 592.if ${MK_OFED} != "no" || defined(ALL_MODULES) 593_ibcore= ibcore 594.endif 595_if_ndis= if_ndis 596_io= io 597.if ${MK_OFED} != "no" || defined(ALL_MODULES) 598_ipoib= ipoib 599_iser= iser 600.endif 601_ix= ix 602_ixv= ixv 603_linprocfs= linprocfs 604_linsysfs= linsysfs 605_linux= linux 606.if ${MK_SOURCELESS_UCODE} != "no" 607_lio= lio 608.endif 609_nctgpio= nctgpio 610_ndis= ndis 611_ocs_fc= ocs_fc 612_pccard= pccard 613.if ${MK_OFED} != "no" || defined(ALL_MODULES) 614_rdma= rdma 615.endif 616_safe= safe 617_scsi_low= scsi_low 618_speaker= speaker 619_splash= splash 620_sppp= sppp 621_vmware= vmware 622_wbwd= wbwd 623_wi= wi 624_xe= xe 625 626_aac= aac 627_aacraid= aacraid 628_acpi= acpi 629.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 630_aesni= aesni 631.endif 632_amd_ecc_inject=amd_ecc_inject 633_amdsbwd= amdsbwd 634_amdsmn= amdsmn 635_amdtemp= amdtemp 636_arcmsr= arcmsr 637_asmc= asmc 638.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 639_blake2= blake2 640.endif 641_bytgpio= bytgpio 642_chvgpio= chvgpio 643_ciss= ciss 644_chromebook_platform= chromebook_platform 645_cmx= cmx 646_coretemp= coretemp 647.if ${MK_SOURCELESS_HOST} != "no" 648_hpt27xx= hpt27xx 649.endif 650_hptiop= hptiop 651.if ${MK_SOURCELESS_HOST} != "no" 652_hptmv= hptmv 653_hptnr= hptnr 654_hptrr= hptrr 655.endif 656_hyperv= hyperv 657_ichwd= ichwd 658_ida= ida 659_iir= iir 660_intelspi= intelspi 661_ipmi= ipmi 662_ips= ips 663_isci= isci 664_ipw= ipw 665_iwi= iwi 666_iwm= iwm 667_iwn= iwn 668.if ${MK_SOURCELESS_UCODE} != "no" 669_ipwfw= ipwfw 670_iwifw= iwifw 671_iwmfw= iwmfw 672_iwnfw= iwnfw 673.endif 674_mlx4= mlx4 675_mlx5= mlx5 676.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 677 defined(ALL_MODULES) 678_mlx4en= mlx4en 679_mlx5en= mlx5en 680.endif 681.if ${MK_OFED} != "no" || defined(ALL_MODULES) 682_mthca= mthca 683_mlx4ib= mlx4ib 684_mlx5ib= mlx5ib 685.endif 686_mly= mly 687_nfe= nfe 688_nvd= nvd 689_nvme= nvme 690_nvram= nvram 691.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 692_padlock= padlock 693_padlock_rng= padlock_rng 694_rdrand_rng= rdrand_rng 695.endif 696_s3= s3 697_sdhci_acpi= sdhci_acpi 698_tpm= tpm 699_twa= twa 700_vesa= vesa 701_viawd= viawd 702_virtio= virtio 703_wpi= wpi 704.if ${MK_SOURCELESS_UCODE} != "no" 705_wpifw= wpifw 706.endif 707_x86bios= x86bios 708.endif 709 710.if ${MACHINE_CPUARCH} == "amd64" 711_ccp= ccp 712_efirt= efirt 713_ioat= ioat 714_ixl= ixl 715_ixlv= ixlv 716_linux64= linux64 717_linux_common= linux_common 718_ntb= ntb 719_pms= pms 720_qlxge= qlxge 721_qlxgb= qlxgb 722.if ${MK_SOURCELESS_UCODE} != "no" 723_qlxgbe= qlxgbe 724_qlnx= qlnx 725.endif 726_sfxge= sfxge 727_sgx= sgx 728_sgx_linux= sgx_linux 729_smartpqi= smartpqi 730 731.if ${MK_BHYVE} != "no" || defined(ALL_MODULES) 732_vmm= vmm 733.endif 734.endif 735 736.if ${MACHINE_CPUARCH} == "i386" 737# XXX some of these can move to the general case when de-i386'ed 738# XXX some of these can move now, but are untested on other architectures. 739_3dfx= 3dfx 740_3dfx_linux= 3dfx_linux 741_aic= aic 742_apm= apm 743.if ${MK_SOURCELESS_UCODE} != "no" 744_ce= ce 745.endif 746_coff= coff 747.if ${MK_SOURCELESS_UCODE} != "no" 748_cp= cp 749.endif 750_glxiic= glxiic 751_glxsb= glxsb 752#_ibcs2= ibcs2 753_mse= mse 754_ncr= ncr 755_ncv= ncv 756_nsp= nsp 757_pcfclock= pcfclock 758_pst= pst 759_sbni= sbni 760_stg= stg 761.if ${MK_SOURCELESS_UCODE} != "no" 762_ctau= ctau 763.endif 764_dpt= dpt 765_ex= ex 766.endif 767 768.if ${MACHINE_CPUARCH} == "arm" 769_cfi= cfi 770_cpsw= cpsw 771.endif 772 773.if ${MACHINE_CPUARCH} == "powerpc" 774_agp= agp 775_an= an 776_bm= bm 777_cardbus= cardbus 778_cbb= cbb 779_cfi= cfi 780_cpufreq= cpufreq 781_drm= drm 782_exca= exca 783_ffec= ffec 784_pccard= pccard 785_wi= wi 786.endif 787 788.if ${MACHINE_ARCH} == "powerpc64" 789_drm2= drm2 790.endif 791.if ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc" 792# Don't build powermac_nvram for powerpcspe, it's never supported. 793_nvram= powermac_nvram 794.endif 795 796.if ${MACHINE_CPUARCH} == "sparc64" 797_auxio= auxio 798_em= em 799_epic= epic 800.endif 801 802.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 803 ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "i386") 804_cloudabi32= cloudabi32 805.endif 806.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" 807_cloudabi64= cloudabi64 808.endif 809 810.endif 811 812.if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64" 813_bcm283x_clkman= bcm283x_clkman 814_bcm283x_pwm= bcm283x_pwm 815.endif 816 817SUBDIR+=${MODULES_EXTRA} 818 819.for reject in ${WITHOUT_MODULES} 820SUBDIR:= ${SUBDIR:N${reject}} 821.endfor 822 823# Calling kldxref(8) for each module is expensive. 824.if !defined(NO_XREF) 825.MAKEFLAGS+= -DNO_XREF 826afterinstall: .PHONY 827 @if type kldxref >/dev/null 2>&1; then \ 828 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 829 kldxref ${DESTDIR}${KMODDIR}; \ 830 fi 831.endif 832 833.include "${SYSDIR}/conf/config.mk" 834 835SUBDIR:= ${SUBDIR:u:O} 836 837.include <bsd.subdir.mk> 838