Makefile revision 1.76
11.76Sjmcneill#	$NetBSD: Makefile,v 1.76 2011/07/15 21:08:48 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.75SjruohoSUBDIR+=	hpacel
1271.54SjruohoSUBDIR+=	hpqlb
1281.52SjruohoSUBDIR+=	thinkpad
1291.50SjmcneillSUBDIR+=	wmidell
1301.50SjmcneillSUBDIR+=	wmihp
1311.50SjmcneillSUBDIR+=	wmimsi
1321.50Sjmcneill.endif
1331.50Sjmcneill
1341.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1351.15SadSUBDIR+=	azalia
1361.15SadSUBDIR+=	compat_linux
1371.15SadSUBDIR+=	compat_linux32
1381.15SadSUBDIR+=	compat_netbsd32
1391.15SadSUBDIR+=	drm
1401.15SadSUBDIR+=	i915drm
1411.40SahokaSUBDIR+=	pad
1421.15Sad.endif
1431.15Sad
1441.27Sabs.if ${MACHINE_ARCH} == "i386"
1451.15SadSUBDIR+=	azalia
1461.15SadSUBDIR+=	compat_freebsd
1471.15SadSUBDIR+=	compat_ibcs2
1481.15SadSUBDIR+=	compat_linux
1491.15SadSUBDIR+=	compat_svr4
1501.15SadSUBDIR+=	drm
1511.15SadSUBDIR+=	i915drm
1521.76SjmcneillSUBDIR+=	nsclpcsio
1531.15SadSUBDIR+=	radeondrm
1541.32SjmcneillSUBDIR+=	viadrm
1551.40SahokaSUBDIR+=	pad
1561.62SjmcneillSUBDIR+=	padlock
1571.67SjruohoSUBDIR+=	viac7temp
1581.63SjruohoSUBDIR+=	wmieeepc
1591.15Sad.endif
1601.15Sad
1611.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1621.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1631.59SjmcneillSUBDIR+=	aps
1641.56SjmcneillSUBDIR+=	au8522
1651.56SjmcneillSUBDIR+=	auvitek
1661.56SjmcneillSUBDIR+=	xc5k
1671.56Sjmcneill.endif
1681.56Sjmcneill
1691.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1701.47StsutsuiSUBDIR+=	compat_aoutm68k
1711.47Stsutsui#SUBDIR+=	compat_linux
1721.47Stsutsui#SUBDIR+=	compat_sunos
1731.47Stsutsui#SUBDIR+=	compat_svr4
1741.47Stsutsui.endif
1751.47Stsutsui
1761.23Sagc.include <bsd.own.mk>
1771.23Sagc
1781.23Sagc# we need our device mapper for LVM
1791.23Sagc.if (${MKLVM} != "no")
1801.28SyamtSUBDIR+= 	dm
1811.23Sagc.endif
1821.23Sagc
1831.39Sdarran.if (${MKDTRACE} != "no")
1841.39SdarranSUBDIR+=	dtrace
1851.39Sdarran.endif
1861.39Sdarran
1871.39Sdarran# we need solaris for the dtrace and zfs modules
1881.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
1891.39SdarranSUBDIR+=        solaris
1901.39Sdarran.endif
1911.39Sdarran
1921.34Shaad.if (${MKZFS} != "no")
1931.34ShaadSUBDIR+=	zfs
1941.34Shaad.endif
1951.34Shaad
1961.73Smrg.if (${MKCOMPATMODULES} != "no")
1971.73SmrgSUBDIR+=	arch
1981.73Smrg.endif
1991.73Smrg
2001.1Sad.include <bsd.subdir.mk>
201