Makefile revision 1.115
11.115Salnsn# $NetBSD: Makefile,v 1.115 2012/11/06 07:59:09 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.94SmbalmerSUBDIR+= iic 361.7SrumbleSUBDIR+= kernfs 371.22SadSUBDIR+= layerfs 381.7SrumbleSUBDIR+= lfs 391.7SrumbleSUBDIR+= mfs 401.45SpgoyetteSUBDIR+= miiverbose 411.45SpgoyetteSUBDIR+= miniroot 421.31SrmindSUBDIR+= mqueue 431.18SadSUBDIR+= msdos 441.68SahokaSUBDIR+= nand 451.68SahokaSUBDIR+= nandemulator 461.15SadSUBDIR+= nfs 471.15SadSUBDIR+= nfsserver 481.30SreinoudSUBDIR+= nilfs 491.96StronSUBDIR+= npf 501.97StronSUBDIR+= npf_alg_icmp 511.111SrmindSUBDIR+= npf_ext_log 521.111SrmindSUBDIR+= npf_ext_normalise 531.7SrumbleSUBDIR+= ntfs 541.18SadSUBDIR+= null 551.92SmbalmerSUBDIR+= onewire 561.7SrumbleSUBDIR+= overlay 571.42SpgoyetteSUBDIR+= pciverbose 581.41SahokaSUBDIR+= pf 591.19ScubeSUBDIR+= ppp_bsdcomp 601.19ScubeSUBDIR+= ppp_deflate 611.7SrumbleSUBDIR+= procfs 621.7SrumbleSUBDIR+= ptyfs 631.7SrumbleSUBDIR+= puffs 641.15SadSUBDIR+= putter 651.44SpgoyetteSUBDIR+= scsiverbose 661.103SpgoyetteSUBDIR+= sdtemp 671.33SeladSUBDIR+= secmodel_bsd44 681.100SjymSUBDIR+= secmodel_extensions 691.33SeladSUBDIR+= secmodel_overlay 701.33SeladSUBDIR+= securelevel 711.7SrumbleSUBDIR+= smbfs 721.81SpgoyetteSUBDIR+= spdmem 731.24SpookaSUBDIR+= sysvbfs 741.33SeladSUBDIR+= suser 751.48SpgoyetteSUBDIR+= swsensor 761.7SrumbleSUBDIR+= tmpfs 771.108SriastradSUBDIR+= uatp 781.7SrumbleSUBDIR+= udf 791.18SadSUBDIR+= umap 801.7SrumbleSUBDIR+= union 811.43SpgoyetteSUBDIR+= usbverbose 821.106SchristosSUBDIR+= vcoda 831.78SenamiSUBDIR+= v7fs 841.25ShaadSUBDIR+= vnd 851.29SyamtSUBDIR+= tprof 861.7Srumble.if (defined(NOTYET)) 871.7SrumbleSUBDIR+= unionfs 881.7Srumble.endif 891.37Sdyoung.if ${MKBINUTILS} != "no" 901.37SdyoungSUBDIR+= xldscripts 911.37Sdyoung.endif 921.7Srumble 931.15Sad# Machine dependent section 941.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 951.49Stsutsui ${MACHINE_CPU} == "m68k" 961.47StsutsuiSUBDIR+= exec_aout 971.47Stsutsui.endif 981.47Stsutsui 991.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1001.17SmartinSUBDIR+= exec_elf32 1011.17Smartin.endif 1021.15Sad 1031.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1041.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1051.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1061.20SheSUBDIR+= exec_elf64 1071.20She.endif 1081.20She 1091.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1101.29Syamt ${MACHINE_ARCH} == "x86_64" 1111.71SjruohoSUBDIR+= amdtemp 1121.64SjruohoSUBDIR+= coretemp 1131.65SjruohoSUBDIR+= est 1141.110SmartinSUBDIR+= hdafg 1151.110SmartinSUBDIR+= hdaudio 1161.72SjruohoSUBDIR+= hpet 1171.69SjruohoSUBDIR+= odcm 1181.66SjruohoSUBDIR+= powernow 1191.29SyamtSUBDIR+= tprof_pmi 1201.70SyamtSUBDIR+= tprof_amdpmi 1211.95SjmcneillSUBDIR+= vmt 1221.29Syamt.endif 1231.29Syamt 1241.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1251.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1261.115Salnsn ${MACHINE_ARCH} == "sparc" 1271.113SalnsnSUBDIR+= bpfjit 1281.112SalnsnSUBDIR+= sljit 1291.112Salnsn.endif 1301.112Salnsn 1311.85Sjruoho# 1321.85Sjruoho# ACPI modules 1331.85Sjruoho# 1341.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1351.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1361.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1371.46SpgoyetteSUBDIR+= acpiverbose 1381.46Spgoyette.endif 1391.46Spgoyette 1401.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1411.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1421.52SjruohoSUBDIR+= acpiacad 1431.52SjruohoSUBDIR+= acpibat 1441.52SjruohoSUBDIR+= acpibut 1451.52SjruohoSUBDIR+= acpicpu 1461.53SjruohoSUBDIR+= acpidalb 1471.58SjruohoSUBDIR+= acpifan 1481.52SjruohoSUBDIR+= acpilid 1491.57SjruohoSUBDIR+= acpipmtr 1501.53SjruohoSUBDIR+= acpitz 1511.53SjruohoSUBDIR+= acpivga 1521.86SjruohoSUBDIR+= acpiwdrt 1531.51SjmcneillSUBDIR+= acpiwmi 1541.53SjruohoSUBDIR+= aibs 1551.54SjruohoSUBDIR+= asus 1561.63SjruohoSUBDIR+= fujbp 1571.63SjruohoSUBDIR+= fujhk 1581.75SjruohoSUBDIR+= hpacel 1591.54SjruohoSUBDIR+= hpqlb 1601.52SjruohoSUBDIR+= thinkpad 1611.50SjmcneillSUBDIR+= wmidell 1621.83SjruohoSUBDIR+= wmieeepc 1631.50SjmcneillSUBDIR+= wmihp 1641.50SjmcneillSUBDIR+= wmimsi 1651.50Sjmcneill.endif 1661.50Sjmcneill 1671.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1681.15SadSUBDIR+= azalia 1691.15SadSUBDIR+= compat_linux 1701.15SadSUBDIR+= compat_linux32 1711.15SadSUBDIR+= compat_netbsd32 1721.15SadSUBDIR+= drm 1731.15SadSUBDIR+= i915drm 1741.40SahokaSUBDIR+= pad 1751.15Sad.endif 1761.15Sad 1771.27Sabs.if ${MACHINE_ARCH} == "i386" 1781.90SjmcneillSUBDIR+= ati_pcigart 1791.15SadSUBDIR+= azalia 1801.15SadSUBDIR+= compat_freebsd 1811.15SadSUBDIR+= compat_ibcs2 1821.15SadSUBDIR+= compat_linux 1831.15SadSUBDIR+= compat_svr4 1841.15SadSUBDIR+= drm 1851.15SadSUBDIR+= i915drm 1861.90SjmcneillSUBDIR+= mach64drm 1871.90SjmcneillSUBDIR+= mgadrm 1881.76SjmcneillSUBDIR+= nsclpcsio 1891.40SahokaSUBDIR+= pad 1901.62SjmcneillSUBDIR+= padlock 1911.90SjmcneillSUBDIR+= r128drm 1921.90SjmcneillSUBDIR+= radeondrm 1931.90SjmcneillSUBDIR+= savagedrm 1941.90SjmcneillSUBDIR+= sisdrm 1951.90SjmcneillSUBDIR+= tdfxdrm 1961.67SjruohoSUBDIR+= viac7temp 1971.90SjmcneillSUBDIR+= viadrm 1981.15Sad.endif 1991.15Sad 2001.85Sjruoho# 2011.85Sjruoho# ISA modules 2021.85Sjruoho# 2031.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2041.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2051.59SjmcneillSUBDIR+= aps 2061.80SjmcneillSUBDIR+= finsio 2071.79SjmcneillSUBDIR+= itesio 2081.101SjakllschSUBDIR+= lm 2091.101SjakllschSUBDIR+= lm_isa 2101.101SjakllschSUBDIR+= lm_isa_common 2111.101SjakllschSUBDIR+= lm_wbsio 2121.101SjakllschSUBDIR+= wbsio 2131.56Sjmcneill.endif 2141.56Sjmcneill 2151.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2161.47StsutsuiSUBDIR+= compat_aoutm68k 2171.47Stsutsui#SUBDIR+= compat_linux 2181.47Stsutsui#SUBDIR+= compat_sunos 2191.47Stsutsui#SUBDIR+= compat_svr4 2201.47Stsutsui.endif 2211.47Stsutsui 2221.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2231.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2241.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2251.88SmbalmerSUBDIR+= pwdog 2261.88Smbalmer.endif 2271.88Smbalmer 2281.23Sagc.include <bsd.own.mk> 2291.23Sagc 2301.107Sreinoud# 2311.107Sreinoud# NetBSD/usermode support 2321.107Sreinoud# 2331.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2341.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2351.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2361.107Sreinoud.endif 2371.107Sreinoud 2381.23Sagc# we need our device mapper for LVM 2391.23Sagc.if (${MKLVM} != "no") 2401.28SyamtSUBDIR+= dm 2411.23Sagc.endif 2421.23Sagc 2431.39Sdarran.if (${MKDTRACE} != "no") 2441.39SdarranSUBDIR+= dtrace 2451.39Sdarran.endif 2461.39Sdarran 2471.39Sdarran# we need solaris for the dtrace and zfs modules 2481.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2491.39SdarranSUBDIR+= solaris 2501.39Sdarran.endif 2511.39Sdarran 2521.34Shaad.if (${MKZFS} != "no") 2531.34ShaadSUBDIR+= zfs 2541.34Shaad.endif 2551.34Shaad 2561.73Smrg.if (${MKCOMPATMODULES} != "no") 2571.73SmrgSUBDIR+= arch 2581.73Smrg.endif 2591.73Smrg 2601.84Sjmcneill# 2611.84Sjmcneill# DTV modules 2621.84Sjmcneill# 2631.84SjmcneillSUBDIR+= dtv 2641.84SjmcneillSUBDIR+= dtv_math 2651.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2661.84Sjmcneill# tuners/demods 2671.84SjmcneillSUBDIR+= au8522 2681.84SjmcneillSUBDIR+= cx24227 2691.84SjmcneillSUBDIR+= lg3303 2701.84SjmcneillSUBDIR+= mt2131 2711.84SjmcneillSUBDIR+= nxt2k 2721.84SjmcneillSUBDIR+= tvpll 2731.84SjmcneillSUBDIR+= xc3028 2741.84SjmcneillSUBDIR+= xc5k 2751.91SjruohoSUBDIR+= zl10353 2761.84Sjmcneill# hardware drivers 2771.84SjmcneillSUBDIR+= auvitek 2781.84SjmcneillSUBDIR+= coram 2791.84SjmcneillSUBDIR+= cxdtv 2801.84SjmcneillSUBDIR+= emdtv 2811.84Sjmcneill.endif 2821.84Sjmcneill 2831.98Sriz.if (${MKISCSI} != "no") 2841.98SrizSUBDIR+= iscsi 2851.98Sriz.endif 2861.98Sriz 2871.1Sad.include <bsd.subdir.mk> 288