Makefile revision 1.110
11.110Smartin#	$NetBSD: Makefile,v 1.110 2012/08/06 10:31:41 martin 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.104SpgoyetteSUBDIR+=	dbcool
201.7SrumbleSUBDIR+=	efs
211.7SrumbleSUBDIR+=	ext2fs
221.15SadSUBDIR+=	exec_script
231.7SrumbleSUBDIR+=	fdesc
241.7SrumbleSUBDIR+=	ffs
251.18SadSUBDIR+=	filecore
261.93SsjgSUBDIR+=	filemon
271.68SahokaSUBDIR+=	flash
281.15SadSUBDIR+=	fss
291.89SmbalmerSUBDIR+=	gpio
301.94SmbalmerSUBDIR+=	gpioiic
311.92SmbalmerSUBDIR+=	gpioow
321.89SmbalmerSUBDIR+=	gpiosim
331.7SrumbleSUBDIR+=	hfs
341.105SpgoyetteSUBDIR+=	if_axe
351.94SmbalmerSUBDIR+=	iic
361.7SrumbleSUBDIR+=	kernfs
371.22SadSUBDIR+=	layerfs
381.7SrumbleSUBDIR+=	lfs
391.7SrumbleSUBDIR+=	mfs
401.45SpgoyetteSUBDIR+=	miiverbose
411.45SpgoyetteSUBDIR+=	miniroot
421.31SrmindSUBDIR+=	mqueue
431.18SadSUBDIR+=	msdos
441.68SahokaSUBDIR+=	nand
451.68SahokaSUBDIR+=	nandemulator
461.15SadSUBDIR+=	nfs
471.15SadSUBDIR+=	nfsserver
481.30SreinoudSUBDIR+=	nilfs
491.96StronSUBDIR+=	npf
501.97StronSUBDIR+=	npf_alg_icmp
511.7SrumbleSUBDIR+=	ntfs
521.18SadSUBDIR+=	null
531.92SmbalmerSUBDIR+=	onewire
541.7SrumbleSUBDIR+=	overlay
551.42SpgoyetteSUBDIR+=	pciverbose
561.41SahokaSUBDIR+=	pf
571.19ScubeSUBDIR+=	ppp_bsdcomp
581.19ScubeSUBDIR+=	ppp_deflate
591.7SrumbleSUBDIR+=	procfs
601.7SrumbleSUBDIR+=	ptyfs
611.7SrumbleSUBDIR+=	puffs
621.15SadSUBDIR+=	putter
631.44SpgoyetteSUBDIR+=	scsiverbose
641.103SpgoyetteSUBDIR+=	sdtemp
651.33SeladSUBDIR+=	secmodel_bsd44
661.100SjymSUBDIR+=	secmodel_extensions
671.33SeladSUBDIR+=	secmodel_overlay
681.33SeladSUBDIR+=	securelevel
691.7SrumbleSUBDIR+=	smbfs
701.81SpgoyetteSUBDIR+=	spdmem
711.24SpookaSUBDIR+=	sysvbfs
721.33SeladSUBDIR+=	suser
731.48SpgoyetteSUBDIR+=	swsensor
741.7SrumbleSUBDIR+=	tmpfs
751.108SriastradSUBDIR+=	uatp
761.7SrumbleSUBDIR+=	udf
771.18SadSUBDIR+=	umap
781.7SrumbleSUBDIR+=	union
791.43SpgoyetteSUBDIR+=	usbverbose
801.106SchristosSUBDIR+=	vcoda
811.78SenamiSUBDIR+=	v7fs
821.25ShaadSUBDIR+=	vnd
831.29SyamtSUBDIR+=	tprof
841.7Srumble.if (defined(NOTYET))
851.7SrumbleSUBDIR+=	unionfs
861.7Srumble.endif
871.37Sdyoung.if ${MKBINUTILS} != "no"
881.37SdyoungSUBDIR+=	xldscripts
891.37Sdyoung.endif
901.7Srumble
911.15Sad# Machine dependent section
921.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
931.49Stsutsui    ${MACHINE_CPU} == "m68k"
941.47StsutsuiSUBDIR+=	exec_aout
951.47Stsutsui.endif
961.47Stsutsui
971.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
981.17SmartinSUBDIR+=	exec_elf32
991.17Smartin.endif
1001.15Sad
1011.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1021.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1031.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1041.20SheSUBDIR+=	exec_elf64
1051.20She.endif
1061.20She
1071.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1081.29Syamt    ${MACHINE_ARCH} == "x86_64"
1091.71SjruohoSUBDIR+=	amdtemp
1101.64SjruohoSUBDIR+=	coretemp
1111.65SjruohoSUBDIR+=	est
1121.110SmartinSUBDIR+=	hdafg
1131.110SmartinSUBDIR+=	hdaudio
1141.72SjruohoSUBDIR+=	hpet
1151.69SjruohoSUBDIR+=	odcm
1161.66SjruohoSUBDIR+=	powernow
1171.29SyamtSUBDIR+=	tprof_pmi
1181.70SyamtSUBDIR+=	tprof_amdpmi
1191.95SjmcneillSUBDIR+=	vmt
1201.29Syamt.endif
1211.29Syamt
1221.85Sjruoho#
1231.85Sjruoho# ACPI modules
1241.85Sjruoho#
1251.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1261.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1271.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1281.46SpgoyetteSUBDIR+=	acpiverbose
1291.46Spgoyette.endif
1301.46Spgoyette
1311.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1321.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1331.52SjruohoSUBDIR+=	acpiacad
1341.52SjruohoSUBDIR+=	acpibat
1351.52SjruohoSUBDIR+=	acpibut
1361.52SjruohoSUBDIR+=	acpicpu
1371.53SjruohoSUBDIR+=	acpidalb
1381.58SjruohoSUBDIR+=	acpifan
1391.52SjruohoSUBDIR+=	acpilid
1401.57SjruohoSUBDIR+=	acpipmtr
1411.53SjruohoSUBDIR+=	acpitz
1421.53SjruohoSUBDIR+=	acpivga
1431.86SjruohoSUBDIR+=	acpiwdrt
1441.51SjmcneillSUBDIR+=	acpiwmi
1451.53SjruohoSUBDIR+=	aibs
1461.54SjruohoSUBDIR+=	asus
1471.63SjruohoSUBDIR+=	fujbp
1481.63SjruohoSUBDIR+=	fujhk
1491.75SjruohoSUBDIR+=	hpacel
1501.54SjruohoSUBDIR+=	hpqlb
1511.52SjruohoSUBDIR+=	thinkpad
1521.50SjmcneillSUBDIR+=	wmidell
1531.83SjruohoSUBDIR+=	wmieeepc
1541.50SjmcneillSUBDIR+=	wmihp
1551.50SjmcneillSUBDIR+=	wmimsi
1561.50Sjmcneill.endif
1571.50Sjmcneill
1581.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1591.15SadSUBDIR+=	azalia
1601.15SadSUBDIR+=	compat_linux
1611.15SadSUBDIR+=	compat_linux32
1621.15SadSUBDIR+=	compat_netbsd32
1631.15SadSUBDIR+=	drm
1641.15SadSUBDIR+=	i915drm
1651.40SahokaSUBDIR+=	pad
1661.15Sad.endif
1671.15Sad
1681.27Sabs.if ${MACHINE_ARCH} == "i386"
1691.90SjmcneillSUBDIR+=	ati_pcigart
1701.15SadSUBDIR+=	azalia
1711.15SadSUBDIR+=	compat_freebsd
1721.15SadSUBDIR+=	compat_ibcs2
1731.15SadSUBDIR+=	compat_linux
1741.15SadSUBDIR+=	compat_svr4
1751.15SadSUBDIR+=	drm
1761.15SadSUBDIR+=	i915drm
1771.90SjmcneillSUBDIR+=	mach64drm
1781.90SjmcneillSUBDIR+=	mgadrm
1791.76SjmcneillSUBDIR+=	nsclpcsio
1801.40SahokaSUBDIR+=	pad
1811.62SjmcneillSUBDIR+=	padlock
1821.90SjmcneillSUBDIR+=	r128drm
1831.90SjmcneillSUBDIR+=	radeondrm
1841.90SjmcneillSUBDIR+=	savagedrm
1851.90SjmcneillSUBDIR+=	sisdrm
1861.90SjmcneillSUBDIR+=	tdfxdrm
1871.67SjruohoSUBDIR+=	viac7temp
1881.90SjmcneillSUBDIR+=	viadrm
1891.15Sad.endif
1901.15Sad
1911.85Sjruoho#
1921.85Sjruoho# ISA modules
1931.85Sjruoho#
1941.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1951.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1961.59SjmcneillSUBDIR+=	aps
1971.80SjmcneillSUBDIR+=	finsio
1981.79SjmcneillSUBDIR+=	itesio
1991.101SjakllschSUBDIR+=	lm
2001.101SjakllschSUBDIR+=	lm_isa
2011.101SjakllschSUBDIR+=	lm_isa_common
2021.101SjakllschSUBDIR+=	lm_wbsio
2031.101SjakllschSUBDIR+=	wbsio
2041.56Sjmcneill.endif
2051.56Sjmcneill
2061.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2071.47StsutsuiSUBDIR+=	compat_aoutm68k
2081.47Stsutsui#SUBDIR+=	compat_linux
2091.47Stsutsui#SUBDIR+=	compat_sunos
2101.47Stsutsui#SUBDIR+=	compat_svr4
2111.47Stsutsui.endif
2121.47Stsutsui
2131.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2141.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2151.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2161.88SmbalmerSUBDIR+=	pwdog
2171.88Smbalmer.endif
2181.88Smbalmer
2191.23Sagc.include <bsd.own.mk>
2201.23Sagc
2211.107Sreinoud#
2221.107Sreinoud# NetBSD/usermode support
2231.107Sreinoud#
2241.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
2251.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
2261.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
2271.107Sreinoud.endif
2281.107Sreinoud
2291.23Sagc# we need our device mapper for LVM
2301.23Sagc.if (${MKLVM} != "no")
2311.28SyamtSUBDIR+= 	dm
2321.23Sagc.endif
2331.23Sagc
2341.39Sdarran.if (${MKDTRACE} != "no")
2351.39SdarranSUBDIR+=	dtrace
2361.39Sdarran.endif
2371.39Sdarran
2381.39Sdarran# we need solaris for the dtrace and zfs modules
2391.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2401.39SdarranSUBDIR+=        solaris
2411.39Sdarran.endif
2421.39Sdarran
2431.34Shaad.if (${MKZFS} != "no")
2441.34ShaadSUBDIR+=	zfs
2451.34Shaad.endif
2461.34Shaad
2471.73Smrg.if (${MKCOMPATMODULES} != "no")
2481.73SmrgSUBDIR+=	arch
2491.73Smrg.endif
2501.73Smrg
2511.84Sjmcneill#
2521.84Sjmcneill# DTV modules
2531.84Sjmcneill#
2541.84SjmcneillSUBDIR+=	dtv
2551.84SjmcneillSUBDIR+=	dtv_math
2561.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2571.84Sjmcneill# tuners/demods
2581.84SjmcneillSUBDIR+=	au8522
2591.84SjmcneillSUBDIR+=	cx24227
2601.84SjmcneillSUBDIR+=	lg3303
2611.84SjmcneillSUBDIR+=	mt2131
2621.84SjmcneillSUBDIR+=	nxt2k
2631.84SjmcneillSUBDIR+=	tvpll
2641.84SjmcneillSUBDIR+=	xc3028
2651.84SjmcneillSUBDIR+=	xc5k
2661.91SjruohoSUBDIR+=	zl10353
2671.84Sjmcneill# hardware drivers
2681.84SjmcneillSUBDIR+=	auvitek
2691.84SjmcneillSUBDIR+=	coram
2701.84SjmcneillSUBDIR+=	cxdtv
2711.84SjmcneillSUBDIR+=	emdtv
2721.84Sjmcneill.endif
2731.84Sjmcneill
2741.98Sriz.if (${MKISCSI} != "no")
2751.98SrizSUBDIR+=	iscsi
2761.98Sriz.endif
2771.98Sriz
2781.1Sad.include <bsd.subdir.mk>
279