Makefile revision 1.125
11.125Sbad# $NetBSD: Makefile,v 1.125 2013/11/17 17:16:24 bad 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.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1331.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1341.115Salnsn ${MACHINE_ARCH} == "sparc" 1351.113SalnsnSUBDIR+= bpfjit 1361.112SalnsnSUBDIR+= sljit 1371.112Salnsn.endif 1381.112Salnsn 1391.85Sjruoho# 1401.85Sjruoho# ACPI modules 1411.85Sjruoho# 1421.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1431.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1441.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1451.46SpgoyetteSUBDIR+= acpiverbose 1461.46Spgoyette.endif 1471.46Spgoyette 1481.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1491.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1501.52SjruohoSUBDIR+= acpiacad 1511.52SjruohoSUBDIR+= acpibat 1521.52SjruohoSUBDIR+= acpibut 1531.52SjruohoSUBDIR+= acpicpu 1541.53SjruohoSUBDIR+= acpidalb 1551.58SjruohoSUBDIR+= acpifan 1561.52SjruohoSUBDIR+= acpilid 1571.57SjruohoSUBDIR+= acpipmtr 1581.53SjruohoSUBDIR+= acpitz 1591.53SjruohoSUBDIR+= acpivga 1601.86SjruohoSUBDIR+= acpiwdrt 1611.51SjmcneillSUBDIR+= acpiwmi 1621.53SjruohoSUBDIR+= aibs 1631.54SjruohoSUBDIR+= asus 1641.63SjruohoSUBDIR+= fujbp 1651.63SjruohoSUBDIR+= fujhk 1661.75SjruohoSUBDIR+= hpacel 1671.54SjruohoSUBDIR+= hpqlb 1681.52SjruohoSUBDIR+= thinkpad 1691.50SjmcneillSUBDIR+= wmidell 1701.83SjruohoSUBDIR+= wmieeepc 1711.50SjmcneillSUBDIR+= wmihp 1721.50SjmcneillSUBDIR+= wmimsi 1731.50Sjmcneill.endif 1741.50Sjmcneill 1751.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1761.15SadSUBDIR+= azalia 1771.15SadSUBDIR+= compat_linux 1781.15SadSUBDIR+= compat_linux32 1791.15SadSUBDIR+= compat_netbsd32 1801.15SadSUBDIR+= drm 1811.15SadSUBDIR+= i915drm 1821.40SahokaSUBDIR+= pad 1831.15Sad.endif 1841.15Sad 1851.27Sabs.if ${MACHINE_ARCH} == "i386" 1861.90SjmcneillSUBDIR+= ati_pcigart 1871.15SadSUBDIR+= azalia 1881.15SadSUBDIR+= compat_freebsd 1891.15SadSUBDIR+= compat_ibcs2 1901.15SadSUBDIR+= compat_linux 1911.15SadSUBDIR+= compat_svr4 1921.15SadSUBDIR+= drm 1931.15SadSUBDIR+= i915drm 1941.90SjmcneillSUBDIR+= mach64drm 1951.90SjmcneillSUBDIR+= mgadrm 1961.76SjmcneillSUBDIR+= nsclpcsio 1971.40SahokaSUBDIR+= pad 1981.62SjmcneillSUBDIR+= padlock 1991.90SjmcneillSUBDIR+= r128drm 2001.90SjmcneillSUBDIR+= radeondrm 2011.90SjmcneillSUBDIR+= savagedrm 2021.90SjmcneillSUBDIR+= sisdrm 2031.90SjmcneillSUBDIR+= tdfxdrm 2041.67SjruohoSUBDIR+= viac7temp 2051.90SjmcneillSUBDIR+= viadrm 2061.15Sad.endif 2071.15Sad 2081.85Sjruoho# 2091.85Sjruoho# ISA modules 2101.85Sjruoho# 2111.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2121.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2131.59SjmcneillSUBDIR+= aps 2141.80SjmcneillSUBDIR+= finsio 2151.79SjmcneillSUBDIR+= itesio 2161.101SjakllschSUBDIR+= lm 2171.101SjakllschSUBDIR+= lm_isa 2181.101SjakllschSUBDIR+= lm_isa_common 2191.101SjakllschSUBDIR+= lm_wbsio 2201.101SjakllschSUBDIR+= wbsio 2211.56Sjmcneill.endif 2221.56Sjmcneill 2231.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2241.47StsutsuiSUBDIR+= compat_aoutm68k 2251.47Stsutsui#SUBDIR+= compat_linux 2261.47Stsutsui#SUBDIR+= compat_sunos 2271.47Stsutsui#SUBDIR+= compat_svr4 2281.47Stsutsui.endif 2291.47Stsutsui 2301.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2311.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2321.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2331.88SmbalmerSUBDIR+= pwdog 2341.88Smbalmer.endif 2351.88Smbalmer 2361.23Sagc.include <bsd.own.mk> 2371.23Sagc 2381.107Sreinoud# 2391.107Sreinoud# NetBSD/usermode support 2401.107Sreinoud# 2411.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2421.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2431.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2441.107Sreinoud.endif 2451.107Sreinoud 2461.23Sagc# we need our device mapper for LVM 2471.23Sagc.if (${MKLVM} != "no") 2481.28SyamtSUBDIR+= dm 2491.23Sagc.endif 2501.23Sagc 2511.39Sdarran.if (${MKDTRACE} != "no") 2521.116SchsSUBDIR+= cyclic 2531.39SdarranSUBDIR+= dtrace 2541.39Sdarran.endif 2551.39Sdarran 2561.39Sdarran# we need solaris for the dtrace and zfs modules 2571.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2581.39SdarranSUBDIR+= solaris 2591.39Sdarran.endif 2601.39Sdarran 2611.34Shaad.if (${MKZFS} != "no") 2621.34ShaadSUBDIR+= zfs 2631.34Shaad.endif 2641.34Shaad 2651.73Smrg.if (${MKCOMPATMODULES} != "no") 2661.73SmrgSUBDIR+= arch 2671.73Smrg.endif 2681.73Smrg 2691.84Sjmcneill# 2701.84Sjmcneill# DTV modules 2711.84Sjmcneill# 2721.84SjmcneillSUBDIR+= dtv 2731.84SjmcneillSUBDIR+= dtv_math 2741.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2751.84Sjmcneill# tuners/demods 2761.84SjmcneillSUBDIR+= au8522 2771.84SjmcneillSUBDIR+= cx24227 2781.84SjmcneillSUBDIR+= lg3303 2791.84SjmcneillSUBDIR+= mt2131 2801.84SjmcneillSUBDIR+= nxt2k 2811.84SjmcneillSUBDIR+= tvpll 2821.84SjmcneillSUBDIR+= xc3028 2831.84SjmcneillSUBDIR+= xc5k 2841.91SjruohoSUBDIR+= zl10353 2851.84Sjmcneill# hardware drivers 2861.84SjmcneillSUBDIR+= auvitek 2871.84SjmcneillSUBDIR+= coram 2881.84SjmcneillSUBDIR+= cxdtv 2891.84SjmcneillSUBDIR+= emdtv 2901.84Sjmcneill.endif 2911.84Sjmcneill 2921.98Sriz.if (${MKISCSI} != "no") 2931.98SrizSUBDIR+= iscsi 2941.98Sriz.endif 2951.98Sriz 2961.1Sad.include <bsd.subdir.mk> 297