Makefile revision 1.151
11.151Smatt# $NetBSD: Makefile,v 1.151 2015/05/09 14:19:13 matt Exp $ 21.37Sdyoung 31.37Sdyoung.include <bsd.own.mk> 41.15Sad 51.15Sad# For all platforms 61.1Sad 71.37SdyoungSUBDIR= accf_dataready 81.16SadSUBDIR+= accf_httpready 91.15SadSUBDIR+= adosfs 101.14SadSUBDIR+= aio 111.133SpgoyetteSUBDIR+= blowfish 121.38SpookaSUBDIR+= bpf 131.133SpgoyetteSUBDIR+= camellia 141.133SpgoyetteSUBDIR+= cast128 151.132SpgoyetteSUBDIR+= ccd 161.7SrumbleSUBDIR+= cd9660 171.129SpgoyetteSUBDIR+= cgd 181.132SpgoyetteSUBDIR+= chfs 191.134SpgoyetteSUBDIR+= crypto 201.7SrumbleSUBDIR+= coda 211.7SrumbleSUBDIR+= coda5 221.15SadSUBDIR+= compat 231.15SadSUBDIR+= compat_ossaudio 241.15SadSUBDIR+= coredump 251.104SpgoyetteSUBDIR+= dbcool 261.133SpgoyetteSUBDIR+= des 271.129SpgoyetteSUBDIR+= dk_subr 281.7SrumbleSUBDIR+= efs 291.7SrumbleSUBDIR+= ext2fs 301.15SadSUBDIR+= exec_script 311.7SrumbleSUBDIR+= fdesc 321.7SrumbleSUBDIR+= ffs 331.18SadSUBDIR+= filecore 341.93SsjgSUBDIR+= filemon 351.68SahokaSUBDIR+= flash 361.15SadSUBDIR+= fss 371.89SmbalmerSUBDIR+= gpio 381.94SmbalmerSUBDIR+= gpioiic 391.92SmbalmerSUBDIR+= gpioow 401.89SmbalmerSUBDIR+= gpiosim 411.7SrumbleSUBDIR+= hfs 421.136SkardelSUBDIR+= hythygtemp 431.143SjmcneillSUBDIR+= i2cexec 441.105SpgoyetteSUBDIR+= if_axe 451.120SnonakaSUBDIR+= if_axen 461.118SchristosSUBDIR+= if_npflog 471.124SskrllSUBDIR+= if_smsc 481.94SmbalmerSUBDIR+= iic 491.7SrumbleSUBDIR+= kernfs 501.22SadSUBDIR+= layerfs 511.7SrumbleSUBDIR+= lfs 521.121SmbalmerSUBDIR+= lua 531.128SlnetoSUBDIR+= luasystm 541.123SmbalmerSUBDIR+= luapmf 551.7SrumbleSUBDIR+= mfs 561.45SpgoyetteSUBDIR+= miiverbose 571.45SpgoyetteSUBDIR+= miniroot 581.31SrmindSUBDIR+= mqueue 591.18SadSUBDIR+= msdos 601.68SahokaSUBDIR+= nand 611.68SahokaSUBDIR+= nandemulator 621.15SadSUBDIR+= nfs 631.15SadSUBDIR+= nfsserver 641.30SreinoudSUBDIR+= nilfs 651.96StronSUBDIR+= npf 661.97StronSUBDIR+= npf_alg_icmp 671.111SrmindSUBDIR+= npf_ext_log 681.119SchristosSUBDIR+= npf_ext_normalize 691.117SrmindSUBDIR+= npf_ext_rndblock 701.7SrumbleSUBDIR+= ntfs 711.18SadSUBDIR+= null 721.92SmbalmerSUBDIR+= onewire 731.134SpgoyetteSUBDIR+= opencrypto 741.7SrumbleSUBDIR+= overlay 751.42SpgoyetteSUBDIR+= pciverbose 761.41SahokaSUBDIR+= pf 771.19ScubeSUBDIR+= ppp_bsdcomp 781.19ScubeSUBDIR+= ppp_deflate 791.7SrumbleSUBDIR+= procfs 801.7SrumbleSUBDIR+= ptyfs 811.7SrumbleSUBDIR+= puffs 821.15SadSUBDIR+= putter 831.44SpgoyetteSUBDIR+= scsiverbose 841.103SpgoyetteSUBDIR+= sdtemp 851.33SeladSUBDIR+= secmodel_bsd44 861.100SjymSUBDIR+= secmodel_extensions 871.33SeladSUBDIR+= secmodel_overlay 881.33SeladSUBDIR+= securelevel 891.133SpgoyetteSUBDIR+= skipjack 901.7SrumbleSUBDIR+= smbfs 911.81SpgoyetteSUBDIR+= spdmem 921.146SpgoyetteSUBDIR+= sysmon 931.146SpgoyetteSUBDIR+= sysmon_envsys 941.146SpgoyetteSUBDIR+= sysmon_power 951.146SpgoyetteSUBDIR+= sysmon_taskq 961.146SpgoyetteSUBDIR+= sysmon_wdog 971.24SpookaSUBDIR+= sysvbfs 981.33SeladSUBDIR+= suser 991.134SpgoyetteSUBDIR+= swcrypto 1001.48SpgoyetteSUBDIR+= swsensor 1011.145SpgoyetteSUBDIR+= swwdog 1021.7SrumbleSUBDIR+= tmpfs 1031.108SriastradSUBDIR+= uatp 1041.7SrumbleSUBDIR+= udf 1051.18SadSUBDIR+= umap 1061.7SrumbleSUBDIR+= union 1071.43SpgoyetteSUBDIR+= usbverbose 1081.106SchristosSUBDIR+= vcoda 1091.78SenamiSUBDIR+= v7fs 1101.25ShaadSUBDIR+= vnd 1111.131SpgoyetteSUBDIR+= zlib 1121.29SyamtSUBDIR+= tprof 1131.7Srumble.if (defined(NOTYET)) 1141.135SpgoyetteSUBDIR+= hifn # Builds on architectures with PCI bus 1151.7SrumbleSUBDIR+= unionfs 1161.7Srumble.endif 1171.37Sdyoung.if ${MKBINUTILS} != "no" 1181.37SdyoungSUBDIR+= xldscripts 1191.37Sdyoung.endif 1201.7Srumble 1211.15Sad# Machine dependent section 1221.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1231.49Stsutsui ${MACHINE_CPU} == "m68k" 1241.47StsutsuiSUBDIR+= exec_aout 1251.47Stsutsui.endif 1261.47Stsutsui 1271.139Smatt.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_CPU} != "aarch64" 1281.17SmartinSUBDIR+= exec_elf32 1291.17Smartin.endif 1301.15Sad 1311.139Smatt.if ${MACHINE_CPU} == "aarch64" || \ 1321.139Smatt ${MACHINE_ARCH} == "alpha" || \ 1331.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1341.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1351.20SheSUBDIR+= exec_elf64 1361.20She.endif 1371.20She 1381.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1391.29Syamt ${MACHINE_ARCH} == "x86_64" 1401.71SjruohoSUBDIR+= amdtemp 1411.64SjruohoSUBDIR+= coretemp 1421.65SjruohoSUBDIR+= est 1431.110SmartinSUBDIR+= hdafg 1441.110SmartinSUBDIR+= hdaudio 1451.144SjmcneillSUBDIR+= hdaudio_pci 1461.141SchristosSUBDIR+= hdaudioverbose 1471.72SjruohoSUBDIR+= hpet 1481.69SjruohoSUBDIR+= odcm 1491.66SjruohoSUBDIR+= powernow 1501.150SpgoyetteSUBDIR+= tco 1511.29SyamtSUBDIR+= tprof_pmi 1521.70SyamtSUBDIR+= tprof_amdpmi 1531.95SjmcneillSUBDIR+= vmt 1541.29Syamt.endif 1551.29Syamt 1561.140Sbad.if ${MACHINE_ARCH} == "i386" || \ 1571.137Sbad ${MACHINE_ARCH} == "x86_64" 1581.137SbadSUBDIR+= ubsec # Builds on architectures with PCI bus 1591.137Sbad.endif 1601.137Sbad 1611.126Salnsn.if ${MKSLJIT} != "no" 1621.126Salnsn# No modules for arm, mips and powerpc yet. 1631.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1641.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1651.115Salnsn ${MACHINE_ARCH} == "sparc" 1661.113SalnsnSUBDIR+= bpfjit 1671.112SalnsnSUBDIR+= sljit 1681.112Salnsn.endif 1691.126Salnsn.endif 1701.112Salnsn 1711.85Sjruoho# 1721.85Sjruoho# ACPI modules 1731.85Sjruoho# 1741.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1751.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1761.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1771.46SpgoyetteSUBDIR+= acpiverbose 1781.46Spgoyette.endif 1791.46Spgoyette 1801.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1811.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1821.52SjruohoSUBDIR+= acpiacad 1831.52SjruohoSUBDIR+= acpibat 1841.52SjruohoSUBDIR+= acpibut 1851.52SjruohoSUBDIR+= acpicpu 1861.53SjruohoSUBDIR+= acpidalb 1871.58SjruohoSUBDIR+= acpifan 1881.52SjruohoSUBDIR+= acpilid 1891.57SjruohoSUBDIR+= acpipmtr 1901.53SjruohoSUBDIR+= acpitz 1911.53SjruohoSUBDIR+= acpivga 1921.86SjruohoSUBDIR+= acpiwdrt 1931.51SjmcneillSUBDIR+= acpiwmi 1941.53SjruohoSUBDIR+= aibs 1951.54SjruohoSUBDIR+= asus 1961.63SjruohoSUBDIR+= fujbp 1971.63SjruohoSUBDIR+= fujhk 1981.75SjruohoSUBDIR+= hpacel 1991.54SjruohoSUBDIR+= hpqlb 2001.52SjruohoSUBDIR+= thinkpad 2011.50SjmcneillSUBDIR+= wmidell 2021.83SjruohoSUBDIR+= wmieeepc 2031.50SjmcneillSUBDIR+= wmihp 2041.50SjmcneillSUBDIR+= wmimsi 2051.50Sjmcneill.endif 2061.50Sjmcneill 2071.151Smatt.if ${MACHINE_CPU} == "arm" || !empty(MACHINE_ARCH:Mmips64*) 2081.151SmattSUBDIR+= compat_netbsd32 2091.151Smatt.endif 2101.151Smatt 2111.27Sabs.if ${MACHINE_ARCH} == "x86_64" 2121.15SadSUBDIR+= compat_linux32 2131.15SadSUBDIR+= compat_netbsd32 2141.15Sad.endif 2151.15Sad 2161.27Sabs.if ${MACHINE_ARCH} == "i386" 2171.90SjmcneillSUBDIR+= ati_pcigart 2181.15SadSUBDIR+= compat_freebsd 2191.15SadSUBDIR+= compat_ibcs2 2201.15SadSUBDIR+= compat_svr4 2211.90SjmcneillSUBDIR+= mach64drm 2221.90SjmcneillSUBDIR+= mgadrm 2231.76SjmcneillSUBDIR+= nsclpcsio 2241.62SjmcneillSUBDIR+= padlock 2251.90SjmcneillSUBDIR+= r128drm 2261.90SjmcneillSUBDIR+= radeondrm 2271.90SjmcneillSUBDIR+= savagedrm 2281.90SjmcneillSUBDIR+= sisdrm 2291.90SjmcneillSUBDIR+= tdfxdrm 2301.67SjruohoSUBDIR+= viac7temp 2311.90SjmcneillSUBDIR+= viadrm 2321.149SriastradSUBDIR+= viadrmums 2331.15Sad.endif 2341.15Sad 2351.142Schristos.if ${MACHINE_ARCH} == "i386" || \ 2361.142Schristos ${MACHINE_ARCH} == "x86_64" 2371.142SchristosSUBDIR+= azalia 2381.142SchristosSUBDIR+= compat_linux 2391.142SchristosSUBDIR+= drm 2401.142SchristosSUBDIR+= drmkms 2411.142SchristosSUBDIR+= drmkms_linux 2421.142SchristosSUBDIR+= drmkms_pci 2431.142SchristosSUBDIR+= i915drm 2441.142SchristosSUBDIR+= i915drmkms 2451.142SchristosSUBDIR+= pad 2461.85Sjruoho# 2471.85Sjruoho# ISA modules 2481.85Sjruoho# 2491.59SjmcneillSUBDIR+= aps 2501.80SjmcneillSUBDIR+= finsio 2511.79SjmcneillSUBDIR+= itesio 2521.101SjakllschSUBDIR+= lm 2531.101SjakllschSUBDIR+= lm_isa 2541.101SjakllschSUBDIR+= lm_isa_common 2551.101SjakllschSUBDIR+= lm_wbsio 2561.101SjakllschSUBDIR+= wbsio 2571.56Sjmcneill.endif 2581.56Sjmcneill 2591.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2601.47StsutsuiSUBDIR+= compat_aoutm68k 2611.47Stsutsui#SUBDIR+= compat_linux 2621.47Stsutsui#SUBDIR+= compat_sunos 2631.47Stsutsui#SUBDIR+= compat_svr4 2641.47Stsutsui.endif 2651.47Stsutsui 2661.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2671.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2681.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2691.88SmbalmerSUBDIR+= pwdog 2701.88Smbalmer.endif 2711.88Smbalmer 2721.23Sagc.include <bsd.own.mk> 2731.23Sagc 2741.107Sreinoud# 2751.107Sreinoud# NetBSD/usermode support 2761.107Sreinoud# 2771.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2781.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2791.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2801.107Sreinoud.endif 2811.107Sreinoud 2821.23Sagc# we need our device mapper for LVM 2831.23Sagc.if (${MKLVM} != "no") 2841.28SyamtSUBDIR+= dm 2851.23Sagc.endif 2861.23Sagc 2871.39Sdarran.if (${MKDTRACE} != "no") 2881.116SchsSUBDIR+= cyclic 2891.39SdarranSUBDIR+= dtrace 2901.39Sdarran.endif 2911.39Sdarran 2921.39Sdarran# we need solaris for the dtrace and zfs modules 2931.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2941.39SdarranSUBDIR+= solaris 2951.39Sdarran.endif 2961.39Sdarran 2971.34Shaad.if (${MKZFS} != "no") 2981.34ShaadSUBDIR+= zfs 2991.34Shaad.endif 3001.34Shaad 3011.73Smrg.if (${MKCOMPATMODULES} != "no") 3021.73SmrgSUBDIR+= arch 3031.73Smrg.endif 3041.73Smrg 3051.84Sjmcneill# 3061.84Sjmcneill# DTV modules 3071.84Sjmcneill# 3081.84SjmcneillSUBDIR+= dtv 3091.84SjmcneillSUBDIR+= dtv_math 3101.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 3111.84Sjmcneill# tuners/demods 3121.84SjmcneillSUBDIR+= au8522 3131.84SjmcneillSUBDIR+= cx24227 3141.84SjmcneillSUBDIR+= lg3303 3151.84SjmcneillSUBDIR+= mt2131 3161.84SjmcneillSUBDIR+= nxt2k 3171.84SjmcneillSUBDIR+= tvpll 3181.84SjmcneillSUBDIR+= xc3028 3191.84SjmcneillSUBDIR+= xc5k 3201.91SjruohoSUBDIR+= zl10353 3211.84Sjmcneill# hardware drivers 3221.84SjmcneillSUBDIR+= auvitek 3231.84SjmcneillSUBDIR+= coram 3241.84SjmcneillSUBDIR+= cxdtv 3251.84SjmcneillSUBDIR+= emdtv 3261.84Sjmcneill.endif 3271.84Sjmcneill 3281.98Sriz.if (${MKISCSI} != "no") 3291.98SrizSUBDIR+= iscsi 3301.98Sriz.endif 3311.98Sriz 3321.1Sad.include <bsd.subdir.mk> 333