Makefile revision 1.152
11.152Spgoyette# $NetBSD: Makefile,v 1.152 2015/05/10 07:41:16 pgoyette 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.152SpgoyetteSUBDIR+= compat_sysv 241.15SadSUBDIR+= compat_ossaudio 251.15SadSUBDIR+= coredump 261.104SpgoyetteSUBDIR+= dbcool 271.133SpgoyetteSUBDIR+= des 281.129SpgoyetteSUBDIR+= dk_subr 291.7SrumbleSUBDIR+= efs 301.7SrumbleSUBDIR+= ext2fs 311.15SadSUBDIR+= exec_script 321.7SrumbleSUBDIR+= fdesc 331.7SrumbleSUBDIR+= ffs 341.18SadSUBDIR+= filecore 351.93SsjgSUBDIR+= filemon 361.68SahokaSUBDIR+= flash 371.15SadSUBDIR+= fss 381.89SmbalmerSUBDIR+= gpio 391.94SmbalmerSUBDIR+= gpioiic 401.92SmbalmerSUBDIR+= gpioow 411.89SmbalmerSUBDIR+= gpiosim 421.7SrumbleSUBDIR+= hfs 431.136SkardelSUBDIR+= hythygtemp 441.143SjmcneillSUBDIR+= i2cexec 451.105SpgoyetteSUBDIR+= if_axe 461.120SnonakaSUBDIR+= if_axen 471.118SchristosSUBDIR+= if_npflog 481.124SskrllSUBDIR+= if_smsc 491.94SmbalmerSUBDIR+= iic 501.7SrumbleSUBDIR+= kernfs 511.22SadSUBDIR+= layerfs 521.7SrumbleSUBDIR+= lfs 531.121SmbalmerSUBDIR+= lua 541.128SlnetoSUBDIR+= luasystm 551.123SmbalmerSUBDIR+= luapmf 561.7SrumbleSUBDIR+= mfs 571.45SpgoyetteSUBDIR+= miiverbose 581.45SpgoyetteSUBDIR+= miniroot 591.31SrmindSUBDIR+= mqueue 601.18SadSUBDIR+= msdos 611.68SahokaSUBDIR+= nand 621.68SahokaSUBDIR+= nandemulator 631.15SadSUBDIR+= nfs 641.15SadSUBDIR+= nfsserver 651.30SreinoudSUBDIR+= nilfs 661.96StronSUBDIR+= npf 671.97StronSUBDIR+= npf_alg_icmp 681.111SrmindSUBDIR+= npf_ext_log 691.119SchristosSUBDIR+= npf_ext_normalize 701.117SrmindSUBDIR+= npf_ext_rndblock 711.7SrumbleSUBDIR+= ntfs 721.18SadSUBDIR+= null 731.92SmbalmerSUBDIR+= onewire 741.134SpgoyetteSUBDIR+= opencrypto 751.7SrumbleSUBDIR+= overlay 761.42SpgoyetteSUBDIR+= pciverbose 771.41SahokaSUBDIR+= pf 781.19ScubeSUBDIR+= ppp_bsdcomp 791.19ScubeSUBDIR+= ppp_deflate 801.7SrumbleSUBDIR+= procfs 811.7SrumbleSUBDIR+= ptyfs 821.7SrumbleSUBDIR+= puffs 831.15SadSUBDIR+= putter 841.44SpgoyetteSUBDIR+= scsiverbose 851.103SpgoyetteSUBDIR+= sdtemp 861.33SeladSUBDIR+= secmodel_bsd44 871.100SjymSUBDIR+= secmodel_extensions 881.33SeladSUBDIR+= secmodel_overlay 891.33SeladSUBDIR+= securelevel 901.133SpgoyetteSUBDIR+= skipjack 911.7SrumbleSUBDIR+= smbfs 921.81SpgoyetteSUBDIR+= spdmem 931.146SpgoyetteSUBDIR+= sysmon 941.146SpgoyetteSUBDIR+= sysmon_envsys 951.146SpgoyetteSUBDIR+= sysmon_power 961.146SpgoyetteSUBDIR+= sysmon_taskq 971.146SpgoyetteSUBDIR+= sysmon_wdog 981.24SpookaSUBDIR+= sysvbfs 991.33SeladSUBDIR+= suser 1001.134SpgoyetteSUBDIR+= swcrypto 1011.48SpgoyetteSUBDIR+= swsensor 1021.145SpgoyetteSUBDIR+= swwdog 1031.7SrumbleSUBDIR+= tmpfs 1041.108SriastradSUBDIR+= uatp 1051.7SrumbleSUBDIR+= udf 1061.18SadSUBDIR+= umap 1071.7SrumbleSUBDIR+= union 1081.43SpgoyetteSUBDIR+= usbverbose 1091.106SchristosSUBDIR+= vcoda 1101.78SenamiSUBDIR+= v7fs 1111.25ShaadSUBDIR+= vnd 1121.131SpgoyetteSUBDIR+= zlib 1131.29SyamtSUBDIR+= tprof 1141.7Srumble.if (defined(NOTYET)) 1151.135SpgoyetteSUBDIR+= hifn # Builds on architectures with PCI bus 1161.7SrumbleSUBDIR+= unionfs 1171.7Srumble.endif 1181.37Sdyoung.if ${MKBINUTILS} != "no" 1191.37SdyoungSUBDIR+= xldscripts 1201.37Sdyoung.endif 1211.7Srumble 1221.15Sad# Machine dependent section 1231.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1241.49Stsutsui ${MACHINE_CPU} == "m68k" 1251.47StsutsuiSUBDIR+= exec_aout 1261.47Stsutsui.endif 1271.47Stsutsui 1281.139Smatt.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_CPU} != "aarch64" 1291.17SmartinSUBDIR+= exec_elf32 1301.17Smartin.endif 1311.15Sad 1321.139Smatt.if ${MACHINE_CPU} == "aarch64" || \ 1331.139Smatt ${MACHINE_ARCH} == "alpha" || \ 1341.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1351.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1361.20SheSUBDIR+= exec_elf64 1371.20She.endif 1381.20She 1391.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1401.29Syamt ${MACHINE_ARCH} == "x86_64" 1411.71SjruohoSUBDIR+= amdtemp 1421.64SjruohoSUBDIR+= coretemp 1431.65SjruohoSUBDIR+= est 1441.110SmartinSUBDIR+= hdafg 1451.110SmartinSUBDIR+= hdaudio 1461.144SjmcneillSUBDIR+= hdaudio_pci 1471.141SchristosSUBDIR+= hdaudioverbose 1481.72SjruohoSUBDIR+= hpet 1491.69SjruohoSUBDIR+= odcm 1501.66SjruohoSUBDIR+= powernow 1511.150SpgoyetteSUBDIR+= tco 1521.29SyamtSUBDIR+= tprof_pmi 1531.70SyamtSUBDIR+= tprof_amdpmi 1541.95SjmcneillSUBDIR+= vmt 1551.29Syamt.endif 1561.29Syamt 1571.140Sbad.if ${MACHINE_ARCH} == "i386" || \ 1581.137Sbad ${MACHINE_ARCH} == "x86_64" 1591.137SbadSUBDIR+= ubsec # Builds on architectures with PCI bus 1601.137Sbad.endif 1611.137Sbad 1621.126Salnsn.if ${MKSLJIT} != "no" 1631.126Salnsn# No modules for arm, mips and powerpc yet. 1641.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1651.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1661.115Salnsn ${MACHINE_ARCH} == "sparc" 1671.113SalnsnSUBDIR+= bpfjit 1681.112SalnsnSUBDIR+= sljit 1691.112Salnsn.endif 1701.126Salnsn.endif 1711.112Salnsn 1721.85Sjruoho# 1731.85Sjruoho# ACPI modules 1741.85Sjruoho# 1751.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1761.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1771.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1781.46SpgoyetteSUBDIR+= acpiverbose 1791.46Spgoyette.endif 1801.46Spgoyette 1811.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1821.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1831.52SjruohoSUBDIR+= acpiacad 1841.52SjruohoSUBDIR+= acpibat 1851.52SjruohoSUBDIR+= acpibut 1861.52SjruohoSUBDIR+= acpicpu 1871.53SjruohoSUBDIR+= acpidalb 1881.58SjruohoSUBDIR+= acpifan 1891.52SjruohoSUBDIR+= acpilid 1901.57SjruohoSUBDIR+= acpipmtr 1911.53SjruohoSUBDIR+= acpitz 1921.53SjruohoSUBDIR+= acpivga 1931.86SjruohoSUBDIR+= acpiwdrt 1941.51SjmcneillSUBDIR+= acpiwmi 1951.53SjruohoSUBDIR+= aibs 1961.54SjruohoSUBDIR+= asus 1971.63SjruohoSUBDIR+= fujbp 1981.63SjruohoSUBDIR+= fujhk 1991.75SjruohoSUBDIR+= hpacel 2001.54SjruohoSUBDIR+= hpqlb 2011.52SjruohoSUBDIR+= thinkpad 2021.50SjmcneillSUBDIR+= wmidell 2031.83SjruohoSUBDIR+= wmieeepc 2041.50SjmcneillSUBDIR+= wmihp 2051.50SjmcneillSUBDIR+= wmimsi 2061.50Sjmcneill.endif 2071.50Sjmcneill 2081.151Smatt.if ${MACHINE_CPU} == "arm" || !empty(MACHINE_ARCH:Mmips64*) 2091.151SmattSUBDIR+= compat_netbsd32 2101.151Smatt.endif 2111.151Smatt 2121.27Sabs.if ${MACHINE_ARCH} == "x86_64" 2131.15SadSUBDIR+= compat_linux32 2141.15SadSUBDIR+= compat_netbsd32 2151.15Sad.endif 2161.15Sad 2171.27Sabs.if ${MACHINE_ARCH} == "i386" 2181.90SjmcneillSUBDIR+= ati_pcigart 2191.15SadSUBDIR+= compat_freebsd 2201.15SadSUBDIR+= compat_ibcs2 2211.15SadSUBDIR+= compat_svr4 2221.90SjmcneillSUBDIR+= mach64drm 2231.90SjmcneillSUBDIR+= mgadrm 2241.76SjmcneillSUBDIR+= nsclpcsio 2251.62SjmcneillSUBDIR+= padlock 2261.90SjmcneillSUBDIR+= r128drm 2271.90SjmcneillSUBDIR+= radeondrm 2281.90SjmcneillSUBDIR+= savagedrm 2291.90SjmcneillSUBDIR+= sisdrm 2301.90SjmcneillSUBDIR+= tdfxdrm 2311.67SjruohoSUBDIR+= viac7temp 2321.90SjmcneillSUBDIR+= viadrm 2331.149SriastradSUBDIR+= viadrmums 2341.15Sad.endif 2351.15Sad 2361.142Schristos.if ${MACHINE_ARCH} == "i386" || \ 2371.142Schristos ${MACHINE_ARCH} == "x86_64" 2381.142SchristosSUBDIR+= azalia 2391.142SchristosSUBDIR+= compat_linux 2401.142SchristosSUBDIR+= drm 2411.142SchristosSUBDIR+= drmkms 2421.142SchristosSUBDIR+= drmkms_linux 2431.142SchristosSUBDIR+= drmkms_pci 2441.142SchristosSUBDIR+= i915drm 2451.142SchristosSUBDIR+= i915drmkms 2461.142SchristosSUBDIR+= pad 2471.85Sjruoho# 2481.85Sjruoho# ISA modules 2491.85Sjruoho# 2501.59SjmcneillSUBDIR+= aps 2511.80SjmcneillSUBDIR+= finsio 2521.79SjmcneillSUBDIR+= itesio 2531.101SjakllschSUBDIR+= lm 2541.101SjakllschSUBDIR+= lm_isa 2551.101SjakllschSUBDIR+= lm_isa_common 2561.101SjakllschSUBDIR+= lm_wbsio 2571.101SjakllschSUBDIR+= wbsio 2581.56Sjmcneill.endif 2591.56Sjmcneill 2601.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2611.47StsutsuiSUBDIR+= compat_aoutm68k 2621.47Stsutsui#SUBDIR+= compat_linux 2631.47Stsutsui#SUBDIR+= compat_sunos 2641.47Stsutsui#SUBDIR+= compat_svr4 2651.47Stsutsui.endif 2661.47Stsutsui 2671.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2681.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2691.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2701.88SmbalmerSUBDIR+= pwdog 2711.88Smbalmer.endif 2721.88Smbalmer 2731.23Sagc.include <bsd.own.mk> 2741.23Sagc 2751.107Sreinoud# 2761.107Sreinoud# NetBSD/usermode support 2771.107Sreinoud# 2781.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2791.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2801.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2811.107Sreinoud.endif 2821.107Sreinoud 2831.23Sagc# we need our device mapper for LVM 2841.23Sagc.if (${MKLVM} != "no") 2851.28SyamtSUBDIR+= dm 2861.23Sagc.endif 2871.23Sagc 2881.39Sdarran.if (${MKDTRACE} != "no") 2891.116SchsSUBDIR+= cyclic 2901.39SdarranSUBDIR+= dtrace 2911.39Sdarran.endif 2921.39Sdarran 2931.39Sdarran# we need solaris for the dtrace and zfs modules 2941.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2951.39SdarranSUBDIR+= solaris 2961.39Sdarran.endif 2971.39Sdarran 2981.34Shaad.if (${MKZFS} != "no") 2991.34ShaadSUBDIR+= zfs 3001.34Shaad.endif 3011.34Shaad 3021.73Smrg.if (${MKCOMPATMODULES} != "no") 3031.73SmrgSUBDIR+= arch 3041.73Smrg.endif 3051.73Smrg 3061.84Sjmcneill# 3071.84Sjmcneill# DTV modules 3081.84Sjmcneill# 3091.84SjmcneillSUBDIR+= dtv 3101.84SjmcneillSUBDIR+= dtv_math 3111.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 3121.84Sjmcneill# tuners/demods 3131.84SjmcneillSUBDIR+= au8522 3141.84SjmcneillSUBDIR+= cx24227 3151.84SjmcneillSUBDIR+= lg3303 3161.84SjmcneillSUBDIR+= mt2131 3171.84SjmcneillSUBDIR+= nxt2k 3181.84SjmcneillSUBDIR+= tvpll 3191.84SjmcneillSUBDIR+= xc3028 3201.84SjmcneillSUBDIR+= xc5k 3211.91SjruohoSUBDIR+= zl10353 3221.84Sjmcneill# hardware drivers 3231.84SjmcneillSUBDIR+= auvitek 3241.84SjmcneillSUBDIR+= coram 3251.84SjmcneillSUBDIR+= cxdtv 3261.84SjmcneillSUBDIR+= emdtv 3271.84Sjmcneill.endif 3281.84Sjmcneill 3291.98Sriz.if (${MKISCSI} != "no") 3301.98SrizSUBDIR+= iscsi 3311.98Sriz.endif 3321.98Sriz 3331.1Sad.include <bsd.subdir.mk> 334