Makefile revision 1.130
11.130Spgoyette# $NetBSD: Makefile,v 1.130 2013/12/28 19:45:13 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.38SpookaSUBDIR+= bpf 121.7SrumbleSUBDIR+= cd9660 131.130SpgoyetteSUBDIR+= ccd 141.129SpgoyetteSUBDIR+= cgd 151.7SrumbleSUBDIR+= coda 161.7SrumbleSUBDIR+= coda5 171.15SadSUBDIR+= compat 181.15SadSUBDIR+= compat_ossaudio 191.15SadSUBDIR+= coredump 201.99SahokaSUBDIR+= chfs 211.104SpgoyetteSUBDIR+= dbcool 221.129SpgoyetteSUBDIR+= dk_subr 231.7SrumbleSUBDIR+= efs 241.7SrumbleSUBDIR+= ext2fs 251.15SadSUBDIR+= exec_script 261.7SrumbleSUBDIR+= fdesc 271.7SrumbleSUBDIR+= ffs 281.18SadSUBDIR+= filecore 291.93SsjgSUBDIR+= filemon 301.68SahokaSUBDIR+= flash 311.15SadSUBDIR+= fss 321.89SmbalmerSUBDIR+= gpio 331.94SmbalmerSUBDIR+= gpioiic 341.92SmbalmerSUBDIR+= gpioow 351.89SmbalmerSUBDIR+= gpiosim 361.7SrumbleSUBDIR+= hfs 371.105SpgoyetteSUBDIR+= if_axe 381.120SnonakaSUBDIR+= if_axen 391.118SchristosSUBDIR+= if_npflog 401.124SskrllSUBDIR+= if_smsc 411.94SmbalmerSUBDIR+= iic 421.7SrumbleSUBDIR+= kernfs 431.22SadSUBDIR+= layerfs 441.7SrumbleSUBDIR+= lfs 451.121SmbalmerSUBDIR+= lua 461.128SlnetoSUBDIR+= luasystm 471.123SmbalmerSUBDIR+= luapmf 481.7SrumbleSUBDIR+= mfs 491.45SpgoyetteSUBDIR+= miiverbose 501.45SpgoyetteSUBDIR+= miniroot 511.31SrmindSUBDIR+= mqueue 521.18SadSUBDIR+= msdos 531.68SahokaSUBDIR+= nand 541.68SahokaSUBDIR+= nandemulator 551.15SadSUBDIR+= nfs 561.15SadSUBDIR+= nfsserver 571.30SreinoudSUBDIR+= nilfs 581.96StronSUBDIR+= npf 591.97StronSUBDIR+= npf_alg_icmp 601.111SrmindSUBDIR+= npf_ext_log 611.119SchristosSUBDIR+= npf_ext_normalize 621.117SrmindSUBDIR+= npf_ext_rndblock 631.7SrumbleSUBDIR+= ntfs 641.18SadSUBDIR+= null 651.92SmbalmerSUBDIR+= onewire 661.7SrumbleSUBDIR+= overlay 671.42SpgoyetteSUBDIR+= pciverbose 681.41SahokaSUBDIR+= pf 691.19ScubeSUBDIR+= ppp_bsdcomp 701.19ScubeSUBDIR+= ppp_deflate 711.7SrumbleSUBDIR+= procfs 721.7SrumbleSUBDIR+= ptyfs 731.7SrumbleSUBDIR+= puffs 741.15SadSUBDIR+= putter 751.44SpgoyetteSUBDIR+= scsiverbose 761.103SpgoyetteSUBDIR+= sdtemp 771.33SeladSUBDIR+= secmodel_bsd44 781.100SjymSUBDIR+= secmodel_extensions 791.33SeladSUBDIR+= secmodel_overlay 801.33SeladSUBDIR+= securelevel 811.7SrumbleSUBDIR+= smbfs 821.81SpgoyetteSUBDIR+= spdmem 831.24SpookaSUBDIR+= sysvbfs 841.33SeladSUBDIR+= suser 851.48SpgoyetteSUBDIR+= swsensor 861.7SrumbleSUBDIR+= tmpfs 871.108SriastradSUBDIR+= uatp 881.7SrumbleSUBDIR+= udf 891.18SadSUBDIR+= umap 901.7SrumbleSUBDIR+= union 911.43SpgoyetteSUBDIR+= usbverbose 921.106SchristosSUBDIR+= vcoda 931.78SenamiSUBDIR+= v7fs 941.25ShaadSUBDIR+= vnd 951.29SyamtSUBDIR+= tprof 961.7Srumble.if (defined(NOTYET)) 971.7SrumbleSUBDIR+= unionfs 981.7Srumble.endif 991.37Sdyoung.if ${MKBINUTILS} != "no" 1001.37SdyoungSUBDIR+= xldscripts 1011.37Sdyoung.endif 1021.7Srumble 1031.15Sad# Machine dependent section 1041.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1051.49Stsutsui ${MACHINE_CPU} == "m68k" 1061.47StsutsuiSUBDIR+= exec_aout 1071.47Stsutsui.endif 1081.47Stsutsui 1091.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1101.17SmartinSUBDIR+= exec_elf32 1111.17Smartin.endif 1121.15Sad 1131.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1141.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1151.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1161.20SheSUBDIR+= exec_elf64 1171.20She.endif 1181.20She 1191.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1201.29Syamt ${MACHINE_ARCH} == "x86_64" 1211.71SjruohoSUBDIR+= amdtemp 1221.64SjruohoSUBDIR+= coretemp 1231.65SjruohoSUBDIR+= est 1241.110SmartinSUBDIR+= hdafg 1251.110SmartinSUBDIR+= hdaudio 1261.72SjruohoSUBDIR+= hpet 1271.69SjruohoSUBDIR+= odcm 1281.66SjruohoSUBDIR+= powernow 1291.29SyamtSUBDIR+= tprof_pmi 1301.70SyamtSUBDIR+= tprof_amdpmi 1311.95SjmcneillSUBDIR+= vmt 1321.29Syamt.endif 1331.29Syamt 1341.126Salnsn.if ${MKSLJIT} != "no" 1351.126Salnsn# No modules for arm, mips and powerpc yet. 1361.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1371.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1381.115Salnsn ${MACHINE_ARCH} == "sparc" 1391.113SalnsnSUBDIR+= bpfjit 1401.112SalnsnSUBDIR+= sljit 1411.112Salnsn.endif 1421.126Salnsn.endif 1431.112Salnsn 1441.85Sjruoho# 1451.85Sjruoho# ACPI modules 1461.85Sjruoho# 1471.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1481.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1491.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1501.46SpgoyetteSUBDIR+= acpiverbose 1511.46Spgoyette.endif 1521.46Spgoyette 1531.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1541.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1551.52SjruohoSUBDIR+= acpiacad 1561.52SjruohoSUBDIR+= acpibat 1571.52SjruohoSUBDIR+= acpibut 1581.52SjruohoSUBDIR+= acpicpu 1591.53SjruohoSUBDIR+= acpidalb 1601.58SjruohoSUBDIR+= acpifan 1611.52SjruohoSUBDIR+= acpilid 1621.57SjruohoSUBDIR+= acpipmtr 1631.53SjruohoSUBDIR+= acpitz 1641.53SjruohoSUBDIR+= acpivga 1651.86SjruohoSUBDIR+= acpiwdrt 1661.51SjmcneillSUBDIR+= acpiwmi 1671.53SjruohoSUBDIR+= aibs 1681.54SjruohoSUBDIR+= asus 1691.63SjruohoSUBDIR+= fujbp 1701.63SjruohoSUBDIR+= fujhk 1711.75SjruohoSUBDIR+= hpacel 1721.54SjruohoSUBDIR+= hpqlb 1731.52SjruohoSUBDIR+= thinkpad 1741.50SjmcneillSUBDIR+= wmidell 1751.83SjruohoSUBDIR+= wmieeepc 1761.50SjmcneillSUBDIR+= wmihp 1771.50SjmcneillSUBDIR+= wmimsi 1781.50Sjmcneill.endif 1791.50Sjmcneill 1801.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1811.15SadSUBDIR+= azalia 1821.15SadSUBDIR+= compat_linux 1831.15SadSUBDIR+= compat_linux32 1841.15SadSUBDIR+= compat_netbsd32 1851.15SadSUBDIR+= drm 1861.15SadSUBDIR+= i915drm 1871.40SahokaSUBDIR+= pad 1881.15Sad.endif 1891.15Sad 1901.27Sabs.if ${MACHINE_ARCH} == "i386" 1911.90SjmcneillSUBDIR+= ati_pcigart 1921.15SadSUBDIR+= azalia 1931.15SadSUBDIR+= compat_freebsd 1941.15SadSUBDIR+= compat_ibcs2 1951.15SadSUBDIR+= compat_linux 1961.15SadSUBDIR+= compat_svr4 1971.15SadSUBDIR+= drm 1981.15SadSUBDIR+= i915drm 1991.90SjmcneillSUBDIR+= mach64drm 2001.90SjmcneillSUBDIR+= mgadrm 2011.76SjmcneillSUBDIR+= nsclpcsio 2021.40SahokaSUBDIR+= pad 2031.62SjmcneillSUBDIR+= padlock 2041.90SjmcneillSUBDIR+= r128drm 2051.90SjmcneillSUBDIR+= radeondrm 2061.90SjmcneillSUBDIR+= savagedrm 2071.90SjmcneillSUBDIR+= sisdrm 2081.90SjmcneillSUBDIR+= tdfxdrm 2091.67SjruohoSUBDIR+= viac7temp 2101.90SjmcneillSUBDIR+= viadrm 2111.15Sad.endif 2121.15Sad 2131.85Sjruoho# 2141.85Sjruoho# ISA modules 2151.85Sjruoho# 2161.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2171.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2181.59SjmcneillSUBDIR+= aps 2191.80SjmcneillSUBDIR+= finsio 2201.79SjmcneillSUBDIR+= itesio 2211.101SjakllschSUBDIR+= lm 2221.101SjakllschSUBDIR+= lm_isa 2231.101SjakllschSUBDIR+= lm_isa_common 2241.101SjakllschSUBDIR+= lm_wbsio 2251.101SjakllschSUBDIR+= wbsio 2261.56Sjmcneill.endif 2271.56Sjmcneill 2281.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2291.47StsutsuiSUBDIR+= compat_aoutm68k 2301.47Stsutsui#SUBDIR+= compat_linux 2311.47Stsutsui#SUBDIR+= compat_sunos 2321.47Stsutsui#SUBDIR+= compat_svr4 2331.47Stsutsui.endif 2341.47Stsutsui 2351.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2361.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2371.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2381.88SmbalmerSUBDIR+= pwdog 2391.88Smbalmer.endif 2401.88Smbalmer 2411.23Sagc.include <bsd.own.mk> 2421.23Sagc 2431.107Sreinoud# 2441.107Sreinoud# NetBSD/usermode support 2451.107Sreinoud# 2461.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2471.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2481.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2491.107Sreinoud.endif 2501.107Sreinoud 2511.23Sagc# we need our device mapper for LVM 2521.23Sagc.if (${MKLVM} != "no") 2531.28SyamtSUBDIR+= dm 2541.23Sagc.endif 2551.23Sagc 2561.39Sdarran.if (${MKDTRACE} != "no") 2571.116SchsSUBDIR+= cyclic 2581.39SdarranSUBDIR+= dtrace 2591.39Sdarran.endif 2601.39Sdarran 2611.39Sdarran# we need solaris for the dtrace and zfs modules 2621.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2631.39SdarranSUBDIR+= solaris 2641.39Sdarran.endif 2651.39Sdarran 2661.34Shaad.if (${MKZFS} != "no") 2671.34ShaadSUBDIR+= zfs 2681.34Shaad.endif 2691.34Shaad 2701.73Smrg.if (${MKCOMPATMODULES} != "no") 2711.73SmrgSUBDIR+= arch 2721.73Smrg.endif 2731.73Smrg 2741.84Sjmcneill# 2751.84Sjmcneill# DTV modules 2761.84Sjmcneill# 2771.84SjmcneillSUBDIR+= dtv 2781.84SjmcneillSUBDIR+= dtv_math 2791.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2801.84Sjmcneill# tuners/demods 2811.84SjmcneillSUBDIR+= au8522 2821.84SjmcneillSUBDIR+= cx24227 2831.84SjmcneillSUBDIR+= lg3303 2841.84SjmcneillSUBDIR+= mt2131 2851.84SjmcneillSUBDIR+= nxt2k 2861.84SjmcneillSUBDIR+= tvpll 2871.84SjmcneillSUBDIR+= xc3028 2881.84SjmcneillSUBDIR+= xc5k 2891.91SjruohoSUBDIR+= zl10353 2901.84Sjmcneill# hardware drivers 2911.84SjmcneillSUBDIR+= auvitek 2921.84SjmcneillSUBDIR+= coram 2931.84SjmcneillSUBDIR+= cxdtv 2941.84SjmcneillSUBDIR+= emdtv 2951.84Sjmcneill.endif 2961.84Sjmcneill 2971.98Sriz.if (${MKISCSI} != "no") 2981.98SrizSUBDIR+= iscsi 2991.98Sriz.endif 3001.98Sriz 3011.1Sad.include <bsd.subdir.mk> 302