Makefile revision 1.79
11.79Sjmcneill# $NetBSD: Makefile,v 1.79 2011/07/29 21:01:43 jmcneill 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.74SjmcneillSUBDIR+= dtv 191.7SrumbleSUBDIR+= efs 201.7SrumbleSUBDIR+= ext2fs 211.15SadSUBDIR+= exec_script 221.7SrumbleSUBDIR+= fdesc 231.7SrumbleSUBDIR+= ffs 241.18SadSUBDIR+= filecore 251.68SahokaSUBDIR+= flash 261.15SadSUBDIR+= fss 271.7SrumbleSUBDIR+= hfs 281.7SrumbleSUBDIR+= kernfs 291.15SadSUBDIR+= ksem 301.22SadSUBDIR+= layerfs 311.7SrumbleSUBDIR+= lfs 321.7SrumbleSUBDIR+= mfs 331.45SpgoyetteSUBDIR+= miiverbose 341.45SpgoyetteSUBDIR+= miniroot 351.31SrmindSUBDIR+= mqueue 361.18SadSUBDIR+= msdos 371.68SahokaSUBDIR+= nand 381.68SahokaSUBDIR+= nandemulator 391.15SadSUBDIR+= nfs 401.15SadSUBDIR+= nfsserver 411.30SreinoudSUBDIR+= nilfs 421.7SrumbleSUBDIR+= ntfs 431.18SadSUBDIR+= null 441.7SrumbleSUBDIR+= overlay 451.42SpgoyetteSUBDIR+= pciverbose 461.41SahokaSUBDIR+= pf 471.19ScubeSUBDIR+= ppp_bsdcomp 481.19ScubeSUBDIR+= ppp_deflate 491.7SrumbleSUBDIR+= procfs 501.7SrumbleSUBDIR+= ptyfs 511.7SrumbleSUBDIR+= puffs 521.15SadSUBDIR+= putter 531.44SpgoyetteSUBDIR+= scsiverbose 541.33SeladSUBDIR+= secmodel_bsd44 551.33SeladSUBDIR+= secmodel_overlay 561.33SeladSUBDIR+= securelevel 571.7SrumbleSUBDIR+= smbfs 581.24SpookaSUBDIR+= sysvbfs 591.33SeladSUBDIR+= suser 601.48SpgoyetteSUBDIR+= swsensor 611.7SrumbleSUBDIR+= tmpfs 621.7SrumbleSUBDIR+= udf 631.18SadSUBDIR+= umap 641.7SrumbleSUBDIR+= union 651.43SpgoyetteSUBDIR+= usbverbose 661.78SenamiSUBDIR+= v7fs 671.25ShaadSUBDIR+= vnd 681.29SyamtSUBDIR+= tprof 691.7Srumble.if (defined(NOTYET)) 701.7SrumbleSUBDIR+= unionfs 711.7Srumble.endif 721.37Sdyoung.if ${MKBINUTILS} != "no" 731.37SdyoungSUBDIR+= xldscripts 741.37Sdyoung.endif 751.7Srumble 761.15Sad# Machine dependent section 771.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \ 781.49Stsutsui ${MACHINE_CPU} == "m68k" 791.47StsutsuiSUBDIR+= exec_aout 801.47Stsutsui.endif 811.47Stsutsui 821.21Stsutsui.if ${MACHINE_ARCH} != "alpha" 831.17SmartinSUBDIR+= exec_elf32 841.17Smartin.endif 851.15Sad 861.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \ 871.21Stsutsui ${MACHINE_ARCH} == "sparc64" || \ 881.21Stsutsui ${MACHINE_ARCH} == "x86_64" 891.20SheSUBDIR+= exec_elf64 901.20She.endif 911.20She 921.29Syamt.if ${MACHINE_ARCH} == "i386" || \ 931.29Syamt ${MACHINE_ARCH} == "x86_64" 941.71SjruohoSUBDIR+= amdtemp 951.64SjruohoSUBDIR+= coretemp 961.65SjruohoSUBDIR+= est 971.72SjruohoSUBDIR+= hpet 981.69SjruohoSUBDIR+= odcm 991.66SjruohoSUBDIR+= powernow 1001.29SyamtSUBDIR+= tprof_pmi 1011.70SyamtSUBDIR+= tprof_amdpmi 1021.29Syamt.endif 1031.29Syamt 1041.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \ 1051.46Spgoyette ${MACHINE_ARCH} == "ia64" || \ 1061.46Spgoyette ${MACHINE_ARCH} == "x86_64" 1071.46SpgoyetteSUBDIR+= acpiverbose 1081.46Spgoyette.endif 1091.46Spgoyette 1101.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1111.50Sjmcneill ${MACHINE_ARCH} == "x86_64" 1121.52SjruohoSUBDIR+= acpiacad 1131.52SjruohoSUBDIR+= acpibat 1141.52SjruohoSUBDIR+= acpibut 1151.52SjruohoSUBDIR+= acpicpu 1161.53SjruohoSUBDIR+= acpidalb 1171.58SjruohoSUBDIR+= acpifan 1181.52SjruohoSUBDIR+= acpilid 1191.57SjruohoSUBDIR+= acpipmtr 1201.53SjruohoSUBDIR+= acpitz 1211.53SjruohoSUBDIR+= acpivga 1221.51SjmcneillSUBDIR+= acpiwmi 1231.53SjruohoSUBDIR+= aibs 1241.54SjruohoSUBDIR+= asus 1251.63SjruohoSUBDIR+= fujbp 1261.63SjruohoSUBDIR+= fujhk 1271.75SjruohoSUBDIR+= hpacel 1281.54SjruohoSUBDIR+= hpqlb 1291.52SjruohoSUBDIR+= thinkpad 1301.50SjmcneillSUBDIR+= wmidell 1311.50SjmcneillSUBDIR+= wmihp 1321.50SjmcneillSUBDIR+= wmimsi 1331.50Sjmcneill.endif 1341.50Sjmcneill 1351.27Sabs.if ${MACHINE_ARCH} == "x86_64" 1361.15SadSUBDIR+= azalia 1371.15SadSUBDIR+= compat_linux 1381.15SadSUBDIR+= compat_linux32 1391.15SadSUBDIR+= compat_netbsd32 1401.15SadSUBDIR+= drm 1411.15SadSUBDIR+= i915drm 1421.40SahokaSUBDIR+= pad 1431.15Sad.endif 1441.15Sad 1451.27Sabs.if ${MACHINE_ARCH} == "i386" 1461.15SadSUBDIR+= azalia 1471.15SadSUBDIR+= compat_freebsd 1481.15SadSUBDIR+= compat_ibcs2 1491.15SadSUBDIR+= compat_linux 1501.15SadSUBDIR+= compat_svr4 1511.15SadSUBDIR+= drm 1521.15SadSUBDIR+= i915drm 1531.76SjmcneillSUBDIR+= nsclpcsio 1541.15SadSUBDIR+= radeondrm 1551.32SjmcneillSUBDIR+= viadrm 1561.40SahokaSUBDIR+= pad 1571.62SjmcneillSUBDIR+= padlock 1581.67SjruohoSUBDIR+= viac7temp 1591.63SjruohoSUBDIR+= wmieeepc 1601.15Sad.endif 1611.15Sad 1621.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \ 1631.56Sjmcneill ${MACHINE_ARCH} == "x86_64" 1641.59SjmcneillSUBDIR+= aps 1651.56SjmcneillSUBDIR+= au8522 1661.56SjmcneillSUBDIR+= auvitek 1671.79SjmcneillSUBDIR+= itesio 1681.56SjmcneillSUBDIR+= xc5k 1691.56Sjmcneill.endif 1701.56Sjmcneill 1711.49Stsutsui.if ${MACHINE_CPU} == "m68k" 1721.47StsutsuiSUBDIR+= compat_aoutm68k 1731.47Stsutsui#SUBDIR+= compat_linux 1741.47Stsutsui#SUBDIR+= compat_sunos 1751.47Stsutsui#SUBDIR+= compat_svr4 1761.47Stsutsui.endif 1771.47Stsutsui 1781.23Sagc.include <bsd.own.mk> 1791.23Sagc 1801.23Sagc# we need our device mapper for LVM 1811.23Sagc.if (${MKLVM} != "no") 1821.28SyamtSUBDIR+= dm 1831.23Sagc.endif 1841.23Sagc 1851.39Sdarran.if (${MKDTRACE} != "no") 1861.39SdarranSUBDIR+= dtrace 1871.39Sdarran.endif 1881.39Sdarran 1891.39Sdarran# we need solaris for the dtrace and zfs modules 1901.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no") 1911.39SdarranSUBDIR+= solaris 1921.39Sdarran.endif 1931.39Sdarran 1941.34Shaad.if (${MKZFS} != "no") 1951.34ShaadSUBDIR+= zfs 1961.34Shaad.endif 1971.34Shaad 1981.73Smrg.if (${MKCOMPATMODULES} != "no") 1991.73SmrgSUBDIR+= arch 2001.73Smrg.endif 2011.73Smrg 2021.1Sad.include <bsd.subdir.mk> 203