Makefile revision 1.74
11.74Sjmcneill#	$NetBSD: Makefile,v 1.74 2011/07/09 14:56: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.25ShaadSUBDIR+=	vnd
671.29SyamtSUBDIR+=	tprof
681.7Srumble.if (defined(NOTYET))
691.7SrumbleSUBDIR+=	unionfs
701.7Srumble.endif
711.37Sdyoung.if ${MKBINUTILS} != "no"
721.37SdyoungSUBDIR+=	xldscripts
731.37Sdyoung.endif
741.7Srumble
751.15Sad# Machine dependent section
761.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
771.49Stsutsui    ${MACHINE_CPU} == "m68k"
781.47StsutsuiSUBDIR+=	exec_aout
791.47Stsutsui.endif
801.47Stsutsui
811.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
821.17SmartinSUBDIR+=	exec_elf32
831.17Smartin.endif
841.15Sad
851.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
861.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
871.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
881.20SheSUBDIR+=	exec_elf64
891.20She.endif
901.20She
911.29Syamt.if ${MACHINE_ARCH} == "i386" || \
921.29Syamt    ${MACHINE_ARCH} == "x86_64"
931.71SjruohoSUBDIR+=	amdtemp
941.64SjruohoSUBDIR+=	coretemp
951.65SjruohoSUBDIR+=	est
961.72SjruohoSUBDIR+=	hpet
971.69SjruohoSUBDIR+=	odcm
981.66SjruohoSUBDIR+=	powernow
991.29SyamtSUBDIR+=	tprof_pmi
1001.70SyamtSUBDIR+=	tprof_amdpmi
1011.29Syamt.endif
1021.29Syamt
1031.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1041.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1051.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1061.46SpgoyetteSUBDIR+=	acpiverbose
1071.46Spgoyette.endif
1081.46Spgoyette
1091.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1101.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1111.52SjruohoSUBDIR+=	acpiacad
1121.52SjruohoSUBDIR+=	acpibat
1131.52SjruohoSUBDIR+=	acpibut
1141.52SjruohoSUBDIR+=	acpicpu
1151.53SjruohoSUBDIR+=	acpidalb
1161.58SjruohoSUBDIR+=	acpifan
1171.52SjruohoSUBDIR+=	acpilid
1181.57SjruohoSUBDIR+=	acpipmtr
1191.53SjruohoSUBDIR+=	acpitz
1201.53SjruohoSUBDIR+=	acpivga
1211.51SjmcneillSUBDIR+=	acpiwmi
1221.53SjruohoSUBDIR+=	aibs
1231.54SjruohoSUBDIR+=	asus
1241.63SjruohoSUBDIR+=	fujbp
1251.63SjruohoSUBDIR+=	fujhk
1261.54SjruohoSUBDIR+=	hpqlb
1271.52SjruohoSUBDIR+=	thinkpad
1281.50SjmcneillSUBDIR+=	wmidell
1291.50SjmcneillSUBDIR+=	wmihp
1301.50SjmcneillSUBDIR+=	wmimsi
1311.50Sjmcneill.endif
1321.50Sjmcneill
1331.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1341.15SadSUBDIR+=	azalia
1351.15SadSUBDIR+=	compat_linux
1361.15SadSUBDIR+=	compat_linux32
1371.15SadSUBDIR+=	compat_netbsd32
1381.15SadSUBDIR+=	drm
1391.15SadSUBDIR+=	i915drm
1401.40SahokaSUBDIR+=	pad
1411.15Sad.endif
1421.15Sad
1431.27Sabs.if ${MACHINE_ARCH} == "i386"
1441.15SadSUBDIR+=	azalia
1451.15SadSUBDIR+=	compat_freebsd
1461.15SadSUBDIR+=	compat_ibcs2
1471.15SadSUBDIR+=	compat_linux
1481.15SadSUBDIR+=	compat_svr4
1491.15SadSUBDIR+=	drm
1501.15SadSUBDIR+=	i915drm
1511.15SadSUBDIR+=	radeondrm
1521.32SjmcneillSUBDIR+=	viadrm
1531.40SahokaSUBDIR+=	pad
1541.62SjmcneillSUBDIR+=	padlock
1551.67SjruohoSUBDIR+=	viac7temp
1561.63SjruohoSUBDIR+=	wmieeepc
1571.15Sad.endif
1581.15Sad
1591.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1601.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1611.59SjmcneillSUBDIR+=	aps
1621.56SjmcneillSUBDIR+=	au8522
1631.56SjmcneillSUBDIR+=	auvitek
1641.56SjmcneillSUBDIR+=	xc5k
1651.56Sjmcneill.endif
1661.56Sjmcneill
1671.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1681.47StsutsuiSUBDIR+=	compat_aoutm68k
1691.47Stsutsui#SUBDIR+=	compat_linux
1701.47Stsutsui#SUBDIR+=	compat_sunos
1711.47Stsutsui#SUBDIR+=	compat_svr4
1721.47Stsutsui.endif
1731.47Stsutsui
1741.23Sagc.include <bsd.own.mk>
1751.23Sagc
1761.23Sagc# we need our device mapper for LVM
1771.23Sagc.if (${MKLVM} != "no")
1781.28SyamtSUBDIR+= 	dm
1791.23Sagc.endif
1801.23Sagc
1811.39Sdarran.if (${MKDTRACE} != "no")
1821.39SdarranSUBDIR+=	dtrace
1831.39Sdarran.endif
1841.39Sdarran
1851.39Sdarran# we need solaris for the dtrace and zfs modules
1861.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
1871.39SdarranSUBDIR+=        solaris
1881.39Sdarran.endif
1891.39Sdarran
1901.34Shaad.if (${MKZFS} != "no")
1911.34ShaadSUBDIR+=	zfs
1921.34Shaad.endif
1931.34Shaad
1941.73Smrg.if (${MKCOMPATMODULES} != "no")
1951.73SmrgSUBDIR+=	arch
1961.73Smrg.endif
1971.73Smrg
1981.1Sad.include <bsd.subdir.mk>
199