Makefile revision 1.149
11.149Sriastrad# $NetBSD: Makefile,v 1.149 2015/04/29 17:38:50 riastradh 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.29SyamtSUBDIR+= tprof_pmi 1511.70SyamtSUBDIR+= tprof_amdpmi 1521.95SjmcneillSUBDIR+= vmt 1531.29Syamt.endif 1541.29Syamt 1551.140Sbad.if ${MACHINE_ARCH} == "i386" || \ 1561.137Sbad ${MACHINE_ARCH} == "x86_64" 1571.137SbadSUBDIR+= ubsec # Builds on architectures with PCI bus 1581.137Sbad.endif 1591.137Sbad 1601.126Salnsn.if ${MKSLJIT} != "no" 1611.126Salnsn# No modules for arm, mips and powerpc yet. 1621.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1631.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1641.115Salnsn ${MACHINE_ARCH} == "sparc" 1651.113SalnsnSUBDIR+= bpfjit 1661.112SalnsnSUBDIR+= sljit 1671.112Salnsn.endif 1681.126Salnsn.endif 1691.112Salnsn 1701.85Sjruoho# 1711.85Sjruoho# ACPI modules 1721.85Sjruoho# 1731.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1741.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1751.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1761.46SpgoyetteSUBDIR+= acpiverbose 1771.46Spgoyette.endif 1781.46Spgoyette 1791.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1801.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1811.52SjruohoSUBDIR+= acpiacad 1821.52SjruohoSUBDIR+= acpibat 1831.52SjruohoSUBDIR+= acpibut 1841.52SjruohoSUBDIR+= acpicpu 1851.53SjruohoSUBDIR+= acpidalb 1861.58SjruohoSUBDIR+= acpifan 1871.52SjruohoSUBDIR+= acpilid 1881.57SjruohoSUBDIR+= acpipmtr 1891.53SjruohoSUBDIR+= acpitz 1901.53SjruohoSUBDIR+= acpivga 1911.86SjruohoSUBDIR+= acpiwdrt 1921.51SjmcneillSUBDIR+= acpiwmi 1931.53SjruohoSUBDIR+= aibs 1941.54SjruohoSUBDIR+= asus 1951.63SjruohoSUBDIR+= fujbp 1961.63SjruohoSUBDIR+= fujhk 1971.75SjruohoSUBDIR+= hpacel 1981.54SjruohoSUBDIR+= hpqlb 1991.52SjruohoSUBDIR+= thinkpad 2001.50SjmcneillSUBDIR+= wmidell 2011.83SjruohoSUBDIR+= wmieeepc 2021.50SjmcneillSUBDIR+= wmihp 2031.50SjmcneillSUBDIR+= wmimsi 2041.50Sjmcneill.endif 2051.50Sjmcneill 2061.27Sabs.if ${MACHINE_ARCH} == "x86_64" 2071.15SadSUBDIR+= compat_linux32 2081.15SadSUBDIR+= compat_netbsd32 2091.15Sad.endif 2101.15Sad 2111.27Sabs.if ${MACHINE_ARCH} == "i386" 2121.90SjmcneillSUBDIR+= ati_pcigart 2131.15SadSUBDIR+= compat_freebsd 2141.15SadSUBDIR+= compat_ibcs2 2151.15SadSUBDIR+= compat_svr4 2161.90SjmcneillSUBDIR+= mach64drm 2171.90SjmcneillSUBDIR+= mgadrm 2181.76SjmcneillSUBDIR+= nsclpcsio 2191.62SjmcneillSUBDIR+= padlock 2201.90SjmcneillSUBDIR+= r128drm 2211.90SjmcneillSUBDIR+= radeondrm 2221.90SjmcneillSUBDIR+= savagedrm 2231.90SjmcneillSUBDIR+= sisdrm 2241.90SjmcneillSUBDIR+= tdfxdrm 2251.67SjruohoSUBDIR+= viac7temp 2261.90SjmcneillSUBDIR+= viadrm 2271.149SriastradSUBDIR+= viadrmums 2281.15Sad.endif 2291.15Sad 2301.142Schristos.if ${MACHINE_ARCH} == "i386" || \ 2311.142Schristos ${MACHINE_ARCH} == "x86_64" 2321.142SchristosSUBDIR+= azalia 2331.142SchristosSUBDIR+= compat_linux 2341.142SchristosSUBDIR+= drm 2351.142SchristosSUBDIR+= drmkms 2361.142SchristosSUBDIR+= drmkms_linux 2371.142SchristosSUBDIR+= drmkms_pci 2381.142SchristosSUBDIR+= i915drm 2391.142SchristosSUBDIR+= i915drmkms 2401.142SchristosSUBDIR+= pad 2411.85Sjruoho# 2421.85Sjruoho# ISA modules 2431.85Sjruoho# 2441.59SjmcneillSUBDIR+= aps 2451.80SjmcneillSUBDIR+= finsio 2461.79SjmcneillSUBDIR+= itesio 2471.101SjakllschSUBDIR+= lm 2481.101SjakllschSUBDIR+= lm_isa 2491.101SjakllschSUBDIR+= lm_isa_common 2501.101SjakllschSUBDIR+= lm_wbsio 2511.101SjakllschSUBDIR+= wbsio 2521.56Sjmcneill.endif 2531.56Sjmcneill 2541.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2551.47StsutsuiSUBDIR+= compat_aoutm68k 2561.47Stsutsui#SUBDIR+= compat_linux 2571.47Stsutsui#SUBDIR+= compat_sunos 2581.47Stsutsui#SUBDIR+= compat_svr4 2591.47Stsutsui.endif 2601.47Stsutsui 2611.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2621.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2631.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2641.88SmbalmerSUBDIR+= pwdog 2651.88Smbalmer.endif 2661.88Smbalmer 2671.23Sagc.include <bsd.own.mk> 2681.23Sagc 2691.107Sreinoud# 2701.107Sreinoud# NetBSD/usermode support 2711.107Sreinoud# 2721.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2731.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2741.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2751.107Sreinoud.endif 2761.107Sreinoud 2771.23Sagc# we need our device mapper for LVM 2781.23Sagc.if (${MKLVM} != "no") 2791.28SyamtSUBDIR+= dm 2801.23Sagc.endif 2811.23Sagc 2821.39Sdarran.if (${MKDTRACE} != "no") 2831.116SchsSUBDIR+= cyclic 2841.39SdarranSUBDIR+= dtrace 2851.39Sdarran.endif 2861.39Sdarran 2871.39Sdarran# we need solaris for the dtrace and zfs modules 2881.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2891.39SdarranSUBDIR+= solaris 2901.39Sdarran.endif 2911.39Sdarran 2921.34Shaad.if (${MKZFS} != "no") 2931.34ShaadSUBDIR+= zfs 2941.34Shaad.endif 2951.34Shaad 2961.73Smrg.if (${MKCOMPATMODULES} != "no") 2971.73SmrgSUBDIR+= arch 2981.73Smrg.endif 2991.73Smrg 3001.84Sjmcneill# 3011.84Sjmcneill# DTV modules 3021.84Sjmcneill# 3031.84SjmcneillSUBDIR+= dtv 3041.84SjmcneillSUBDIR+= dtv_math 3051.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 3061.84Sjmcneill# tuners/demods 3071.84SjmcneillSUBDIR+= au8522 3081.84SjmcneillSUBDIR+= cx24227 3091.84SjmcneillSUBDIR+= lg3303 3101.84SjmcneillSUBDIR+= mt2131 3111.84SjmcneillSUBDIR+= nxt2k 3121.84SjmcneillSUBDIR+= tvpll 3131.84SjmcneillSUBDIR+= xc3028 3141.84SjmcneillSUBDIR+= xc5k 3151.91SjruohoSUBDIR+= zl10353 3161.84Sjmcneill# hardware drivers 3171.84SjmcneillSUBDIR+= auvitek 3181.84SjmcneillSUBDIR+= coram 3191.84SjmcneillSUBDIR+= cxdtv 3201.84SjmcneillSUBDIR+= emdtv 3211.84Sjmcneill.endif 3221.84Sjmcneill 3231.98Sriz.if (${MKISCSI} != "no") 3241.98SrizSUBDIR+= iscsi 3251.98Sriz.endif 3261.98Sriz 3271.1Sad.include <bsd.subdir.mk> 328