Makefile revision 1.128
11.128Slneto# $NetBSD: Makefile,v 1.128 2013/12/16 23:54:26 lneto 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.38SpookaSUBDIR+= bpf 121.7SrumbleSUBDIR+= cd9660 131.7SrumbleSUBDIR+= coda 141.7SrumbleSUBDIR+= coda5 151.15SadSUBDIR+= compat 161.15SadSUBDIR+= compat_ossaudio 171.15SadSUBDIR+= coredump 181.99SahokaSUBDIR+= chfs 191.104SpgoyetteSUBDIR+= dbcool 201.7SrumbleSUBDIR+= efs 211.7SrumbleSUBDIR+= ext2fs 221.15SadSUBDIR+= exec_script 231.7SrumbleSUBDIR+= fdesc 241.7SrumbleSUBDIR+= ffs 251.18SadSUBDIR+= filecore 261.93SsjgSUBDIR+= filemon 271.68SahokaSUBDIR+= flash 281.15SadSUBDIR+= fss 291.89SmbalmerSUBDIR+= gpio 301.94SmbalmerSUBDIR+= gpioiic 311.92SmbalmerSUBDIR+= gpioow 321.89SmbalmerSUBDIR+= gpiosim 331.7SrumbleSUBDIR+= hfs 341.105SpgoyetteSUBDIR+= if_axe 351.120SnonakaSUBDIR+= if_axen 361.118SchristosSUBDIR+= if_npflog 371.124SskrllSUBDIR+= if_smsc 381.94SmbalmerSUBDIR+= iic 391.7SrumbleSUBDIR+= kernfs 401.22SadSUBDIR+= layerfs 411.7SrumbleSUBDIR+= lfs 421.121SmbalmerSUBDIR+= lua 431.128SlnetoSUBDIR+= luasystm 441.123SmbalmerSUBDIR+= luapmf 451.7SrumbleSUBDIR+= mfs 461.45SpgoyetteSUBDIR+= miiverbose 471.45SpgoyetteSUBDIR+= miniroot 481.31SrmindSUBDIR+= mqueue 491.18SadSUBDIR+= msdos 501.68SahokaSUBDIR+= nand 511.68SahokaSUBDIR+= nandemulator 521.15SadSUBDIR+= nfs 531.15SadSUBDIR+= nfsserver 541.30SreinoudSUBDIR+= nilfs 551.96StronSUBDIR+= npf 561.97StronSUBDIR+= npf_alg_icmp 571.111SrmindSUBDIR+= npf_ext_log 581.119SchristosSUBDIR+= npf_ext_normalize 591.117SrmindSUBDIR+= npf_ext_rndblock 601.7SrumbleSUBDIR+= ntfs 611.18SadSUBDIR+= null 621.92SmbalmerSUBDIR+= onewire 631.7SrumbleSUBDIR+= overlay 641.42SpgoyetteSUBDIR+= pciverbose 651.41SahokaSUBDIR+= pf 661.19ScubeSUBDIR+= ppp_bsdcomp 671.19ScubeSUBDIR+= ppp_deflate 681.7SrumbleSUBDIR+= procfs 691.7SrumbleSUBDIR+= ptyfs 701.7SrumbleSUBDIR+= puffs 711.15SadSUBDIR+= putter 721.44SpgoyetteSUBDIR+= scsiverbose 731.103SpgoyetteSUBDIR+= sdtemp 741.33SeladSUBDIR+= secmodel_bsd44 751.100SjymSUBDIR+= secmodel_extensions 761.33SeladSUBDIR+= secmodel_overlay 771.33SeladSUBDIR+= securelevel 781.7SrumbleSUBDIR+= smbfs 791.81SpgoyetteSUBDIR+= spdmem 801.24SpookaSUBDIR+= sysvbfs 811.33SeladSUBDIR+= suser 821.48SpgoyetteSUBDIR+= swsensor 831.7SrumbleSUBDIR+= tmpfs 841.108SriastradSUBDIR+= uatp 851.7SrumbleSUBDIR+= udf 861.18SadSUBDIR+= umap 871.7SrumbleSUBDIR+= union 881.43SpgoyetteSUBDIR+= usbverbose 891.106SchristosSUBDIR+= vcoda 901.78SenamiSUBDIR+= v7fs 911.25ShaadSUBDIR+= vnd 921.29SyamtSUBDIR+= tprof 931.7Srumble.if (defined(NOTYET)) 941.7SrumbleSUBDIR+= unionfs 951.7Srumble.endif 961.37Sdyoung.if ${MKBINUTILS} != "no" 971.37SdyoungSUBDIR+= xldscripts 981.37Sdyoung.endif 991.7Srumble 1001.15Sad# Machine dependent section 1011.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1021.49Stsutsui ${MACHINE_CPU} == "m68k" 1031.47StsutsuiSUBDIR+= exec_aout 1041.47Stsutsui.endif 1051.47Stsutsui 1061.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1071.17SmartinSUBDIR+= exec_elf32 1081.17Smartin.endif 1091.15Sad 1101.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1111.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1121.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1131.20SheSUBDIR+= exec_elf64 1141.20She.endif 1151.20She 1161.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1171.29Syamt ${MACHINE_ARCH} == "x86_64" 1181.71SjruohoSUBDIR+= amdtemp 1191.64SjruohoSUBDIR+= coretemp 1201.65SjruohoSUBDIR+= est 1211.110SmartinSUBDIR+= hdafg 1221.110SmartinSUBDIR+= hdaudio 1231.72SjruohoSUBDIR+= hpet 1241.69SjruohoSUBDIR+= odcm 1251.66SjruohoSUBDIR+= powernow 1261.29SyamtSUBDIR+= tprof_pmi 1271.70SyamtSUBDIR+= tprof_amdpmi 1281.95SjmcneillSUBDIR+= vmt 1291.29Syamt.endif 1301.29Syamt 1311.126Salnsn.if ${MKSLJIT} != "no" 1321.126Salnsn# No modules for arm, mips and powerpc yet. 1331.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1341.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1351.115Salnsn ${MACHINE_ARCH} == "sparc" 1361.113SalnsnSUBDIR+= bpfjit 1371.112SalnsnSUBDIR+= sljit 1381.112Salnsn.endif 1391.126Salnsn.endif 1401.112Salnsn 1411.85Sjruoho# 1421.85Sjruoho# ACPI modules 1431.85Sjruoho# 1441.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1451.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1461.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1471.46SpgoyetteSUBDIR+= acpiverbose 1481.46Spgoyette.endif 1491.46Spgoyette 1501.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1511.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1521.52SjruohoSUBDIR+= acpiacad 1531.52SjruohoSUBDIR+= acpibat 1541.52SjruohoSUBDIR+= acpibut 1551.52SjruohoSUBDIR+= acpicpu 1561.53SjruohoSUBDIR+= acpidalb 1571.58SjruohoSUBDIR+= acpifan 1581.52SjruohoSUBDIR+= acpilid 1591.57SjruohoSUBDIR+= acpipmtr 1601.53SjruohoSUBDIR+= acpitz 1611.53SjruohoSUBDIR+= acpivga 1621.86SjruohoSUBDIR+= acpiwdrt 1631.51SjmcneillSUBDIR+= acpiwmi 1641.53SjruohoSUBDIR+= aibs 1651.54SjruohoSUBDIR+= asus 1661.63SjruohoSUBDIR+= fujbp 1671.63SjruohoSUBDIR+= fujhk 1681.75SjruohoSUBDIR+= hpacel 1691.54SjruohoSUBDIR+= hpqlb 1701.52SjruohoSUBDIR+= thinkpad 1711.50SjmcneillSUBDIR+= wmidell 1721.83SjruohoSUBDIR+= wmieeepc 1731.50SjmcneillSUBDIR+= wmihp 1741.50SjmcneillSUBDIR+= wmimsi 1751.50Sjmcneill.endif 1761.50Sjmcneill 1771.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1781.15SadSUBDIR+= azalia 1791.15SadSUBDIR+= compat_linux 1801.15SadSUBDIR+= compat_linux32 1811.15SadSUBDIR+= compat_netbsd32 1821.15SadSUBDIR+= drm 1831.15SadSUBDIR+= i915drm 1841.40SahokaSUBDIR+= pad 1851.15Sad.endif 1861.15Sad 1871.27Sabs.if ${MACHINE_ARCH} == "i386" 1881.90SjmcneillSUBDIR+= ati_pcigart 1891.15SadSUBDIR+= azalia 1901.15SadSUBDIR+= compat_freebsd 1911.15SadSUBDIR+= compat_ibcs2 1921.15SadSUBDIR+= compat_linux 1931.15SadSUBDIR+= compat_svr4 1941.15SadSUBDIR+= drm 1951.15SadSUBDIR+= i915drm 1961.90SjmcneillSUBDIR+= mach64drm 1971.90SjmcneillSUBDIR+= mgadrm 1981.76SjmcneillSUBDIR+= nsclpcsio 1991.40SahokaSUBDIR+= pad 2001.62SjmcneillSUBDIR+= padlock 2011.90SjmcneillSUBDIR+= r128drm 2021.90SjmcneillSUBDIR+= radeondrm 2031.90SjmcneillSUBDIR+= savagedrm 2041.90SjmcneillSUBDIR+= sisdrm 2051.90SjmcneillSUBDIR+= tdfxdrm 2061.67SjruohoSUBDIR+= viac7temp 2071.90SjmcneillSUBDIR+= viadrm 2081.15Sad.endif 2091.15Sad 2101.85Sjruoho# 2111.85Sjruoho# ISA modules 2121.85Sjruoho# 2131.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2141.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2151.59SjmcneillSUBDIR+= aps 2161.80SjmcneillSUBDIR+= finsio 2171.79SjmcneillSUBDIR+= itesio 2181.101SjakllschSUBDIR+= lm 2191.101SjakllschSUBDIR+= lm_isa 2201.101SjakllschSUBDIR+= lm_isa_common 2211.101SjakllschSUBDIR+= lm_wbsio 2221.101SjakllschSUBDIR+= wbsio 2231.56Sjmcneill.endif 2241.56Sjmcneill 2251.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2261.47StsutsuiSUBDIR+= compat_aoutm68k 2271.47Stsutsui#SUBDIR+= compat_linux 2281.47Stsutsui#SUBDIR+= compat_sunos 2291.47Stsutsui#SUBDIR+= compat_svr4 2301.47Stsutsui.endif 2311.47Stsutsui 2321.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2331.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2341.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2351.88SmbalmerSUBDIR+= pwdog 2361.88Smbalmer.endif 2371.88Smbalmer 2381.23Sagc.include <bsd.own.mk> 2391.23Sagc 2401.107Sreinoud# 2411.107Sreinoud# NetBSD/usermode support 2421.107Sreinoud# 2431.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2441.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2451.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2461.107Sreinoud.endif 2471.107Sreinoud 2481.23Sagc# we need our device mapper for LVM 2491.23Sagc.if (${MKLVM} != "no") 2501.28SyamtSUBDIR+= dm 2511.23Sagc.endif 2521.23Sagc 2531.39Sdarran.if (${MKDTRACE} != "no") 2541.116SchsSUBDIR+= cyclic 2551.39SdarranSUBDIR+= dtrace 2561.39Sdarran.endif 2571.39Sdarran 2581.39Sdarran# we need solaris for the dtrace and zfs modules 2591.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2601.39SdarranSUBDIR+= solaris 2611.39Sdarran.endif 2621.39Sdarran 2631.34Shaad.if (${MKZFS} != "no") 2641.34ShaadSUBDIR+= zfs 2651.34Shaad.endif 2661.34Shaad 2671.73Smrg.if (${MKCOMPATMODULES} != "no") 2681.73SmrgSUBDIR+= arch 2691.73Smrg.endif 2701.73Smrg 2711.84Sjmcneill# 2721.84Sjmcneill# DTV modules 2731.84Sjmcneill# 2741.84SjmcneillSUBDIR+= dtv 2751.84SjmcneillSUBDIR+= dtv_math 2761.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2771.84Sjmcneill# tuners/demods 2781.84SjmcneillSUBDIR+= au8522 2791.84SjmcneillSUBDIR+= cx24227 2801.84SjmcneillSUBDIR+= lg3303 2811.84SjmcneillSUBDIR+= mt2131 2821.84SjmcneillSUBDIR+= nxt2k 2831.84SjmcneillSUBDIR+= tvpll 2841.84SjmcneillSUBDIR+= xc3028 2851.84SjmcneillSUBDIR+= xc5k 2861.91SjruohoSUBDIR+= zl10353 2871.84Sjmcneill# hardware drivers 2881.84SjmcneillSUBDIR+= auvitek 2891.84SjmcneillSUBDIR+= coram 2901.84SjmcneillSUBDIR+= cxdtv 2911.84SjmcneillSUBDIR+= emdtv 2921.84Sjmcneill.endif 2931.84Sjmcneill 2941.98Sriz.if (${MKISCSI} != "no") 2951.98SrizSUBDIR+= iscsi 2961.98Sriz.endif 2971.98Sriz 2981.1Sad.include <bsd.subdir.mk> 299