Makefile revision 1.99
11.99Sahoka# $NetBSD: Makefile,v 1.99 2011/11/24 15:52:24 ahoka 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.7SrumbleSUBDIR+= efs 201.7SrumbleSUBDIR+= ext2fs 211.15SadSUBDIR+= exec_script 221.7SrumbleSUBDIR+= fdesc 231.7SrumbleSUBDIR+= ffs 241.18SadSUBDIR+= filecore 251.93SsjgSUBDIR+= filemon 261.68SahokaSUBDIR+= flash 271.15SadSUBDIR+= fss 281.89SmbalmerSUBDIR+= gpio 291.94SmbalmerSUBDIR+= gpioiic 301.92SmbalmerSUBDIR+= gpioow 311.89SmbalmerSUBDIR+= gpiosim 321.7SrumbleSUBDIR+= hfs 331.94SmbalmerSUBDIR+= iic 341.7SrumbleSUBDIR+= kernfs 351.15SadSUBDIR+= ksem 361.22SadSUBDIR+= layerfs 371.7SrumbleSUBDIR+= lfs 381.7SrumbleSUBDIR+= mfs 391.45SpgoyetteSUBDIR+= miiverbose 401.45SpgoyetteSUBDIR+= miniroot 411.31SrmindSUBDIR+= mqueue 421.18SadSUBDIR+= msdos 431.68SahokaSUBDIR+= nand 441.68SahokaSUBDIR+= nandemulator 451.15SadSUBDIR+= nfs 461.15SadSUBDIR+= nfsserver 471.30SreinoudSUBDIR+= nilfs 481.96StronSUBDIR+= npf 491.97StronSUBDIR+= npf_alg_icmp 501.7SrumbleSUBDIR+= ntfs 511.18SadSUBDIR+= null 521.92SmbalmerSUBDIR+= onewire 531.7SrumbleSUBDIR+= overlay 541.42SpgoyetteSUBDIR+= pciverbose 551.41SahokaSUBDIR+= pf 561.19ScubeSUBDIR+= ppp_bsdcomp 571.19ScubeSUBDIR+= ppp_deflate 581.7SrumbleSUBDIR+= procfs 591.7SrumbleSUBDIR+= ptyfs 601.7SrumbleSUBDIR+= puffs 611.15SadSUBDIR+= putter 621.44SpgoyetteSUBDIR+= scsiverbose 631.33SeladSUBDIR+= secmodel_bsd44 641.33SeladSUBDIR+= secmodel_overlay 651.33SeladSUBDIR+= securelevel 661.7SrumbleSUBDIR+= smbfs 671.81SpgoyetteSUBDIR+= spdmem 681.24SpookaSUBDIR+= sysvbfs 691.33SeladSUBDIR+= suser 701.48SpgoyetteSUBDIR+= swsensor 711.7SrumbleSUBDIR+= tmpfs 721.7SrumbleSUBDIR+= udf 731.18SadSUBDIR+= umap 741.7SrumbleSUBDIR+= union 751.43SpgoyetteSUBDIR+= usbverbose 761.78SenamiSUBDIR+= v7fs 771.25ShaadSUBDIR+= vnd 781.29SyamtSUBDIR+= tprof 791.7Srumble.if (defined(NOTYET)) 801.7SrumbleSUBDIR+= unionfs 811.7Srumble.endif 821.37Sdyoung.if ${MKBINUTILS} != "no" 831.37SdyoungSUBDIR+= xldscripts 841.37Sdyoung.endif 851.7Srumble 861.15Sad# Machine dependent section 871.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 881.49Stsutsui ${MACHINE_CPU} == "m68k" 891.47StsutsuiSUBDIR+= exec_aout 901.47Stsutsui.endif 911.47Stsutsui 921.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 931.17SmartinSUBDIR+= exec_elf32 941.17Smartin.endif 951.15Sad 961.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 971.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 981.21Stsutsui ${MACHINE_ARCH} == "x86_64" 991.20SheSUBDIR+= exec_elf64 1001.20She.endif 1011.20She 1021.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 1031.29Syamt ${MACHINE_ARCH} == "x86_64" 1041.71SjruohoSUBDIR+= amdtemp 1051.64SjruohoSUBDIR+= coretemp 1061.65SjruohoSUBDIR+= est 1071.72SjruohoSUBDIR+= hpet 1081.69SjruohoSUBDIR+= odcm 1091.66SjruohoSUBDIR+= powernow 1101.29SyamtSUBDIR+= tprof_pmi 1111.70SyamtSUBDIR+= tprof_amdpmi 1121.95SjmcneillSUBDIR+= vmt 1131.29Syamt.endif 1141.29Syamt 1151.85Sjruoho# 1161.85Sjruoho# ACPI modules 1171.85Sjruoho# 1181.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1191.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1201.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1211.46SpgoyetteSUBDIR+= acpiverbose 1221.46Spgoyette.endif 1231.46Spgoyette 1241.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1251.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1261.52SjruohoSUBDIR+= acpiacad 1271.52SjruohoSUBDIR+= acpibat 1281.52SjruohoSUBDIR+= acpibut 1291.52SjruohoSUBDIR+= acpicpu 1301.53SjruohoSUBDIR+= acpidalb 1311.58SjruohoSUBDIR+= acpifan 1321.52SjruohoSUBDIR+= acpilid 1331.57SjruohoSUBDIR+= acpipmtr 1341.53SjruohoSUBDIR+= acpitz 1351.53SjruohoSUBDIR+= acpivga 1361.86SjruohoSUBDIR+= acpiwdrt 1371.51SjmcneillSUBDIR+= acpiwmi 1381.53SjruohoSUBDIR+= aibs 1391.54SjruohoSUBDIR+= asus 1401.63SjruohoSUBDIR+= fujbp 1411.63SjruohoSUBDIR+= fujhk 1421.75SjruohoSUBDIR+= hpacel 1431.54SjruohoSUBDIR+= hpqlb 1441.52SjruohoSUBDIR+= thinkpad 1451.50SjmcneillSUBDIR+= wmidell 1461.83SjruohoSUBDIR+= wmieeepc 1471.50SjmcneillSUBDIR+= wmihp 1481.50SjmcneillSUBDIR+= wmimsi 1491.50Sjmcneill.endif 1501.50Sjmcneill 1511.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1521.15SadSUBDIR+= azalia 1531.15SadSUBDIR+= compat_linux 1541.15SadSUBDIR+= compat_linux32 1551.15SadSUBDIR+= compat_netbsd32 1561.15SadSUBDIR+= drm 1571.15SadSUBDIR+= i915drm 1581.40SahokaSUBDIR+= pad 1591.15Sad.endif 1601.15Sad 1611.27Sabs.if ${MACHINE_ARCH} == "i386" 1621.90SjmcneillSUBDIR+= ati_pcigart 1631.15SadSUBDIR+= azalia 1641.15SadSUBDIR+= compat_freebsd 1651.15SadSUBDIR+= compat_ibcs2 1661.15SadSUBDIR+= compat_linux 1671.15SadSUBDIR+= compat_svr4 1681.15SadSUBDIR+= drm 1691.15SadSUBDIR+= i915drm 1701.90SjmcneillSUBDIR+= mach64drm 1711.90SjmcneillSUBDIR+= mgadrm 1721.76SjmcneillSUBDIR+= nsclpcsio 1731.40SahokaSUBDIR+= pad 1741.62SjmcneillSUBDIR+= padlock 1751.90SjmcneillSUBDIR+= r128drm 1761.90SjmcneillSUBDIR+= radeondrm 1771.90SjmcneillSUBDIR+= savagedrm 1781.90SjmcneillSUBDIR+= sisdrm 1791.90SjmcneillSUBDIR+= tdfxdrm 1801.67SjruohoSUBDIR+= viac7temp 1811.90SjmcneillSUBDIR+= viadrm 1821.15Sad.endif 1831.15Sad 1841.85Sjruoho# 1851.85Sjruoho# ISA modules 1861.85Sjruoho# 1871.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1881.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 1891.59SjmcneillSUBDIR+= aps 1901.80SjmcneillSUBDIR+= finsio 1911.79SjmcneillSUBDIR+= itesio 1921.56Sjmcneill.endif 1931.56Sjmcneill 1941.49Stsutsui.if ${MACHINE_CPU} == "m68k" 1951.47StsutsuiSUBDIR+= compat_aoutm68k 1961.47Stsutsui#SUBDIR+= compat_linux 1971.47Stsutsui#SUBDIR+= compat_sunos 1981.47Stsutsui#SUBDIR+= compat_svr4 1991.47Stsutsui.endif 2001.47Stsutsui 2011.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \ 2021.88Smbalmer ${MACHINE_ARCH} == "x86_64" || \ 2031.88Smbalmer ${MACHINE_ARCH} == "sparc64" 2041.88SmbalmerSUBDIR+= pwdog 2051.88Smbalmer.endif 2061.88Smbalmer 2071.23Sagc.include <bsd.own.mk> 2081.23Sagc 2091.23Sagc# we need our device mapper for LVM 2101.23Sagc.if (${MKLVM} != "no") 2111.28SyamtSUBDIR+= dm 2121.23Sagc.endif 2131.23Sagc 2141.39Sdarran.if (${MKDTRACE} != "no") 2151.39SdarranSUBDIR+= dtrace 2161.39Sdarran.endif 2171.39Sdarran 2181.39Sdarran# we need solaris for the dtrace and zfs modules 2191.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 2201.39SdarranSUBDIR+= solaris 2211.39Sdarran.endif 2221.39Sdarran 2231.34Shaad.if (${MKZFS} != "no") 2241.34ShaadSUBDIR+= zfs 2251.34Shaad.endif 2261.34Shaad 2271.73Smrg.if (${MKCOMPATMODULES} != "no") 2281.73SmrgSUBDIR+= arch 2291.73Smrg.endif 2301.73Smrg 2311.84Sjmcneill# 2321.84Sjmcneill# DTV modules 2331.84Sjmcneill# 2341.84SjmcneillSUBDIR+= dtv 2351.84SjmcneillSUBDIR+= dtv_math 2361.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 2371.84Sjmcneill# tuners/demods 2381.84SjmcneillSUBDIR+= au8522 2391.84SjmcneillSUBDIR+= cx24227 2401.84SjmcneillSUBDIR+= lg3303 2411.84SjmcneillSUBDIR+= mt2131 2421.84SjmcneillSUBDIR+= nxt2k 2431.84SjmcneillSUBDIR+= tvpll 2441.84SjmcneillSUBDIR+= xc3028 2451.84SjmcneillSUBDIR+= xc5k 2461.91SjruohoSUBDIR+= zl10353 2471.84Sjmcneill# hardware drivers 2481.84SjmcneillSUBDIR+= auvitek 2491.84SjmcneillSUBDIR+= coram 2501.84SjmcneillSUBDIR+= cxdtv 2511.84SjmcneillSUBDIR+= emdtv 2521.84Sjmcneill.endif 2531.84Sjmcneill 2541.98Sriz.if (${MKISCSI} != "no") 2551.98SrizSUBDIR+= iscsi 2561.98Sriz.endif 2571.98Sriz 2581.1Sad.include <bsd.subdir.mk> 259