Makefile revision 1.126
11.126Salnsn# $NetBSD: Makefile,v 1.126 2013/11/17 18:58:28 alnsn 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.122SmbalmerSUBDIR+= luacore 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.125SbadSUBDIR+= ubsec 861.7SrumbleSUBDIR+= udf 871.18SadSUBDIR+= umap 881.7SrumbleSUBDIR+= union 891.43SpgoyetteSUBDIR+= usbverbose 901.106SchristosSUBDIR+= vcoda 911.78SenamiSUBDIR+= v7fs 921.25ShaadSUBDIR+= vnd 931.29SyamtSUBDIR+= tprof 941.7Srumble.if (defined(NOTYET)) 951.7SrumbleSUBDIR+= unionfs 961.7Srumble.endif 971.37Sdyoung.if ${MKBINUTILS} != "no" 981.37SdyoungSUBDIR+= xldscripts 991.37Sdyoung.endif 1001.7Srumble 1011.15Sad# Machine dependent section 1021.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1031.49Stsutsui ${MACHINE_CPU} == "m68k" 1041.47StsutsuiSUBDIR+= exec_aout 1051.47Stsutsui.endif 1061.47Stsutsui 1071.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1081.17SmartinSUBDIR+= exec_elf32 1091.17Smartin.endif 1101.15Sad 1111.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1121.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1131.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1141.20SheSUBDIR+= exec_elf64 1151.20She.endif 1161.20She 1171.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1181.29Syamt ${MACHINE_ARCH} == "x86_64" 1191.71SjruohoSUBDIR+= amdtemp 1201.64SjruohoSUBDIR+= coretemp 1211.65SjruohoSUBDIR+= est 1221.110SmartinSUBDIR+= hdafg 1231.110SmartinSUBDIR+= hdaudio 1241.72SjruohoSUBDIR+= hpet 1251.69SjruohoSUBDIR+= odcm 1261.66SjruohoSUBDIR+= powernow 1271.29SyamtSUBDIR+= tprof_pmi 1281.70SyamtSUBDIR+= tprof_amdpmi 1291.95SjmcneillSUBDIR+= vmt 1301.29Syamt.endif 1311.29Syamt 1321.126Salnsn.if ${MKSLJIT} != "no" 1331.126Salnsn# No modules for arm, mips and powerpc yet. 1341.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1351.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1361.115Salnsn ${MACHINE_ARCH} == "sparc" 1371.113SalnsnSUBDIR+= bpfjit 1381.112SalnsnSUBDIR+= sljit 1391.112Salnsn.endif 1401.126Salnsn.endif 1411.112Salnsn 1421.85Sjruoho# 1431.85Sjruoho# ACPI modules 1441.85Sjruoho# 1451.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1461.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1471.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1481.46SpgoyetteSUBDIR+= acpiverbose 1491.46Spgoyette.endif 1501.46Spgoyette 1511.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1521.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1531.52SjruohoSUBDIR+= acpiacad 1541.52SjruohoSUBDIR+= acpibat 1551.52SjruohoSUBDIR+= acpibut 1561.52SjruohoSUBDIR+= acpicpu 1571.53SjruohoSUBDIR+= acpidalb 1581.58SjruohoSUBDIR+= acpifan 1591.52SjruohoSUBDIR+= acpilid 1601.57SjruohoSUBDIR+= acpipmtr 1611.53SjruohoSUBDIR+= acpitz 1621.53SjruohoSUBDIR+= acpivga 1631.86SjruohoSUBDIR+= acpiwdrt 1641.51SjmcneillSUBDIR+= acpiwmi 1651.53SjruohoSUBDIR+= aibs 1661.54SjruohoSUBDIR+= asus 1671.63SjruohoSUBDIR+= fujbp 1681.63SjruohoSUBDIR+= fujhk 1691.75SjruohoSUBDIR+= hpacel 1701.54SjruohoSUBDIR+= hpqlb 1711.52SjruohoSUBDIR+= thinkpad 1721.50SjmcneillSUBDIR+= wmidell 1731.83SjruohoSUBDIR+= wmieeepc 1741.50SjmcneillSUBDIR+= wmihp 1751.50SjmcneillSUBDIR+= wmimsi 1761.50Sjmcneill.endif 1771.50Sjmcneill 1781.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1791.15SadSUBDIR+= azalia 1801.15SadSUBDIR+= compat_linux 1811.15SadSUBDIR+= compat_linux32 1821.15SadSUBDIR+= compat_netbsd32 1831.15SadSUBDIR+= drm 1841.15SadSUBDIR+= i915drm 1851.40SahokaSUBDIR+= pad 1861.15Sad.endif 1871.15Sad 1881.27Sabs.if ${MACHINE_ARCH} == "i386" 1891.90SjmcneillSUBDIR+= ati_pcigart 1901.15SadSUBDIR+= azalia 1911.15SadSUBDIR+= compat_freebsd 1921.15SadSUBDIR+= compat_ibcs2 1931.15SadSUBDIR+= compat_linux 1941.15SadSUBDIR+= compat_svr4 1951.15SadSUBDIR+= drm 1961.15SadSUBDIR+= i915drm 1971.90SjmcneillSUBDIR+= mach64drm 1981.90SjmcneillSUBDIR+= mgadrm 1991.76SjmcneillSUBDIR+= nsclpcsio 2001.40SahokaSUBDIR+= pad 2011.62SjmcneillSUBDIR+= padlock 2021.90SjmcneillSUBDIR+= r128drm 2031.90SjmcneillSUBDIR+= radeondrm 2041.90SjmcneillSUBDIR+= savagedrm 2051.90SjmcneillSUBDIR+= sisdrm 2061.90SjmcneillSUBDIR+= tdfxdrm 2071.67SjruohoSUBDIR+= viac7temp 2081.90SjmcneillSUBDIR+= viadrm 2091.15Sad.endif 2101.15Sad 2111.85Sjruoho# 2121.85Sjruoho# ISA modules 2131.85Sjruoho# 2141.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2151.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2161.59SjmcneillSUBDIR+= aps 2171.80SjmcneillSUBDIR+= finsio 2181.79SjmcneillSUBDIR+= itesio 2191.101SjakllschSUBDIR+= lm 2201.101SjakllschSUBDIR+= lm_isa 2211.101SjakllschSUBDIR+= lm_isa_common 2221.101SjakllschSUBDIR+= lm_wbsio 2231.101SjakllschSUBDIR+= wbsio 2241.56Sjmcneill.endif 2251.56Sjmcneill 2261.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2271.47StsutsuiSUBDIR+= compat_aoutm68k 2281.47Stsutsui#SUBDIR+= compat_linux 2291.47Stsutsui#SUBDIR+= compat_sunos 2301.47Stsutsui#SUBDIR+= compat_svr4 2311.47Stsutsui.endif 2321.47Stsutsui 2331.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2341.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2351.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2361.88SmbalmerSUBDIR+= pwdog 2371.88Smbalmer.endif 2381.88Smbalmer 2391.23Sagc.include <bsd.own.mk> 2401.23Sagc 2411.107Sreinoud# 2421.107Sreinoud# NetBSD/usermode support 2431.107Sreinoud# 2441.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2451.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2461.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2471.107Sreinoud.endif 2481.107Sreinoud 2491.23Sagc# we need our device mapper for LVM 2501.23Sagc.if (${MKLVM} != "no") 2511.28SyamtSUBDIR+= dm 2521.23Sagc.endif 2531.23Sagc 2541.39Sdarran.if (${MKDTRACE} != "no") 2551.116SchsSUBDIR+= cyclic 2561.39SdarranSUBDIR+= dtrace 2571.39Sdarran.endif 2581.39Sdarran 2591.39Sdarran# we need solaris for the dtrace and zfs modules 2601.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2611.39SdarranSUBDIR+= solaris 2621.39Sdarran.endif 2631.39Sdarran 2641.34Shaad.if (${MKZFS} != "no") 2651.34ShaadSUBDIR+= zfs 2661.34Shaad.endif 2671.34Shaad 2681.73Smrg.if (${MKCOMPATMODULES} != "no") 2691.73SmrgSUBDIR+= arch 2701.73Smrg.endif 2711.73Smrg 2721.84Sjmcneill# 2731.84Sjmcneill# DTV modules 2741.84Sjmcneill# 2751.84SjmcneillSUBDIR+= dtv 2761.84SjmcneillSUBDIR+= dtv_math 2771.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2781.84Sjmcneill# tuners/demods 2791.84SjmcneillSUBDIR+= au8522 2801.84SjmcneillSUBDIR+= cx24227 2811.84SjmcneillSUBDIR+= lg3303 2821.84SjmcneillSUBDIR+= mt2131 2831.84SjmcneillSUBDIR+= nxt2k 2841.84SjmcneillSUBDIR+= tvpll 2851.84SjmcneillSUBDIR+= xc3028 2861.84SjmcneillSUBDIR+= xc5k 2871.91SjruohoSUBDIR+= zl10353 2881.84Sjmcneill# hardware drivers 2891.84SjmcneillSUBDIR+= auvitek 2901.84SjmcneillSUBDIR+= coram 2911.84SjmcneillSUBDIR+= cxdtv 2921.84SjmcneillSUBDIR+= emdtv 2931.84Sjmcneill.endif 2941.84Sjmcneill 2951.98Sriz.if (${MKISCSI} != "no") 2961.98SrizSUBDIR+= iscsi 2971.98Sriz.endif 2981.98Sriz 2991.1Sad.include <bsd.subdir.mk> 300