Makefile revision 1.144
11.144Sjmcneill# $NetBSD: Makefile,v 1.144 2015/03/28 14:09:58 jmcneill 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.24SpookaSUBDIR+= sysvbfs 931.33SeladSUBDIR+= suser 941.134SpgoyetteSUBDIR+= swcrypto 951.48SpgoyetteSUBDIR+= swsensor 961.7SrumbleSUBDIR+= tmpfs 971.108SriastradSUBDIR+= uatp 981.7SrumbleSUBDIR+= udf 991.18SadSUBDIR+= umap 1001.7SrumbleSUBDIR+= union 1011.43SpgoyetteSUBDIR+= usbverbose 1021.106SchristosSUBDIR+= vcoda 1031.78SenamiSUBDIR+= v7fs 1041.25ShaadSUBDIR+= vnd 1051.131SpgoyetteSUBDIR+= zlib 1061.29SyamtSUBDIR+= tprof 1071.7Srumble.if (defined(NOTYET)) 1081.135SpgoyetteSUBDIR+= hifn # Builds on architectures with PCI bus 1091.7SrumbleSUBDIR+= unionfs 1101.7Srumble.endif 1111.37Sdyoung.if ${MKBINUTILS} != "no" 1121.37SdyoungSUBDIR+= xldscripts 1131.37Sdyoung.endif 1141.7Srumble 1151.15Sad# Machine dependent section 1161.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1171.49Stsutsui ${MACHINE_CPU} == "m68k" 1181.47StsutsuiSUBDIR+= exec_aout 1191.47Stsutsui.endif 1201.47Stsutsui 1211.139Smatt.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_CPU} != "aarch64" 1221.17SmartinSUBDIR+= exec_elf32 1231.17Smartin.endif 1241.15Sad 1251.139Smatt.if ${MACHINE_CPU} == "aarch64" || \ 1261.139Smatt ${MACHINE_ARCH} == "alpha" || \ 1271.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1281.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1291.20SheSUBDIR+= exec_elf64 1301.20She.endif 1311.20She 1321.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1331.29Syamt ${MACHINE_ARCH} == "x86_64" 1341.71SjruohoSUBDIR+= amdtemp 1351.64SjruohoSUBDIR+= coretemp 1361.65SjruohoSUBDIR+= est 1371.110SmartinSUBDIR+= hdafg 1381.110SmartinSUBDIR+= hdaudio 1391.144SjmcneillSUBDIR+= hdaudio_pci 1401.141SchristosSUBDIR+= hdaudioverbose 1411.72SjruohoSUBDIR+= hpet 1421.69SjruohoSUBDIR+= odcm 1431.66SjruohoSUBDIR+= powernow 1441.29SyamtSUBDIR+= tprof_pmi 1451.70SyamtSUBDIR+= tprof_amdpmi 1461.95SjmcneillSUBDIR+= vmt 1471.29Syamt.endif 1481.29Syamt 1491.140Sbad.if ${MACHINE_ARCH} == "i386" || \ 1501.137Sbad ${MACHINE_ARCH} == "x86_64" 1511.137SbadSUBDIR+= ubsec # Builds on architectures with PCI bus 1521.137Sbad.endif 1531.137Sbad 1541.126Salnsn.if ${MKSLJIT} != "no" 1551.126Salnsn# No modules for arm, mips and powerpc yet. 1561.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1571.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1581.115Salnsn ${MACHINE_ARCH} == "sparc" 1591.113SalnsnSUBDIR+= bpfjit 1601.112SalnsnSUBDIR+= sljit 1611.112Salnsn.endif 1621.126Salnsn.endif 1631.112Salnsn 1641.85Sjruoho# 1651.85Sjruoho# ACPI modules 1661.85Sjruoho# 1671.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1681.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1691.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1701.46SpgoyetteSUBDIR+= acpiverbose 1711.46Spgoyette.endif 1721.46Spgoyette 1731.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1741.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1751.52SjruohoSUBDIR+= acpiacad 1761.52SjruohoSUBDIR+= acpibat 1771.52SjruohoSUBDIR+= acpibut 1781.52SjruohoSUBDIR+= acpicpu 1791.53SjruohoSUBDIR+= acpidalb 1801.58SjruohoSUBDIR+= acpifan 1811.52SjruohoSUBDIR+= acpilid 1821.57SjruohoSUBDIR+= acpipmtr 1831.53SjruohoSUBDIR+= acpitz 1841.53SjruohoSUBDIR+= acpivga 1851.86SjruohoSUBDIR+= acpiwdrt 1861.51SjmcneillSUBDIR+= acpiwmi 1871.53SjruohoSUBDIR+= aibs 1881.54SjruohoSUBDIR+= asus 1891.63SjruohoSUBDIR+= fujbp 1901.63SjruohoSUBDIR+= fujhk 1911.75SjruohoSUBDIR+= hpacel 1921.54SjruohoSUBDIR+= hpqlb 1931.52SjruohoSUBDIR+= thinkpad 1941.50SjmcneillSUBDIR+= wmidell 1951.83SjruohoSUBDIR+= wmieeepc 1961.50SjmcneillSUBDIR+= wmihp 1971.50SjmcneillSUBDIR+= wmimsi 1981.50Sjmcneill.endif 1991.50Sjmcneill 2001.27Sabs.if ${MACHINE_ARCH} == "x86_64" 2011.15SadSUBDIR+= compat_linux32 2021.15SadSUBDIR+= compat_netbsd32 2031.15Sad.endif 2041.15Sad 2051.27Sabs.if ${MACHINE_ARCH} == "i386" 2061.90SjmcneillSUBDIR+= ati_pcigart 2071.15SadSUBDIR+= compat_freebsd 2081.15SadSUBDIR+= compat_ibcs2 2091.15SadSUBDIR+= compat_svr4 2101.90SjmcneillSUBDIR+= mach64drm 2111.90SjmcneillSUBDIR+= mgadrm 2121.76SjmcneillSUBDIR+= nsclpcsio 2131.62SjmcneillSUBDIR+= padlock 2141.90SjmcneillSUBDIR+= r128drm 2151.90SjmcneillSUBDIR+= radeondrm 2161.90SjmcneillSUBDIR+= savagedrm 2171.90SjmcneillSUBDIR+= sisdrm 2181.90SjmcneillSUBDIR+= tdfxdrm 2191.67SjruohoSUBDIR+= viac7temp 2201.90SjmcneillSUBDIR+= viadrm 2211.15Sad.endif 2221.15Sad 2231.142Schristos.if ${MACHINE_ARCH} == "i386" || \ 2241.142Schristos ${MACHINE_ARCH} == "x86_64" 2251.142SchristosSUBDIR+= azalia 2261.142SchristosSUBDIR+= compat_linux 2271.142SchristosSUBDIR+= drm 2281.142SchristosSUBDIR+= drmkms 2291.142SchristosSUBDIR+= drmkms_linux 2301.142SchristosSUBDIR+= drmkms_pci 2311.142SchristosSUBDIR+= i915drm 2321.142SchristosSUBDIR+= i915drmkms 2331.142SchristosSUBDIR+= pad 2341.85Sjruoho# 2351.85Sjruoho# ISA modules 2361.85Sjruoho# 2371.59SjmcneillSUBDIR+= aps 2381.80SjmcneillSUBDIR+= finsio 2391.79SjmcneillSUBDIR+= itesio 2401.101SjakllschSUBDIR+= lm 2411.101SjakllschSUBDIR+= lm_isa 2421.101SjakllschSUBDIR+= lm_isa_common 2431.101SjakllschSUBDIR+= lm_wbsio 2441.101SjakllschSUBDIR+= wbsio 2451.56Sjmcneill.endif 2461.56Sjmcneill 2471.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2481.47StsutsuiSUBDIR+= compat_aoutm68k 2491.47Stsutsui#SUBDIR+= compat_linux 2501.47Stsutsui#SUBDIR+= compat_sunos 2511.47Stsutsui#SUBDIR+= compat_svr4 2521.47Stsutsui.endif 2531.47Stsutsui 2541.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2551.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2561.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2571.88SmbalmerSUBDIR+= pwdog 2581.88Smbalmer.endif 2591.88Smbalmer 2601.23Sagc.include <bsd.own.mk> 2611.23Sagc 2621.107Sreinoud# 2631.107Sreinoud# NetBSD/usermode support 2641.107Sreinoud# 2651.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2661.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2671.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2681.107Sreinoud.endif 2691.107Sreinoud 2701.23Sagc# we need our device mapper for LVM 2711.23Sagc.if (${MKLVM} != "no") 2721.28SyamtSUBDIR+= dm 2731.23Sagc.endif 2741.23Sagc 2751.39Sdarran.if (${MKDTRACE} != "no") 2761.116SchsSUBDIR+= cyclic 2771.39SdarranSUBDIR+= dtrace 2781.39Sdarran.endif 2791.39Sdarran 2801.39Sdarran# we need solaris for the dtrace and zfs modules 2811.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2821.39SdarranSUBDIR+= solaris 2831.39Sdarran.endif 2841.39Sdarran 2851.34Shaad.if (${MKZFS} != "no") 2861.34ShaadSUBDIR+= zfs 2871.34Shaad.endif 2881.34Shaad 2891.73Smrg.if (${MKCOMPATMODULES} != "no") 2901.73SmrgSUBDIR+= arch 2911.73Smrg.endif 2921.73Smrg 2931.84Sjmcneill# 2941.84Sjmcneill# DTV modules 2951.84Sjmcneill# 2961.84SjmcneillSUBDIR+= dtv 2971.84SjmcneillSUBDIR+= dtv_math 2981.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2991.84Sjmcneill# tuners/demods 3001.84SjmcneillSUBDIR+= au8522 3011.84SjmcneillSUBDIR+= cx24227 3021.84SjmcneillSUBDIR+= lg3303 3031.84SjmcneillSUBDIR+= mt2131 3041.84SjmcneillSUBDIR+= nxt2k 3051.84SjmcneillSUBDIR+= tvpll 3061.84SjmcneillSUBDIR+= xc3028 3071.84SjmcneillSUBDIR+= xc5k 3081.91SjruohoSUBDIR+= zl10353 3091.84Sjmcneill# hardware drivers 3101.84SjmcneillSUBDIR+= auvitek 3111.84SjmcneillSUBDIR+= coram 3121.84SjmcneillSUBDIR+= cxdtv 3131.84SjmcneillSUBDIR+= emdtv 3141.84Sjmcneill.endif 3151.84Sjmcneill 3161.98Sriz.if (${MKISCSI} != "no") 3171.98SrizSUBDIR+= iscsi 3181.98Sriz.endif 3191.98Sriz 3201.1Sad.include <bsd.subdir.mk> 321