Makefile revision 1.120
11.120Snonaka# $NetBSD: Makefile,v 1.120 2013/10/26 09:16:20 nonaka 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.94SmbalmerSUBDIR+= iic 381.7SrumbleSUBDIR+= kernfs 391.22SadSUBDIR+= layerfs 401.7SrumbleSUBDIR+= lfs 411.7SrumbleSUBDIR+= mfs 421.45SpgoyetteSUBDIR+= miiverbose 431.45SpgoyetteSUBDIR+= miniroot 441.31SrmindSUBDIR+= mqueue 451.18SadSUBDIR+= msdos 461.68SahokaSUBDIR+= nand 471.68SahokaSUBDIR+= nandemulator 481.15SadSUBDIR+= nfs 491.15SadSUBDIR+= nfsserver 501.30SreinoudSUBDIR+= nilfs 511.96StronSUBDIR+= npf 521.97StronSUBDIR+= npf_alg_icmp 531.111SrmindSUBDIR+= npf_ext_log 541.119SchristosSUBDIR+= npf_ext_normalize 551.117SrmindSUBDIR+= npf_ext_rndblock 561.7SrumbleSUBDIR+= ntfs 571.18SadSUBDIR+= null 581.92SmbalmerSUBDIR+= onewire 591.7SrumbleSUBDIR+= overlay 601.42SpgoyetteSUBDIR+= pciverbose 611.41SahokaSUBDIR+= pf 621.19ScubeSUBDIR+= ppp_bsdcomp 631.19ScubeSUBDIR+= ppp_deflate 641.7SrumbleSUBDIR+= procfs 651.7SrumbleSUBDIR+= ptyfs 661.7SrumbleSUBDIR+= puffs 671.15SadSUBDIR+= putter 681.44SpgoyetteSUBDIR+= scsiverbose 691.103SpgoyetteSUBDIR+= sdtemp 701.33SeladSUBDIR+= secmodel_bsd44 711.100SjymSUBDIR+= secmodel_extensions 721.33SeladSUBDIR+= secmodel_overlay 731.33SeladSUBDIR+= securelevel 741.7SrumbleSUBDIR+= smbfs 751.81SpgoyetteSUBDIR+= spdmem 761.24SpookaSUBDIR+= sysvbfs 771.33SeladSUBDIR+= suser 781.48SpgoyetteSUBDIR+= swsensor 791.7SrumbleSUBDIR+= tmpfs 801.108SriastradSUBDIR+= uatp 811.7SrumbleSUBDIR+= udf 821.18SadSUBDIR+= umap 831.7SrumbleSUBDIR+= union 841.43SpgoyetteSUBDIR+= usbverbose 851.106SchristosSUBDIR+= vcoda 861.78SenamiSUBDIR+= v7fs 871.25ShaadSUBDIR+= vnd 881.29SyamtSUBDIR+= tprof 891.7Srumble.if (defined(NOTYET)) 901.7SrumbleSUBDIR+= unionfs 911.7Srumble.endif 921.37Sdyoung.if ${MKBINUTILS} != "no" 931.37SdyoungSUBDIR+= xldscripts 941.37Sdyoung.endif 951.7Srumble 961.15Sad# Machine dependent section 971.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 981.49Stsutsui ${MACHINE_CPU} == "m68k" 991.47StsutsuiSUBDIR+= exec_aout 1001.47Stsutsui.endif 1011.47Stsutsui 1021.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 1031.17SmartinSUBDIR+= exec_elf32 1041.17Smartin.endif 1051.15Sad 1061.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 1071.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 1081.21Stsutsui ${MACHINE_ARCH} == "x86_64" 1091.20SheSUBDIR+= exec_elf64 1101.20She.endif 1111.20She 1121.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1131.29Syamt ${MACHINE_ARCH} == "x86_64" 1141.71SjruohoSUBDIR+= amdtemp 1151.64SjruohoSUBDIR+= coretemp 1161.65SjruohoSUBDIR+= est 1171.110SmartinSUBDIR+= hdafg 1181.110SmartinSUBDIR+= hdaudio 1191.72SjruohoSUBDIR+= hpet 1201.69SjruohoSUBDIR+= odcm 1211.66SjruohoSUBDIR+= powernow 1221.29SyamtSUBDIR+= tprof_pmi 1231.70SyamtSUBDIR+= tprof_amdpmi 1241.95SjmcneillSUBDIR+= vmt 1251.29Syamt.endif 1261.29Syamt 1271.114Salnsn.if ${MACHINE_ARCH} == "i386" || \ 1281.115Salnsn ${MACHINE_ARCH} == "x86_64" || \ 1291.115Salnsn ${MACHINE_ARCH} == "sparc" 1301.113SalnsnSUBDIR+= bpfjit 1311.112SalnsnSUBDIR+= sljit 1321.112Salnsn.endif 1331.112Salnsn 1341.85Sjruoho# 1351.85Sjruoho# ACPI modules 1361.85Sjruoho# 1371.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1381.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1391.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1401.46SpgoyetteSUBDIR+= acpiverbose 1411.46Spgoyette.endif 1421.46Spgoyette 1431.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1441.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1451.52SjruohoSUBDIR+= acpiacad 1461.52SjruohoSUBDIR+= acpibat 1471.52SjruohoSUBDIR+= acpibut 1481.52SjruohoSUBDIR+= acpicpu 1491.53SjruohoSUBDIR+= acpidalb 1501.58SjruohoSUBDIR+= acpifan 1511.52SjruohoSUBDIR+= acpilid 1521.57SjruohoSUBDIR+= acpipmtr 1531.53SjruohoSUBDIR+= acpitz 1541.53SjruohoSUBDIR+= acpivga 1551.86SjruohoSUBDIR+= acpiwdrt 1561.51SjmcneillSUBDIR+= acpiwmi 1571.53SjruohoSUBDIR+= aibs 1581.54SjruohoSUBDIR+= asus 1591.63SjruohoSUBDIR+= fujbp 1601.63SjruohoSUBDIR+= fujhk 1611.75SjruohoSUBDIR+= hpacel 1621.54SjruohoSUBDIR+= hpqlb 1631.52SjruohoSUBDIR+= thinkpad 1641.50SjmcneillSUBDIR+= wmidell 1651.83SjruohoSUBDIR+= wmieeepc 1661.50SjmcneillSUBDIR+= wmihp 1671.50SjmcneillSUBDIR+= wmimsi 1681.50Sjmcneill.endif 1691.50Sjmcneill 1701.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1711.15SadSUBDIR+= azalia 1721.15SadSUBDIR+= compat_linux 1731.15SadSUBDIR+= compat_linux32 1741.15SadSUBDIR+= compat_netbsd32 1751.15SadSUBDIR+= drm 1761.15SadSUBDIR+= i915drm 1771.40SahokaSUBDIR+= pad 1781.15Sad.endif 1791.15Sad 1801.27Sabs.if ${MACHINE_ARCH} == "i386" 1811.90SjmcneillSUBDIR+= ati_pcigart 1821.15SadSUBDIR+= azalia 1831.15SadSUBDIR+= compat_freebsd 1841.15SadSUBDIR+= compat_ibcs2 1851.15SadSUBDIR+= compat_linux 1861.15SadSUBDIR+= compat_svr4 1871.15SadSUBDIR+= drm 1881.15SadSUBDIR+= i915drm 1891.90SjmcneillSUBDIR+= mach64drm 1901.90SjmcneillSUBDIR+= mgadrm 1911.76SjmcneillSUBDIR+= nsclpcsio 1921.40SahokaSUBDIR+= pad 1931.62SjmcneillSUBDIR+= padlock 1941.90SjmcneillSUBDIR+= r128drm 1951.90SjmcneillSUBDIR+= radeondrm 1961.90SjmcneillSUBDIR+= savagedrm 1971.90SjmcneillSUBDIR+= sisdrm 1981.90SjmcneillSUBDIR+= tdfxdrm 1991.67SjruohoSUBDIR+= viac7temp 2001.90SjmcneillSUBDIR+= viadrm 2011.15Sad.endif 2021.15Sad 2031.85Sjruoho# 2041.85Sjruoho# ISA modules 2051.85Sjruoho# 2061.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2071.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2081.59SjmcneillSUBDIR+= aps 2091.80SjmcneillSUBDIR+= finsio 2101.79SjmcneillSUBDIR+= itesio 2111.101SjakllschSUBDIR+= lm 2121.101SjakllschSUBDIR+= lm_isa 2131.101SjakllschSUBDIR+= lm_isa_common 2141.101SjakllschSUBDIR+= lm_wbsio 2151.101SjakllschSUBDIR+= wbsio 2161.56Sjmcneill.endif 2171.56Sjmcneill 2181.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2191.47StsutsuiSUBDIR+= compat_aoutm68k 2201.47Stsutsui#SUBDIR+= compat_linux 2211.47Stsutsui#SUBDIR+= compat_sunos 2221.47Stsutsui#SUBDIR+= compat_svr4 2231.47Stsutsui.endif 2241.47Stsutsui 2251.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2261.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2271.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2281.88SmbalmerSUBDIR+= pwdog 2291.88Smbalmer.endif 2301.88Smbalmer 2311.23Sagc.include <bsd.own.mk> 2321.23Sagc 2331.107Sreinoud# 2341.107Sreinoud# NetBSD/usermode support 2351.107Sreinoud# 2361.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2371.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2381.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2391.107Sreinoud.endif 2401.107Sreinoud 2411.23Sagc# we need our device mapper for LVM 2421.23Sagc.if (${MKLVM} != "no") 2431.28SyamtSUBDIR+= dm 2441.23Sagc.endif 2451.23Sagc 2461.39Sdarran.if (${MKDTRACE} != "no") 2471.116SchsSUBDIR+= cyclic 2481.39SdarranSUBDIR+= dtrace 2491.39Sdarran.endif 2501.39Sdarran 2511.39Sdarran# we need solaris for the dtrace and zfs modules 2521.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2531.39SdarranSUBDIR+= solaris 2541.39Sdarran.endif 2551.39Sdarran 2561.34Shaad.if (${MKZFS} != "no") 2571.34ShaadSUBDIR+= zfs 2581.34Shaad.endif 2591.34Shaad 2601.73Smrg.if (${MKCOMPATMODULES} != "no") 2611.73SmrgSUBDIR+= arch 2621.73Smrg.endif 2631.73Smrg 2641.84Sjmcneill# 2651.84Sjmcneill# DTV modules 2661.84Sjmcneill# 2671.84SjmcneillSUBDIR+= dtv 2681.84SjmcneillSUBDIR+= dtv_math 2691.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2701.84Sjmcneill# tuners/demods 2711.84SjmcneillSUBDIR+= au8522 2721.84SjmcneillSUBDIR+= cx24227 2731.84SjmcneillSUBDIR+= lg3303 2741.84SjmcneillSUBDIR+= mt2131 2751.84SjmcneillSUBDIR+= nxt2k 2761.84SjmcneillSUBDIR+= tvpll 2771.84SjmcneillSUBDIR+= xc3028 2781.84SjmcneillSUBDIR+= xc5k 2791.91SjruohoSUBDIR+= zl10353 2801.84Sjmcneill# hardware drivers 2811.84SjmcneillSUBDIR+= auvitek 2821.84SjmcneillSUBDIR+= coram 2831.84SjmcneillSUBDIR+= cxdtv 2841.84SjmcneillSUBDIR+= emdtv 2851.84Sjmcneill.endif 2861.84Sjmcneill 2871.98Sriz.if (${MKISCSI} != "no") 2881.98SrizSUBDIR+= iscsi 2891.98Sriz.endif 2901.98Sriz 2911.1Sad.include <bsd.subdir.mk> 292