Makefile revision 1.59
11.59Sjmcneill#	$NetBSD: Makefile,v 1.59 2011/01/16 01:13:10 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.7SrumbleSUBDIR+=	efs
191.7SrumbleSUBDIR+=	ext2fs
201.15SadSUBDIR+=	exec_script
211.7SrumbleSUBDIR+=	fdesc
221.7SrumbleSUBDIR+=	ffs
231.18SadSUBDIR+=	filecore
241.15SadSUBDIR+=	fss
251.7SrumbleSUBDIR+=	hfs
261.7SrumbleSUBDIR+=	kernfs
271.15SadSUBDIR+=	ksem
281.22SadSUBDIR+=	layerfs
291.7SrumbleSUBDIR+=	lfs
301.7SrumbleSUBDIR+=	mfs
311.45SpgoyetteSUBDIR+=	miiverbose
321.45SpgoyetteSUBDIR+=	miniroot
331.31SrmindSUBDIR+=	mqueue
341.18SadSUBDIR+=	msdos
351.15SadSUBDIR+=	nfs
361.15SadSUBDIR+=	nfsserver
371.30SreinoudSUBDIR+=	nilfs
381.7SrumbleSUBDIR+=	ntfs
391.18SadSUBDIR+=	null
401.7SrumbleSUBDIR+=	overlay
411.42SpgoyetteSUBDIR+=	pciverbose
421.41SahokaSUBDIR+=	pf
431.19ScubeSUBDIR+=	ppp_bsdcomp
441.19ScubeSUBDIR+=	ppp_deflate
451.7SrumbleSUBDIR+=	procfs
461.7SrumbleSUBDIR+=	ptyfs
471.7SrumbleSUBDIR+=	puffs
481.15SadSUBDIR+=	putter
491.44SpgoyetteSUBDIR+=	scsiverbose
501.33SeladSUBDIR+=	secmodel_bsd44
511.33SeladSUBDIR+=	secmodel_overlay
521.33SeladSUBDIR+=	securelevel
531.7SrumbleSUBDIR+=	smbfs
541.24SpookaSUBDIR+=	sysvbfs
551.33SeladSUBDIR+=	suser
561.48SpgoyetteSUBDIR+=	swsensor
571.7SrumbleSUBDIR+=	tmpfs
581.7SrumbleSUBDIR+=	udf
591.18SadSUBDIR+=	umap
601.7SrumbleSUBDIR+=	union
611.43SpgoyetteSUBDIR+=	usbverbose
621.25ShaadSUBDIR+=	vnd
631.29SyamtSUBDIR+=	tprof
641.7Srumble.if (defined(NOTYET))
651.7SrumbleSUBDIR+=	unionfs
661.7Srumble.endif
671.37Sdyoung.if ${MKBINUTILS} != "no"
681.37SdyoungSUBDIR+=	xldscripts
691.37Sdyoung.endif
701.7Srumble
711.15Sad# Machine dependent section
721.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
731.49Stsutsui    ${MACHINE_CPU} == "m68k"
741.47StsutsuiSUBDIR+=	exec_aout
751.47Stsutsui.endif
761.47Stsutsui
771.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
781.17SmartinSUBDIR+=	exec_elf32
791.17Smartin.endif
801.15Sad
811.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
821.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
831.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
841.20SheSUBDIR+=	exec_elf64
851.20She.endif
861.20She
871.29Syamt.if ${MACHINE_ARCH} == "i386" || \
881.29Syamt    ${MACHINE_ARCH} == "x86_64"
891.29SyamtSUBDIR+=	tprof_pmi
901.29Syamt.endif
911.29Syamt
921.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
931.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
941.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
951.46SpgoyetteSUBDIR+=	acpiverbose
961.46Spgoyette.endif
971.46Spgoyette
981.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
991.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1001.52SjruohoSUBDIR+=	acpiacad
1011.52SjruohoSUBDIR+=	acpibat
1021.52SjruohoSUBDIR+=	acpibut
1031.52SjruohoSUBDIR+=	acpicpu
1041.53SjruohoSUBDIR+=	acpidalb
1051.58SjruohoSUBDIR+=	acpifan
1061.52SjruohoSUBDIR+=	acpilid
1071.57SjruohoSUBDIR+=	acpipmtr
1081.53SjruohoSUBDIR+=	acpitz
1091.53SjruohoSUBDIR+=	acpivga
1101.51SjmcneillSUBDIR+=	acpiwmi
1111.53SjruohoSUBDIR+=	aibs
1121.54SjruohoSUBDIR+=	asus
1131.54SjruohoSUBDIR+=	hpqlb
1141.52SjruohoSUBDIR+=	thinkpad
1151.50SjmcneillSUBDIR+=	wmidell
1161.50SjmcneillSUBDIR+=	wmihp
1171.50SjmcneillSUBDIR+=	wmimsi
1181.50Sjmcneill.endif
1191.50Sjmcneill
1201.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1211.15SadSUBDIR+=	azalia
1221.15SadSUBDIR+=	compat_linux
1231.15SadSUBDIR+=	compat_linux32
1241.15SadSUBDIR+=	compat_netbsd32
1251.15SadSUBDIR+=	drm
1261.15SadSUBDIR+=	i915drm
1271.40SahokaSUBDIR+=	pad
1281.15Sad.endif
1291.15Sad
1301.27Sabs.if ${MACHINE_ARCH} == "i386"
1311.15SadSUBDIR+=	azalia
1321.15SadSUBDIR+=	compat_freebsd
1331.15SadSUBDIR+=	compat_ibcs2
1341.15SadSUBDIR+=	compat_linux
1351.15SadSUBDIR+=	compat_svr4
1361.15SadSUBDIR+=	drm
1371.15SadSUBDIR+=	i915drm
1381.15SadSUBDIR+=	radeondrm
1391.32SjmcneillSUBDIR+=	viadrm
1401.40SahokaSUBDIR+=	pad
1411.15Sad.endif
1421.15Sad
1431.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1441.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1451.59SjmcneillSUBDIR+=	aps
1461.56SjmcneillSUBDIR+=	au8522
1471.56SjmcneillSUBDIR+=	auvitek
1481.56SjmcneillSUBDIR+=	xc5k
1491.56Sjmcneill.endif
1501.56Sjmcneill
1511.49Stsutsui.if ${MACHINE_CPU} == "m68k"
1521.47StsutsuiSUBDIR+=	compat_aoutm68k
1531.47Stsutsui#SUBDIR+=	compat_linux
1541.47Stsutsui#SUBDIR+=	compat_sunos
1551.47Stsutsui#SUBDIR+=	compat_svr4
1561.47Stsutsui.endif
1571.47Stsutsui
1581.23Sagc.include <bsd.own.mk>
1591.23Sagc
1601.23Sagc# we need our device mapper for LVM
1611.23Sagc.if (${MKLVM} != "no")
1621.28SyamtSUBDIR+= 	dm
1631.23Sagc.endif
1641.23Sagc
1651.39Sdarran.if (${MKDTRACE} != "no")
1661.39SdarranSUBDIR+=	dtrace
1671.39Sdarran.endif
1681.39Sdarran
1691.39Sdarran# we need solaris for the dtrace and zfs modules
1701.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
1711.39SdarranSUBDIR+=        solaris
1721.39Sdarran.endif
1731.39Sdarran
1741.34Shaad.if (${MKZFS} != "no")
1751.34ShaadSUBDIR+=	zfs
1761.34Shaad.endif
1771.34Shaad
1781.1Sad.include <bsd.subdir.mk>
179