Makefile revision 1.114
11.114Salnsn# $NetBSD: Makefile,v 1.114 2012/10/28 16:25:03 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.114Salnsn ${MACHINE_ARCH} == "x86_64" 1261.113SalnsnSUBDIR+= bpfjit 1271.112SalnsnSUBDIR+= sljit 1281.112Salnsn.endif 1291.112Salnsn 1301.85Sjruoho# 1311.85Sjruoho# ACPI modules 1321.85Sjruoho# 1331.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1341.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1351.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1361.46SpgoyetteSUBDIR+= acpiverbose 1371.46Spgoyette.endif 1381.46Spgoyette 1391.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1401.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1411.52SjruohoSUBDIR+= acpiacad 1421.52SjruohoSUBDIR+= acpibat 1431.52SjruohoSUBDIR+= acpibut 1441.52SjruohoSUBDIR+= acpicpu 1451.53SjruohoSUBDIR+= acpidalb 1461.58SjruohoSUBDIR+= acpifan 1471.52SjruohoSUBDIR+= acpilid 1481.57SjruohoSUBDIR+= acpipmtr 1491.53SjruohoSUBDIR+= acpitz 1501.53SjruohoSUBDIR+= acpivga 1511.86SjruohoSUBDIR+= acpiwdrt 1521.51SjmcneillSUBDIR+= acpiwmi 1531.53SjruohoSUBDIR+= aibs 1541.54SjruohoSUBDIR+= asus 1551.63SjruohoSUBDIR+= fujbp 1561.63SjruohoSUBDIR+= fujhk 1571.75SjruohoSUBDIR+= hpacel 1581.54SjruohoSUBDIR+= hpqlb 1591.52SjruohoSUBDIR+= thinkpad 1601.50SjmcneillSUBDIR+= wmidell 1611.83SjruohoSUBDIR+= wmieeepc 1621.50SjmcneillSUBDIR+= wmihp 1631.50SjmcneillSUBDIR+= wmimsi 1641.50Sjmcneill.endif 1651.50Sjmcneill 1661.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1671.15SadSUBDIR+= azalia 1681.15SadSUBDIR+= compat_linux 1691.15SadSUBDIR+= compat_linux32 1701.15SadSUBDIR+= compat_netbsd32 1711.15SadSUBDIR+= drm 1721.15SadSUBDIR+= i915drm 1731.40SahokaSUBDIR+= pad 1741.15Sad.endif 1751.15Sad 1761.27Sabs.if ${MACHINE_ARCH} == "i386" 1771.90SjmcneillSUBDIR+= ati_pcigart 1781.15SadSUBDIR+= azalia 1791.15SadSUBDIR+= compat_freebsd 1801.15SadSUBDIR+= compat_ibcs2 1811.15SadSUBDIR+= compat_linux 1821.15SadSUBDIR+= compat_svr4 1831.15SadSUBDIR+= drm 1841.15SadSUBDIR+= i915drm 1851.90SjmcneillSUBDIR+= mach64drm 1861.90SjmcneillSUBDIR+= mgadrm 1871.76SjmcneillSUBDIR+= nsclpcsio 1881.40SahokaSUBDIR+= pad 1891.62SjmcneillSUBDIR+= padlock 1901.90SjmcneillSUBDIR+= r128drm 1911.90SjmcneillSUBDIR+= radeondrm 1921.90SjmcneillSUBDIR+= savagedrm 1931.90SjmcneillSUBDIR+= sisdrm 1941.90SjmcneillSUBDIR+= tdfxdrm 1951.67SjruohoSUBDIR+= viac7temp 1961.90SjmcneillSUBDIR+= viadrm 1971.15Sad.endif 1981.15Sad 1991.85Sjruoho# 2001.85Sjruoho# ISA modules 2011.85Sjruoho# 2021.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2031.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2041.59SjmcneillSUBDIR+= aps 2051.80SjmcneillSUBDIR+= finsio 2061.79SjmcneillSUBDIR+= itesio 2071.101SjakllschSUBDIR+= lm 2081.101SjakllschSUBDIR+= lm_isa 2091.101SjakllschSUBDIR+= lm_isa_common 2101.101SjakllschSUBDIR+= lm_wbsio 2111.101SjakllschSUBDIR+= wbsio 2121.56Sjmcneill.endif 2131.56Sjmcneill 2141.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2151.47StsutsuiSUBDIR+= compat_aoutm68k 2161.47Stsutsui#SUBDIR+= compat_linux 2171.47Stsutsui#SUBDIR+= compat_sunos 2181.47Stsutsui#SUBDIR+= compat_svr4 2191.47Stsutsui.endif 2201.47Stsutsui 2211.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2221.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2231.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2241.88SmbalmerSUBDIR+= pwdog 2251.88Smbalmer.endif 2261.88Smbalmer 2271.23Sagc.include <bsd.own.mk> 2281.23Sagc 2291.107Sreinoud# 2301.107Sreinoud# NetBSD/usermode support 2311.107Sreinoud# 2321.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2331.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2341.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2351.107Sreinoud.endif 2361.107Sreinoud 2371.23Sagc# we need our device mapper for LVM 2381.23Sagc.if (${MKLVM} != "no") 2391.28SyamtSUBDIR+= dm 2401.23Sagc.endif 2411.23Sagc 2421.39Sdarran.if (${MKDTRACE} != "no") 2431.39SdarranSUBDIR+= dtrace 2441.39Sdarran.endif 2451.39Sdarran 2461.39Sdarran# we need solaris for the dtrace and zfs modules 2471.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2481.39SdarranSUBDIR+= solaris 2491.39Sdarran.endif 2501.39Sdarran 2511.34Shaad.if (${MKZFS} != "no") 2521.34ShaadSUBDIR+= zfs 2531.34Shaad.endif 2541.34Shaad 2551.73Smrg.if (${MKCOMPATMODULES} != "no") 2561.73SmrgSUBDIR+= arch 2571.73Smrg.endif 2581.73Smrg 2591.84Sjmcneill# 2601.84Sjmcneill# DTV modules 2611.84Sjmcneill# 2621.84SjmcneillSUBDIR+= dtv 2631.84SjmcneillSUBDIR+= dtv_math 2641.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2651.84Sjmcneill# tuners/demods 2661.84SjmcneillSUBDIR+= au8522 2671.84SjmcneillSUBDIR+= cx24227 2681.84SjmcneillSUBDIR+= lg3303 2691.84SjmcneillSUBDIR+= mt2131 2701.84SjmcneillSUBDIR+= nxt2k 2711.84SjmcneillSUBDIR+= tvpll 2721.84SjmcneillSUBDIR+= xc3028 2731.84SjmcneillSUBDIR+= xc5k 2741.91SjruohoSUBDIR+= zl10353 2751.84Sjmcneill# hardware drivers 2761.84SjmcneillSUBDIR+= auvitek 2771.84SjmcneillSUBDIR+= coram 2781.84SjmcneillSUBDIR+= cxdtv 2791.84SjmcneillSUBDIR+= emdtv 2801.84Sjmcneill.endif 2811.84Sjmcneill 2821.98Sriz.if (${MKISCSI} != "no") 2831.98SrizSUBDIR+= iscsi 2841.98Sriz.endif 2851.98Sriz 2861.1Sad.include <bsd.subdir.mk> 287