Makefile revision 1.135
11.135Spgoyette# $NetBSD: Makefile,v 1.135 2014/01/03 16:16:10 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.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.105SpgoyetteSUBDIR+= if_axe 431.120SnonakaSUBDIR+= if_axen 441.118SchristosSUBDIR+= if_npflog 451.124SskrllSUBDIR+= if_smsc 461.94SmbalmerSUBDIR+= iic 471.7SrumbleSUBDIR+= kernfs 481.22SadSUBDIR+= layerfs 491.7SrumbleSUBDIR+= lfs 501.121SmbalmerSUBDIR+= lua 511.128SlnetoSUBDIR+= luasystm 521.123SmbalmerSUBDIR+= luapmf 531.7SrumbleSUBDIR+= mfs 541.45SpgoyetteSUBDIR+= miiverbose 551.45SpgoyetteSUBDIR+= miniroot 561.31SrmindSUBDIR+= mqueue 571.18SadSUBDIR+= msdos 581.68SahokaSUBDIR+= nand 591.68SahokaSUBDIR+= nandemulator 601.15SadSUBDIR+= nfs 611.15SadSUBDIR+= nfsserver 621.30SreinoudSUBDIR+= nilfs 631.96StronSUBDIR+= npf 641.97StronSUBDIR+= npf_alg_icmp 651.111SrmindSUBDIR+= npf_ext_log 661.119SchristosSUBDIR+= npf_ext_normalize 671.117SrmindSUBDIR+= npf_ext_rndblock 681.7SrumbleSUBDIR+= ntfs 691.18SadSUBDIR+= null 701.92SmbalmerSUBDIR+= onewire 711.134SpgoyetteSUBDIR+= opencrypto 721.7SrumbleSUBDIR+= overlay 731.42SpgoyetteSUBDIR+= pciverbose 741.41SahokaSUBDIR+= pf 751.19ScubeSUBDIR+= ppp_bsdcomp 761.19ScubeSUBDIR+= ppp_deflate 771.7SrumbleSUBDIR+= procfs 781.7SrumbleSUBDIR+= ptyfs 791.7SrumbleSUBDIR+= puffs 801.15SadSUBDIR+= putter 811.44SpgoyetteSUBDIR+= scsiverbose 821.103SpgoyetteSUBDIR+= sdtemp 831.33SeladSUBDIR+= secmodel_bsd44 841.100SjymSUBDIR+= secmodel_extensions 851.33SeladSUBDIR+= secmodel_overlay 861.33SeladSUBDIR+= securelevel 871.133SpgoyetteSUBDIR+= skipjack 881.7SrumbleSUBDIR+= smbfs 891.81SpgoyetteSUBDIR+= spdmem 901.24SpookaSUBDIR+= sysvbfs 911.33SeladSUBDIR+= suser 921.134SpgoyetteSUBDIR+= swcrypto 931.48SpgoyetteSUBDIR+= swsensor 941.7SrumbleSUBDIR+= tmpfs 951.108SriastradSUBDIR+= uatp 961.7SrumbleSUBDIR+= udf 971.18SadSUBDIR+= umap 981.7SrumbleSUBDIR+= union 991.43SpgoyetteSUBDIR+= usbverbose 1001.106SchristosSUBDIR+= vcoda 1011.78SenamiSUBDIR+= v7fs 1021.25ShaadSUBDIR+= vnd 1031.131SpgoyetteSUBDIR+= zlib 1041.29SyamtSUBDIR+= tprof 1051.7Srumble.if (defined(NOTYET)) 1061.135SpgoyetteSUBDIR+= hifn # Builds on architectures with PCI bus 1071.135SpgoyetteSUBDIR+= ubsec # 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.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1211.17SmartinSUBDIR+= exec_elf32 1221.17Smartin.endif 1231.15Sad 1241.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1251.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1261.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1271.20SheSUBDIR+= exec_elf64 1281.20She.endif 1291.20She 1301.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1311.29Syamt ${MACHINE_ARCH} == "x86_64" 1321.71SjruohoSUBDIR+= amdtemp 1331.64SjruohoSUBDIR+= coretemp 1341.65SjruohoSUBDIR+= est 1351.110SmartinSUBDIR+= hdafg 1361.110SmartinSUBDIR+= hdaudio 1371.72SjruohoSUBDIR+= hpet 1381.69SjruohoSUBDIR+= odcm 1391.66SjruohoSUBDIR+= powernow 1401.29SyamtSUBDIR+= tprof_pmi 1411.70SyamtSUBDIR+= tprof_amdpmi 1421.95SjmcneillSUBDIR+= vmt 1431.29Syamt.endif 1441.29Syamt 1451.126Salnsn.if ${MKSLJIT} != "no" 1461.126Salnsn# No modules for arm, mips and powerpc yet. 1471.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1481.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1491.115Salnsn ${MACHINE_ARCH} == "sparc" 1501.113SalnsnSUBDIR+= bpfjit 1511.112SalnsnSUBDIR+= sljit 1521.112Salnsn.endif 1531.126Salnsn.endif 1541.112Salnsn 1551.85Sjruoho# 1561.85Sjruoho# ACPI modules 1571.85Sjruoho# 1581.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1591.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1601.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1611.46SpgoyetteSUBDIR+= acpiverbose 1621.46Spgoyette.endif 1631.46Spgoyette 1641.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1651.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1661.52SjruohoSUBDIR+= acpiacad 1671.52SjruohoSUBDIR+= acpibat 1681.52SjruohoSUBDIR+= acpibut 1691.52SjruohoSUBDIR+= acpicpu 1701.53SjruohoSUBDIR+= acpidalb 1711.58SjruohoSUBDIR+= acpifan 1721.52SjruohoSUBDIR+= acpilid 1731.57SjruohoSUBDIR+= acpipmtr 1741.53SjruohoSUBDIR+= acpitz 1751.53SjruohoSUBDIR+= acpivga 1761.86SjruohoSUBDIR+= acpiwdrt 1771.51SjmcneillSUBDIR+= acpiwmi 1781.53SjruohoSUBDIR+= aibs 1791.54SjruohoSUBDIR+= asus 1801.63SjruohoSUBDIR+= fujbp 1811.63SjruohoSUBDIR+= fujhk 1821.75SjruohoSUBDIR+= hpacel 1831.54SjruohoSUBDIR+= hpqlb 1841.52SjruohoSUBDIR+= thinkpad 1851.50SjmcneillSUBDIR+= wmidell 1861.83SjruohoSUBDIR+= wmieeepc 1871.50SjmcneillSUBDIR+= wmihp 1881.50SjmcneillSUBDIR+= wmimsi 1891.50Sjmcneill.endif 1901.50Sjmcneill 1911.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1921.15SadSUBDIR+= azalia 1931.15SadSUBDIR+= compat_linux 1941.15SadSUBDIR+= compat_linux32 1951.15SadSUBDIR+= compat_netbsd32 1961.15SadSUBDIR+= drm 1971.15SadSUBDIR+= i915drm 1981.40SahokaSUBDIR+= pad 1991.15Sad.endif 2001.15Sad 2011.27Sabs.if ${MACHINE_ARCH} == "i386" 2021.90SjmcneillSUBDIR+= ati_pcigart 2031.15SadSUBDIR+= azalia 2041.15SadSUBDIR+= compat_freebsd 2051.15SadSUBDIR+= compat_ibcs2 2061.15SadSUBDIR+= compat_linux 2071.15SadSUBDIR+= compat_svr4 2081.15SadSUBDIR+= drm 2091.15SadSUBDIR+= i915drm 2101.90SjmcneillSUBDIR+= mach64drm 2111.90SjmcneillSUBDIR+= mgadrm 2121.76SjmcneillSUBDIR+= nsclpcsio 2131.40SahokaSUBDIR+= pad 2141.62SjmcneillSUBDIR+= padlock 2151.90SjmcneillSUBDIR+= r128drm 2161.90SjmcneillSUBDIR+= radeondrm 2171.90SjmcneillSUBDIR+= savagedrm 2181.90SjmcneillSUBDIR+= sisdrm 2191.90SjmcneillSUBDIR+= tdfxdrm 2201.67SjruohoSUBDIR+= viac7temp 2211.90SjmcneillSUBDIR+= viadrm 2221.15Sad.endif 2231.15Sad 2241.85Sjruoho# 2251.85Sjruoho# ISA modules 2261.85Sjruoho# 2271.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2281.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2291.59SjmcneillSUBDIR+= aps 2301.80SjmcneillSUBDIR+= finsio 2311.79SjmcneillSUBDIR+= itesio 2321.101SjakllschSUBDIR+= lm 2331.101SjakllschSUBDIR+= lm_isa 2341.101SjakllschSUBDIR+= lm_isa_common 2351.101SjakllschSUBDIR+= lm_wbsio 2361.101SjakllschSUBDIR+= wbsio 2371.56Sjmcneill.endif 2381.56Sjmcneill 2391.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2401.47StsutsuiSUBDIR+= compat_aoutm68k 2411.47Stsutsui#SUBDIR+= compat_linux 2421.47Stsutsui#SUBDIR+= compat_sunos 2431.47Stsutsui#SUBDIR+= compat_svr4 2441.47Stsutsui.endif 2451.47Stsutsui 2461.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2471.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2481.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2491.88SmbalmerSUBDIR+= pwdog 2501.88Smbalmer.endif 2511.88Smbalmer 2521.23Sagc.include <bsd.own.mk> 2531.23Sagc 2541.107Sreinoud# 2551.107Sreinoud# NetBSD/usermode support 2561.107Sreinoud# 2571.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2581.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2591.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2601.107Sreinoud.endif 2611.107Sreinoud 2621.23Sagc# we need our device mapper for LVM 2631.23Sagc.if (${MKLVM} != "no") 2641.28SyamtSUBDIR+= dm 2651.23Sagc.endif 2661.23Sagc 2671.39Sdarran.if (${MKDTRACE} != "no") 2681.116SchsSUBDIR+= cyclic 2691.39SdarranSUBDIR+= dtrace 2701.39Sdarran.endif 2711.39Sdarran 2721.39Sdarran# we need solaris for the dtrace and zfs modules 2731.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2741.39SdarranSUBDIR+= solaris 2751.39Sdarran.endif 2761.39Sdarran 2771.34Shaad.if (${MKZFS} != "no") 2781.34ShaadSUBDIR+= zfs 2791.34Shaad.endif 2801.34Shaad 2811.73Smrg.if (${MKCOMPATMODULES} != "no") 2821.73SmrgSUBDIR+= arch 2831.73Smrg.endif 2841.73Smrg 2851.84Sjmcneill# 2861.84Sjmcneill# DTV modules 2871.84Sjmcneill# 2881.84SjmcneillSUBDIR+= dtv 2891.84SjmcneillSUBDIR+= dtv_math 2901.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2911.84Sjmcneill# tuners/demods 2921.84SjmcneillSUBDIR+= au8522 2931.84SjmcneillSUBDIR+= cx24227 2941.84SjmcneillSUBDIR+= lg3303 2951.84SjmcneillSUBDIR+= mt2131 2961.84SjmcneillSUBDIR+= nxt2k 2971.84SjmcneillSUBDIR+= tvpll 2981.84SjmcneillSUBDIR+= xc3028 2991.84SjmcneillSUBDIR+= xc5k 3001.91SjruohoSUBDIR+= zl10353 3011.84Sjmcneill# hardware drivers 3021.84SjmcneillSUBDIR+= auvitek 3031.84SjmcneillSUBDIR+= coram 3041.84SjmcneillSUBDIR+= cxdtv 3051.84SjmcneillSUBDIR+= emdtv 3061.84Sjmcneill.endif 3071.84Sjmcneill 3081.98Sriz.if (${MKISCSI} != "no") 3091.98SrizSUBDIR+= iscsi 3101.98Sriz.endif 3111.98Sriz 3121.1Sad.include <bsd.subdir.mk> 313