Makefile revision 1.117
11.117Srmind# $NetBSD: Makefile,v 1.117 2012/12/10 00:32:25 rmind 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.117SrmindSUBDIR+= npf_ext_rndblock 541.7SrumbleSUBDIR+= ntfs 551.18SadSUBDIR+= null 561.92SmbalmerSUBDIR+= onewire 571.7SrumbleSUBDIR+= overlay 581.42SpgoyetteSUBDIR+= pciverbose 591.41SahokaSUBDIR+= pf 601.19ScubeSUBDIR+= ppp_bsdcomp 611.19ScubeSUBDIR+= ppp_deflate 621.7SrumbleSUBDIR+= procfs 631.7SrumbleSUBDIR+= ptyfs 641.7SrumbleSUBDIR+= puffs 651.15SadSUBDIR+= putter 661.44SpgoyetteSUBDIR+= scsiverbose 671.103SpgoyetteSUBDIR+= sdtemp 681.33SeladSUBDIR+= secmodel_bsd44 691.100SjymSUBDIR+= secmodel_extensions 701.33SeladSUBDIR+= secmodel_overlay 711.33SeladSUBDIR+= securelevel 721.7SrumbleSUBDIR+= smbfs 731.81SpgoyetteSUBDIR+= spdmem 741.24SpookaSUBDIR+= sysvbfs 751.33SeladSUBDIR+= suser 761.48SpgoyetteSUBDIR+= swsensor 771.7SrumbleSUBDIR+= tmpfs 781.108SriastradSUBDIR+= uatp 791.7SrumbleSUBDIR+= udf 801.18SadSUBDIR+= umap 811.7SrumbleSUBDIR+= union 821.43SpgoyetteSUBDIR+= usbverbose 831.106SchristosSUBDIR+= vcoda 841.78SenamiSUBDIR+= v7fs 851.25ShaadSUBDIR+= vnd 861.29SyamtSUBDIR+= tprof 871.7Srumble.if (defined(NOTYET)) 881.7SrumbleSUBDIR+= unionfs 891.7Srumble.endif 901.37Sdyoung.if ${MKBINUTILS} != "no" 911.37SdyoungSUBDIR+= xldscripts 921.37Sdyoung.endif 931.7Srumble 941.15Sad# Machine dependent section 951.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 961.49Stsutsui ${MACHINE_CPU} == "m68k" 971.47StsutsuiSUBDIR+= exec_aout 981.47Stsutsui.endif 991.47Stsutsui 1001.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1011.17SmartinSUBDIR+= exec_elf32 1021.17Smartin.endif 1031.15Sad 1041.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1051.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1061.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1071.20SheSUBDIR+= exec_elf64 1081.20She.endif 1091.20She 1101.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1111.29Syamt ${MACHINE_ARCH} == "x86_64" 1121.71SjruohoSUBDIR+= amdtemp 1131.64SjruohoSUBDIR+= coretemp 1141.65SjruohoSUBDIR+= est 1151.110SmartinSUBDIR+= hdafg 1161.110SmartinSUBDIR+= hdaudio 1171.72SjruohoSUBDIR+= hpet 1181.69SjruohoSUBDIR+= odcm 1191.66SjruohoSUBDIR+= powernow 1201.29SyamtSUBDIR+= tprof_pmi 1211.70SyamtSUBDIR+= tprof_amdpmi 1221.95SjmcneillSUBDIR+= vmt 1231.29Syamt.endif 1241.29Syamt 1251.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1261.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1271.115Salnsn ${MACHINE_ARCH} == "sparc" 1281.113SalnsnSUBDIR+= bpfjit 1291.112SalnsnSUBDIR+= sljit 1301.112Salnsn.endif 1311.112Salnsn 1321.85Sjruoho# 1331.85Sjruoho# ACPI modules 1341.85Sjruoho# 1351.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1361.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1371.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1381.46SpgoyetteSUBDIR+= acpiverbose 1391.46Spgoyette.endif 1401.46Spgoyette 1411.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1421.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1431.52SjruohoSUBDIR+= acpiacad 1441.52SjruohoSUBDIR+= acpibat 1451.52SjruohoSUBDIR+= acpibut 1461.52SjruohoSUBDIR+= acpicpu 1471.53SjruohoSUBDIR+= acpidalb 1481.58SjruohoSUBDIR+= acpifan 1491.52SjruohoSUBDIR+= acpilid 1501.57SjruohoSUBDIR+= acpipmtr 1511.53SjruohoSUBDIR+= acpitz 1521.53SjruohoSUBDIR+= acpivga 1531.86SjruohoSUBDIR+= acpiwdrt 1541.51SjmcneillSUBDIR+= acpiwmi 1551.53SjruohoSUBDIR+= aibs 1561.54SjruohoSUBDIR+= asus 1571.63SjruohoSUBDIR+= fujbp 1581.63SjruohoSUBDIR+= fujhk 1591.75SjruohoSUBDIR+= hpacel 1601.54SjruohoSUBDIR+= hpqlb 1611.52SjruohoSUBDIR+= thinkpad 1621.50SjmcneillSUBDIR+= wmidell 1631.83SjruohoSUBDIR+= wmieeepc 1641.50SjmcneillSUBDIR+= wmihp 1651.50SjmcneillSUBDIR+= wmimsi 1661.50Sjmcneill.endif 1671.50Sjmcneill 1681.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1691.15SadSUBDIR+= azalia 1701.15SadSUBDIR+= compat_linux 1711.15SadSUBDIR+= compat_linux32 1721.15SadSUBDIR+= compat_netbsd32 1731.15SadSUBDIR+= drm 1741.15SadSUBDIR+= i915drm 1751.40SahokaSUBDIR+= pad 1761.15Sad.endif 1771.15Sad 1781.27Sabs.if ${MACHINE_ARCH} == "i386" 1791.90SjmcneillSUBDIR+= ati_pcigart 1801.15SadSUBDIR+= azalia 1811.15SadSUBDIR+= compat_freebsd 1821.15SadSUBDIR+= compat_ibcs2 1831.15SadSUBDIR+= compat_linux 1841.15SadSUBDIR+= compat_svr4 1851.15SadSUBDIR+= drm 1861.15SadSUBDIR+= i915drm 1871.90SjmcneillSUBDIR+= mach64drm 1881.90SjmcneillSUBDIR+= mgadrm 1891.76SjmcneillSUBDIR+= nsclpcsio 1901.40SahokaSUBDIR+= pad 1911.62SjmcneillSUBDIR+= padlock 1921.90SjmcneillSUBDIR+= r128drm 1931.90SjmcneillSUBDIR+= radeondrm 1941.90SjmcneillSUBDIR+= savagedrm 1951.90SjmcneillSUBDIR+= sisdrm 1961.90SjmcneillSUBDIR+= tdfxdrm 1971.67SjruohoSUBDIR+= viac7temp 1981.90SjmcneillSUBDIR+= viadrm 1991.15Sad.endif 2001.15Sad 2011.85Sjruoho# 2021.85Sjruoho# ISA modules 2031.85Sjruoho# 2041.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2051.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2061.59SjmcneillSUBDIR+= aps 2071.80SjmcneillSUBDIR+= finsio 2081.79SjmcneillSUBDIR+= itesio 2091.101SjakllschSUBDIR+= lm 2101.101SjakllschSUBDIR+= lm_isa 2111.101SjakllschSUBDIR+= lm_isa_common 2121.101SjakllschSUBDIR+= lm_wbsio 2131.101SjakllschSUBDIR+= wbsio 2141.56Sjmcneill.endif 2151.56Sjmcneill 2161.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2171.47StsutsuiSUBDIR+= compat_aoutm68k 2181.47Stsutsui#SUBDIR+= compat_linux 2191.47Stsutsui#SUBDIR+= compat_sunos 2201.47Stsutsui#SUBDIR+= compat_svr4 2211.47Stsutsui.endif 2221.47Stsutsui 2231.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2241.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2251.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2261.88SmbalmerSUBDIR+= pwdog 2271.88Smbalmer.endif 2281.88Smbalmer 2291.23Sagc.include <bsd.own.mk> 2301.23Sagc 2311.107Sreinoud# 2321.107Sreinoud# NetBSD/usermode support 2331.107Sreinoud# 2341.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2351.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2361.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2371.107Sreinoud.endif 2381.107Sreinoud 2391.23Sagc# we need our device mapper for LVM 2401.23Sagc.if (${MKLVM} != "no") 2411.28SyamtSUBDIR+= dm 2421.23Sagc.endif 2431.23Sagc 2441.39Sdarran.if (${MKDTRACE} != "no") 2451.116SchsSUBDIR+= cyclic 2461.39SdarranSUBDIR+= dtrace 2471.39Sdarran.endif 2481.39Sdarran 2491.39Sdarran# we need solaris for the dtrace and zfs modules 2501.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2511.39SdarranSUBDIR+= solaris 2521.39Sdarran.endif 2531.39Sdarran 2541.34Shaad.if (${MKZFS} != "no") 2551.34ShaadSUBDIR+= zfs 2561.34Shaad.endif 2571.34Shaad 2581.73Smrg.if (${MKCOMPATMODULES} != "no") 2591.73SmrgSUBDIR+= arch 2601.73Smrg.endif 2611.73Smrg 2621.84Sjmcneill# 2631.84Sjmcneill# DTV modules 2641.84Sjmcneill# 2651.84SjmcneillSUBDIR+= dtv 2661.84SjmcneillSUBDIR+= dtv_math 2671.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2681.84Sjmcneill# tuners/demods 2691.84SjmcneillSUBDIR+= au8522 2701.84SjmcneillSUBDIR+= cx24227 2711.84SjmcneillSUBDIR+= lg3303 2721.84SjmcneillSUBDIR+= mt2131 2731.84SjmcneillSUBDIR+= nxt2k 2741.84SjmcneillSUBDIR+= tvpll 2751.84SjmcneillSUBDIR+= xc3028 2761.84SjmcneillSUBDIR+= xc5k 2771.91SjruohoSUBDIR+= zl10353 2781.84Sjmcneill# hardware drivers 2791.84SjmcneillSUBDIR+= auvitek 2801.84SjmcneillSUBDIR+= coram 2811.84SjmcneillSUBDIR+= cxdtv 2821.84SjmcneillSUBDIR+= emdtv 2831.84Sjmcneill.endif 2841.84Sjmcneill 2851.98Sriz.if (${MKISCSI} != "no") 2861.98SrizSUBDIR+= iscsi 2871.98Sriz.endif 2881.98Sriz 2891.1Sad.include <bsd.subdir.mk> 290