Makefile revision 1.139
11.139Smatt# $NetBSD: Makefile,v 1.139 2014/08/10 05:57:31 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.105SpgoyetteSUBDIR+= if_axe 441.120SnonakaSUBDIR+= if_axen 451.118SchristosSUBDIR+= if_npflog 461.124SskrllSUBDIR+= if_smsc 471.94SmbalmerSUBDIR+= iic 481.7SrumbleSUBDIR+= kernfs 491.22SadSUBDIR+= layerfs 501.7SrumbleSUBDIR+= lfs 511.121SmbalmerSUBDIR+= lua 521.128SlnetoSUBDIR+= luasystm 531.123SmbalmerSUBDIR+= luapmf 541.7SrumbleSUBDIR+= mfs 551.45SpgoyetteSUBDIR+= miiverbose 561.45SpgoyetteSUBDIR+= miniroot 571.31SrmindSUBDIR+= mqueue 581.18SadSUBDIR+= msdos 591.68SahokaSUBDIR+= nand 601.68SahokaSUBDIR+= nandemulator 611.15SadSUBDIR+= nfs 621.15SadSUBDIR+= nfsserver 631.30SreinoudSUBDIR+= nilfs 641.96StronSUBDIR+= npf 651.97StronSUBDIR+= npf_alg_icmp 661.111SrmindSUBDIR+= npf_ext_log 671.119SchristosSUBDIR+= npf_ext_normalize 681.117SrmindSUBDIR+= npf_ext_rndblock 691.7SrumbleSUBDIR+= ntfs 701.18SadSUBDIR+= null 711.92SmbalmerSUBDIR+= onewire 721.134SpgoyetteSUBDIR+= opencrypto 731.7SrumbleSUBDIR+= overlay 741.42SpgoyetteSUBDIR+= pciverbose 751.41SahokaSUBDIR+= pf 761.19ScubeSUBDIR+= ppp_bsdcomp 771.19ScubeSUBDIR+= ppp_deflate 781.7SrumbleSUBDIR+= procfs 791.7SrumbleSUBDIR+= ptyfs 801.7SrumbleSUBDIR+= puffs 811.15SadSUBDIR+= putter 821.44SpgoyetteSUBDIR+= scsiverbose 831.103SpgoyetteSUBDIR+= sdtemp 841.33SeladSUBDIR+= secmodel_bsd44 851.100SjymSUBDIR+= secmodel_extensions 861.33SeladSUBDIR+= secmodel_overlay 871.33SeladSUBDIR+= securelevel 881.133SpgoyetteSUBDIR+= skipjack 891.7SrumbleSUBDIR+= smbfs 901.81SpgoyetteSUBDIR+= spdmem 911.24SpookaSUBDIR+= sysvbfs 921.33SeladSUBDIR+= suser 931.134SpgoyetteSUBDIR+= swcrypto 941.48SpgoyetteSUBDIR+= swsensor 951.7SrumbleSUBDIR+= tmpfs 961.108SriastradSUBDIR+= uatp 971.7SrumbleSUBDIR+= udf 981.18SadSUBDIR+= umap 991.7SrumbleSUBDIR+= union 1001.43SpgoyetteSUBDIR+= usbverbose 1011.106SchristosSUBDIR+= vcoda 1021.78SenamiSUBDIR+= v7fs 1031.25ShaadSUBDIR+= vnd 1041.131SpgoyetteSUBDIR+= zlib 1051.29SyamtSUBDIR+= tprof 1061.7Srumble.if (defined(NOTYET)) 1071.135SpgoyetteSUBDIR+= hifn # Builds on architectures with PCI bus 1081.7SrumbleSUBDIR+= unionfs 1091.7Srumble.endif 1101.37Sdyoung.if ${MKBINUTILS} != "no" 1111.37SdyoungSUBDIR+= xldscripts 1121.37Sdyoung.endif 1131.7Srumble 1141.15Sad# Machine dependent section 1151.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1161.49Stsutsui ${MACHINE_CPU} == "m68k" 1171.47StsutsuiSUBDIR+= exec_aout 1181.47Stsutsui.endif 1191.47Stsutsui 1201.139Smatt.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_CPU} != "aarch64" 1211.17SmartinSUBDIR+= exec_elf32 1221.17Smartin.endif 1231.15Sad 1241.139Smatt.if ${MACHINE_CPU} == "aarch64" || \ 1251.139Smatt ${MACHINE_ARCH} == "alpha" || \ 1261.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1271.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1281.20SheSUBDIR+= exec_elf64 1291.20She.endif 1301.20She 1311.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1321.29Syamt ${MACHINE_ARCH} == "x86_64" 1331.71SjruohoSUBDIR+= amdtemp 1341.64SjruohoSUBDIR+= coretemp 1351.65SjruohoSUBDIR+= est 1361.110SmartinSUBDIR+= hdafg 1371.110SmartinSUBDIR+= hdaudio 1381.72SjruohoSUBDIR+= hpet 1391.69SjruohoSUBDIR+= odcm 1401.66SjruohoSUBDIR+= powernow 1411.29SyamtSUBDIR+= tprof_pmi 1421.70SyamtSUBDIR+= tprof_amdpmi 1431.95SjmcneillSUBDIR+= vmt 1441.29Syamt.endif 1451.29Syamt 1461.137Sbad.if ${MACHINE_ARCH} == "alpha" || \ 1471.138Sriz !empty(MACHINE_ARCH:Mearm*) || !empty(MACHINE_ARCH:Marm*) || \ 1481.137Sbad ${MACHINE_ARCH} == "i386" || \ 1491.137Sbad ${MACHINE_ARCH} == "ia64" || \ 1501.137Sbad ${MACHINE_ARCH} == "hppa" || \ 1511.138Sriz !empty(MACHINE_ARCH:Mmips*) || \ 1521.137Sbad ${MACHINE_ARCH} == "sparc" || \ 1531.137Sbad ${MACHINE_ARCH} == "sparc64" || \ 1541.137Sbad ${MACHINE_ARCH} == "x86_64" 1551.137SbadSUBDIR+= ubsec # Builds on architectures with PCI bus 1561.137Sbad.endif 1571.137Sbad 1581.126Salnsn.if ${MKSLJIT} != "no" 1591.126Salnsn# No modules for arm, mips and powerpc yet. 1601.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1611.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1621.115Salnsn ${MACHINE_ARCH} == "sparc" 1631.113SalnsnSUBDIR+= bpfjit 1641.112SalnsnSUBDIR+= sljit 1651.112Salnsn.endif 1661.126Salnsn.endif 1671.112Salnsn 1681.85Sjruoho# 1691.85Sjruoho# ACPI modules 1701.85Sjruoho# 1711.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1721.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1731.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1741.46SpgoyetteSUBDIR+= acpiverbose 1751.46Spgoyette.endif 1761.46Spgoyette 1771.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1781.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1791.52SjruohoSUBDIR+= acpiacad 1801.52SjruohoSUBDIR+= acpibat 1811.52SjruohoSUBDIR+= acpibut 1821.52SjruohoSUBDIR+= acpicpu 1831.53SjruohoSUBDIR+= acpidalb 1841.58SjruohoSUBDIR+= acpifan 1851.52SjruohoSUBDIR+= acpilid 1861.57SjruohoSUBDIR+= acpipmtr 1871.53SjruohoSUBDIR+= acpitz 1881.53SjruohoSUBDIR+= acpivga 1891.86SjruohoSUBDIR+= acpiwdrt 1901.51SjmcneillSUBDIR+= acpiwmi 1911.53SjruohoSUBDIR+= aibs 1921.54SjruohoSUBDIR+= asus 1931.63SjruohoSUBDIR+= fujbp 1941.63SjruohoSUBDIR+= fujhk 1951.75SjruohoSUBDIR+= hpacel 1961.54SjruohoSUBDIR+= hpqlb 1971.52SjruohoSUBDIR+= thinkpad 1981.50SjmcneillSUBDIR+= wmidell 1991.83SjruohoSUBDIR+= wmieeepc 2001.50SjmcneillSUBDIR+= wmihp 2011.50SjmcneillSUBDIR+= wmimsi 2021.50Sjmcneill.endif 2031.50Sjmcneill 2041.27Sabs.if ${MACHINE_ARCH} == "x86_64" 2051.15SadSUBDIR+= azalia 2061.15SadSUBDIR+= compat_linux 2071.15SadSUBDIR+= compat_linux32 2081.15SadSUBDIR+= compat_netbsd32 2091.15SadSUBDIR+= drm 2101.15SadSUBDIR+= i915drm 2111.40SahokaSUBDIR+= pad 2121.15Sad.endif 2131.15Sad 2141.27Sabs.if ${MACHINE_ARCH} == "i386" 2151.90SjmcneillSUBDIR+= ati_pcigart 2161.15SadSUBDIR+= azalia 2171.15SadSUBDIR+= compat_freebsd 2181.15SadSUBDIR+= compat_ibcs2 2191.15SadSUBDIR+= compat_linux 2201.15SadSUBDIR+= compat_svr4 2211.15SadSUBDIR+= drm 2221.15SadSUBDIR+= i915drm 2231.90SjmcneillSUBDIR+= mach64drm 2241.90SjmcneillSUBDIR+= mgadrm 2251.76SjmcneillSUBDIR+= nsclpcsio 2261.40SahokaSUBDIR+= pad 2271.62SjmcneillSUBDIR+= padlock 2281.90SjmcneillSUBDIR+= r128drm 2291.90SjmcneillSUBDIR+= radeondrm 2301.90SjmcneillSUBDIR+= savagedrm 2311.90SjmcneillSUBDIR+= sisdrm 2321.90SjmcneillSUBDIR+= tdfxdrm 2331.67SjruohoSUBDIR+= viac7temp 2341.90SjmcneillSUBDIR+= viadrm 2351.15Sad.endif 2361.15Sad 2371.85Sjruoho# 2381.85Sjruoho# ISA modules 2391.85Sjruoho# 2401.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2411.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2421.59SjmcneillSUBDIR+= aps 2431.80SjmcneillSUBDIR+= finsio 2441.79SjmcneillSUBDIR+= itesio 2451.101SjakllschSUBDIR+= lm 2461.101SjakllschSUBDIR+= lm_isa 2471.101SjakllschSUBDIR+= lm_isa_common 2481.101SjakllschSUBDIR+= lm_wbsio 2491.101SjakllschSUBDIR+= wbsio 2501.56Sjmcneill.endif 2511.56Sjmcneill 2521.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2531.47StsutsuiSUBDIR+= compat_aoutm68k 2541.47Stsutsui#SUBDIR+= compat_linux 2551.47Stsutsui#SUBDIR+= compat_sunos 2561.47Stsutsui#SUBDIR+= compat_svr4 2571.47Stsutsui.endif 2581.47Stsutsui 2591.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2601.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2611.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2621.88SmbalmerSUBDIR+= pwdog 2631.88Smbalmer.endif 2641.88Smbalmer 2651.23Sagc.include <bsd.own.mk> 2661.23Sagc 2671.107Sreinoud# 2681.107Sreinoud# NetBSD/usermode support 2691.107Sreinoud# 2701.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2711.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2721.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2731.107Sreinoud.endif 2741.107Sreinoud 2751.23Sagc# we need our device mapper for LVM 2761.23Sagc.if (${MKLVM} != "no") 2771.28SyamtSUBDIR+= dm 2781.23Sagc.endif 2791.23Sagc 2801.39Sdarran.if (${MKDTRACE} != "no") 2811.116SchsSUBDIR+= cyclic 2821.39SdarranSUBDIR+= dtrace 2831.39Sdarran.endif 2841.39Sdarran 2851.39Sdarran# we need solaris for the dtrace and zfs modules 2861.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2871.39SdarranSUBDIR+= solaris 2881.39Sdarran.endif 2891.39Sdarran 2901.34Shaad.if (${MKZFS} != "no") 2911.34ShaadSUBDIR+= zfs 2921.34Shaad.endif 2931.34Shaad 2941.73Smrg.if (${MKCOMPATMODULES} != "no") 2951.73SmrgSUBDIR+= arch 2961.73Smrg.endif 2971.73Smrg 2981.84Sjmcneill# 2991.84Sjmcneill# DTV modules 3001.84Sjmcneill# 3011.84SjmcneillSUBDIR+= dtv 3021.84SjmcneillSUBDIR+= dtv_math 3031.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 3041.84Sjmcneill# tuners/demods 3051.84SjmcneillSUBDIR+= au8522 3061.84SjmcneillSUBDIR+= cx24227 3071.84SjmcneillSUBDIR+= lg3303 3081.84SjmcneillSUBDIR+= mt2131 3091.84SjmcneillSUBDIR+= nxt2k 3101.84SjmcneillSUBDIR+= tvpll 3111.84SjmcneillSUBDIR+= xc3028 3121.84SjmcneillSUBDIR+= xc5k 3131.91SjruohoSUBDIR+= zl10353 3141.84Sjmcneill# hardware drivers 3151.84SjmcneillSUBDIR+= auvitek 3161.84SjmcneillSUBDIR+= coram 3171.84SjmcneillSUBDIR+= cxdtv 3181.84SjmcneillSUBDIR+= emdtv 3191.84Sjmcneill.endif 3201.84Sjmcneill 3211.98Sriz.if (${MKISCSI} != "no") 3221.98SrizSUBDIR+= iscsi 3231.98Sriz.endif 3241.98Sriz 3251.1Sad.include <bsd.subdir.mk> 326