Makefile revision 1.134
11.134Spgoyette# $NetBSD: Makefile,v 1.134 2014/01/01 16:06:00 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.7SrumbleSUBDIR+= unionfs 1071.7Srumble.endif 1081.37Sdyoung.if ${MKBINUTILS} != "no" 1091.37SdyoungSUBDIR+= xldscripts 1101.37Sdyoung.endif 1111.7Srumble 1121.15Sad# Machine dependent section 1131.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 1141.49Stsutsui ${MACHINE_CPU} == "m68k" 1151.47StsutsuiSUBDIR+= exec_aout 1161.47Stsutsui.endif 1171.47Stsutsui 1181.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1191.17SmartinSUBDIR+= exec_elf32 1201.17Smartin.endif 1211.15Sad 1221.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1231.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1241.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1251.20SheSUBDIR+= exec_elf64 1261.20She.endif 1271.20She 1281.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1291.29Syamt ${MACHINE_ARCH} == "x86_64" 1301.71SjruohoSUBDIR+= amdtemp 1311.64SjruohoSUBDIR+= coretemp 1321.65SjruohoSUBDIR+= est 1331.110SmartinSUBDIR+= hdafg 1341.110SmartinSUBDIR+= hdaudio 1351.72SjruohoSUBDIR+= hpet 1361.69SjruohoSUBDIR+= odcm 1371.66SjruohoSUBDIR+= powernow 1381.29SyamtSUBDIR+= tprof_pmi 1391.70SyamtSUBDIR+= tprof_amdpmi 1401.95SjmcneillSUBDIR+= vmt 1411.29Syamt.endif 1421.29Syamt 1431.126Salnsn.if ${MKSLJIT} != "no" 1441.126Salnsn# No modules for arm, mips and powerpc yet. 1451.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1461.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1471.115Salnsn ${MACHINE_ARCH} == "sparc" 1481.113SalnsnSUBDIR+= bpfjit 1491.112SalnsnSUBDIR+= sljit 1501.112Salnsn.endif 1511.126Salnsn.endif 1521.112Salnsn 1531.85Sjruoho# 1541.85Sjruoho# ACPI modules 1551.85Sjruoho# 1561.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1571.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1581.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1591.46SpgoyetteSUBDIR+= acpiverbose 1601.46Spgoyette.endif 1611.46Spgoyette 1621.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1631.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1641.52SjruohoSUBDIR+= acpiacad 1651.52SjruohoSUBDIR+= acpibat 1661.52SjruohoSUBDIR+= acpibut 1671.52SjruohoSUBDIR+= acpicpu 1681.53SjruohoSUBDIR+= acpidalb 1691.58SjruohoSUBDIR+= acpifan 1701.52SjruohoSUBDIR+= acpilid 1711.57SjruohoSUBDIR+= acpipmtr 1721.53SjruohoSUBDIR+= acpitz 1731.53SjruohoSUBDIR+= acpivga 1741.86SjruohoSUBDIR+= acpiwdrt 1751.51SjmcneillSUBDIR+= acpiwmi 1761.53SjruohoSUBDIR+= aibs 1771.54SjruohoSUBDIR+= asus 1781.63SjruohoSUBDIR+= fujbp 1791.63SjruohoSUBDIR+= fujhk 1801.75SjruohoSUBDIR+= hpacel 1811.54SjruohoSUBDIR+= hpqlb 1821.52SjruohoSUBDIR+= thinkpad 1831.50SjmcneillSUBDIR+= wmidell 1841.83SjruohoSUBDIR+= wmieeepc 1851.50SjmcneillSUBDIR+= wmihp 1861.50SjmcneillSUBDIR+= wmimsi 1871.50Sjmcneill.endif 1881.50Sjmcneill 1891.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1901.15SadSUBDIR+= azalia 1911.15SadSUBDIR+= compat_linux 1921.15SadSUBDIR+= compat_linux32 1931.15SadSUBDIR+= compat_netbsd32 1941.15SadSUBDIR+= drm 1951.15SadSUBDIR+= i915drm 1961.40SahokaSUBDIR+= pad 1971.15Sad.endif 1981.15Sad 1991.27Sabs.if ${MACHINE_ARCH} == "i386" 2001.90SjmcneillSUBDIR+= ati_pcigart 2011.15SadSUBDIR+= azalia 2021.15SadSUBDIR+= compat_freebsd 2031.15SadSUBDIR+= compat_ibcs2 2041.15SadSUBDIR+= compat_linux 2051.15SadSUBDIR+= compat_svr4 2061.15SadSUBDIR+= drm 2071.15SadSUBDIR+= i915drm 2081.90SjmcneillSUBDIR+= mach64drm 2091.90SjmcneillSUBDIR+= mgadrm 2101.76SjmcneillSUBDIR+= nsclpcsio 2111.40SahokaSUBDIR+= pad 2121.62SjmcneillSUBDIR+= padlock 2131.90SjmcneillSUBDIR+= r128drm 2141.90SjmcneillSUBDIR+= radeondrm 2151.90SjmcneillSUBDIR+= savagedrm 2161.90SjmcneillSUBDIR+= sisdrm 2171.90SjmcneillSUBDIR+= tdfxdrm 2181.67SjruohoSUBDIR+= viac7temp 2191.90SjmcneillSUBDIR+= viadrm 2201.15Sad.endif 2211.15Sad 2221.85Sjruoho# 2231.85Sjruoho# ISA modules 2241.85Sjruoho# 2251.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2261.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2271.59SjmcneillSUBDIR+= aps 2281.80SjmcneillSUBDIR+= finsio 2291.79SjmcneillSUBDIR+= itesio 2301.101SjakllschSUBDIR+= lm 2311.101SjakllschSUBDIR+= lm_isa 2321.101SjakllschSUBDIR+= lm_isa_common 2331.101SjakllschSUBDIR+= lm_wbsio 2341.101SjakllschSUBDIR+= wbsio 2351.56Sjmcneill.endif 2361.56Sjmcneill 2371.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2381.47StsutsuiSUBDIR+= compat_aoutm68k 2391.47Stsutsui#SUBDIR+= compat_linux 2401.47Stsutsui#SUBDIR+= compat_sunos 2411.47Stsutsui#SUBDIR+= compat_svr4 2421.47Stsutsui.endif 2431.47Stsutsui 2441.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2451.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2461.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2471.88SmbalmerSUBDIR+= pwdog 2481.88Smbalmer.endif 2491.88Smbalmer 2501.23Sagc.include <bsd.own.mk> 2511.23Sagc 2521.107Sreinoud# 2531.107Sreinoud# NetBSD/usermode support 2541.107Sreinoud# 2551.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2561.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2571.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2581.107Sreinoud.endif 2591.107Sreinoud 2601.23Sagc# we need our device mapper for LVM 2611.23Sagc.if (${MKLVM} != "no") 2621.28SyamtSUBDIR+= dm 2631.23Sagc.endif 2641.23Sagc 2651.39Sdarran.if (${MKDTRACE} != "no") 2661.116SchsSUBDIR+= cyclic 2671.39SdarranSUBDIR+= dtrace 2681.39Sdarran.endif 2691.39Sdarran 2701.39Sdarran# we need solaris for the dtrace and zfs modules 2711.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2721.39SdarranSUBDIR+= solaris 2731.39Sdarran.endif 2741.39Sdarran 2751.34Shaad.if (${MKZFS} != "no") 2761.34ShaadSUBDIR+= zfs 2771.34Shaad.endif 2781.34Shaad 2791.73Smrg.if (${MKCOMPATMODULES} != "no") 2801.73SmrgSUBDIR+= arch 2811.73Smrg.endif 2821.73Smrg 2831.84Sjmcneill# 2841.84Sjmcneill# DTV modules 2851.84Sjmcneill# 2861.84SjmcneillSUBDIR+= dtv 2871.84SjmcneillSUBDIR+= dtv_math 2881.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2891.84Sjmcneill# tuners/demods 2901.84SjmcneillSUBDIR+= au8522 2911.84SjmcneillSUBDIR+= cx24227 2921.84SjmcneillSUBDIR+= lg3303 2931.84SjmcneillSUBDIR+= mt2131 2941.84SjmcneillSUBDIR+= nxt2k 2951.84SjmcneillSUBDIR+= tvpll 2961.84SjmcneillSUBDIR+= xc3028 2971.84SjmcneillSUBDIR+= xc5k 2981.91SjruohoSUBDIR+= zl10353 2991.84Sjmcneill# hardware drivers 3001.84SjmcneillSUBDIR+= auvitek 3011.84SjmcneillSUBDIR+= coram 3021.84SjmcneillSUBDIR+= cxdtv 3031.84SjmcneillSUBDIR+= emdtv 3041.84Sjmcneill.endif 3051.84Sjmcneill 3061.98Sriz.if (${MKISCSI} != "no") 3071.98SrizSUBDIR+= iscsi 3081.98Sriz.endif 3091.98Sriz 3101.1Sad.include <bsd.subdir.mk> 311