Makefile revision 1.113
11.113Salnsn# $NetBSD: Makefile,v 1.113 2012/10/27 22:36:13 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.112Salnsn.if ${MACHINE_ARCH} == "x86_64" 1251.113SalnsnSUBDIR+= bpfjit 1261.112SalnsnSUBDIR+= sljit 1271.112Salnsn.endif 1281.112Salnsn 1291.85Sjruoho# 1301.85Sjruoho# ACPI modules 1311.85Sjruoho# 1321.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1331.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1341.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1351.46SpgoyetteSUBDIR+= acpiverbose 1361.46Spgoyette.endif 1371.46Spgoyette 1381.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1391.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1401.52SjruohoSUBDIR+= acpiacad 1411.52SjruohoSUBDIR+= acpibat 1421.52SjruohoSUBDIR+= acpibut 1431.52SjruohoSUBDIR+= acpicpu 1441.53SjruohoSUBDIR+= acpidalb 1451.58SjruohoSUBDIR+= acpifan 1461.52SjruohoSUBDIR+= acpilid 1471.57SjruohoSUBDIR+= acpipmtr 1481.53SjruohoSUBDIR+= acpitz 1491.53SjruohoSUBDIR+= acpivga 1501.86SjruohoSUBDIR+= acpiwdrt 1511.51SjmcneillSUBDIR+= acpiwmi 1521.53SjruohoSUBDIR+= aibs 1531.54SjruohoSUBDIR+= asus 1541.63SjruohoSUBDIR+= fujbp 1551.63SjruohoSUBDIR+= fujhk 1561.75SjruohoSUBDIR+= hpacel 1571.54SjruohoSUBDIR+= hpqlb 1581.52SjruohoSUBDIR+= thinkpad 1591.50SjmcneillSUBDIR+= wmidell 1601.83SjruohoSUBDIR+= wmieeepc 1611.50SjmcneillSUBDIR+= wmihp 1621.50SjmcneillSUBDIR+= wmimsi 1631.50Sjmcneill.endif 1641.50Sjmcneill 1651.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1661.15SadSUBDIR+= azalia 1671.15SadSUBDIR+= compat_linux 1681.15SadSUBDIR+= compat_linux32 1691.15SadSUBDIR+= compat_netbsd32 1701.15SadSUBDIR+= drm 1711.15SadSUBDIR+= i915drm 1721.40SahokaSUBDIR+= pad 1731.15Sad.endif 1741.15Sad 1751.27Sabs.if ${MACHINE_ARCH} == "i386" 1761.90SjmcneillSUBDIR+= ati_pcigart 1771.15SadSUBDIR+= azalia 1781.15SadSUBDIR+= compat_freebsd 1791.15SadSUBDIR+= compat_ibcs2 1801.15SadSUBDIR+= compat_linux 1811.15SadSUBDIR+= compat_svr4 1821.15SadSUBDIR+= drm 1831.15SadSUBDIR+= i915drm 1841.90SjmcneillSUBDIR+= mach64drm 1851.90SjmcneillSUBDIR+= mgadrm 1861.76SjmcneillSUBDIR+= nsclpcsio 1871.40SahokaSUBDIR+= pad 1881.62SjmcneillSUBDIR+= padlock 1891.90SjmcneillSUBDIR+= r128drm 1901.90SjmcneillSUBDIR+= radeondrm 1911.90SjmcneillSUBDIR+= savagedrm 1921.90SjmcneillSUBDIR+= sisdrm 1931.90SjmcneillSUBDIR+= tdfxdrm 1941.67SjruohoSUBDIR+= viac7temp 1951.90SjmcneillSUBDIR+= viadrm 1961.15Sad.endif 1971.15Sad 1981.85Sjruoho# 1991.85Sjruoho# ISA modules 2001.85Sjruoho# 2011.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 2021.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 2031.59SjmcneillSUBDIR+= aps 2041.80SjmcneillSUBDIR+= finsio 2051.79SjmcneillSUBDIR+= itesio 2061.101SjakllschSUBDIR+= lm 2071.101SjakllschSUBDIR+= lm_isa 2081.101SjakllschSUBDIR+= lm_isa_common 2091.101SjakllschSUBDIR+= lm_wbsio 2101.101SjakllschSUBDIR+= wbsio 2111.56Sjmcneill.endif 2121.56Sjmcneill 2131.49Stsutsui.if ${MACHINE_CPU} == "m68k" 2141.47StsutsuiSUBDIR+= compat_aoutm68k 2151.47Stsutsui#SUBDIR+= compat_linux 2161.47Stsutsui#SUBDIR+= compat_sunos 2171.47Stsutsui#SUBDIR+= compat_svr4 2181.47Stsutsui.endif 2191.47Stsutsui 2201.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2211.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2221.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2231.88SmbalmerSUBDIR+= pwdog 2241.88Smbalmer.endif 2251.88Smbalmer 2261.23Sagc.include <bsd.own.mk> 2271.23Sagc 2281.107Sreinoud# 2291.107Sreinoud# NetBSD/usermode support 2301.107Sreinoud# 2311.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \ 2321.107Sreinoud ${MACHINE_ARCH} == "x86_64" 2331.107SreinoudSUBDIR+= ../arch/usermode/modules/syscallemu 2341.107Sreinoud.endif 2351.107Sreinoud 2361.23Sagc# we need our device mapper for LVM 2371.23Sagc.if (${MKLVM} != "no") 2381.28SyamtSUBDIR+= dm 2391.23Sagc.endif 2401.23Sagc 2411.39Sdarran.if (${MKDTRACE} != "no") 2421.39SdarranSUBDIR+= dtrace 2431.39Sdarran.endif 2441.39Sdarran 2451.39Sdarran# we need solaris for the dtrace and zfs modules 2461.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2471.39SdarranSUBDIR+= solaris 2481.39Sdarran.endif 2491.39Sdarran 2501.34Shaad.if (${MKZFS} != "no") 2511.34ShaadSUBDIR+= zfs 2521.34Shaad.endif 2531.34Shaad 2541.73Smrg.if (${MKCOMPATMODULES} != "no") 2551.73SmrgSUBDIR+= arch 2561.73Smrg.endif 2571.73Smrg 2581.84Sjmcneill# 2591.84Sjmcneill# DTV modules 2601.84Sjmcneill# 2611.84SjmcneillSUBDIR+= dtv 2621.84SjmcneillSUBDIR+= dtv_math 2631.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2641.84Sjmcneill# tuners/demods 2651.84SjmcneillSUBDIR+= au8522 2661.84SjmcneillSUBDIR+= cx24227 2671.84SjmcneillSUBDIR+= lg3303 2681.84SjmcneillSUBDIR+= mt2131 2691.84SjmcneillSUBDIR+= nxt2k 2701.84SjmcneillSUBDIR+= tvpll 2711.84SjmcneillSUBDIR+= xc3028 2721.84SjmcneillSUBDIR+= xc5k 2731.91SjruohoSUBDIR+= zl10353 2741.84Sjmcneill# hardware drivers 2751.84SjmcneillSUBDIR+= auvitek 2761.84SjmcneillSUBDIR+= coram 2771.84SjmcneillSUBDIR+= cxdtv 2781.84SjmcneillSUBDIR+= emdtv 2791.84Sjmcneill.endif 2801.84Sjmcneill 2811.98Sriz.if (${MKISCSI} != "no") 2821.98SrizSUBDIR+= iscsi 2831.98Sriz.endif 2841.98Sriz 2851.1Sad.include <bsd.subdir.mk> 286