Makefile revision 1.111
11.111Srmind#	$NetBSD: Makefile,v 1.111 2012/09/16 13:47:41 rmind 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.111SrmindSUBDIR+=	npf_ext_log
521.111SrmindSUBDIR+=	npf_ext_normalise
531.7SrumbleSUBDIR+=	ntfs
541.18SadSUBDIR+=	null
551.92SmbalmerSUBDIR+=	onewire
561.7SrumbleSUBDIR+=	overlay
571.42SpgoyetteSUBDIR+=	pciverbose
581.41SahokaSUBDIR+=	pf
591.19ScubeSUBDIR+=	ppp_bsdcomp
601.19ScubeSUBDIR+=	ppp_deflate
611.7SrumbleSUBDIR+=	procfs
621.7SrumbleSUBDIR+=	ptyfs
631.7SrumbleSUBDIR+=	puffs
641.15SadSUBDIR+=	putter
651.44SpgoyetteSUBDIR+=	scsiverbose
661.103SpgoyetteSUBDIR+=	sdtemp
671.33SeladSUBDIR+=	secmodel_bsd44
681.100SjymSUBDIR+=	secmodel_extensions
691.33SeladSUBDIR+=	secmodel_overlay
701.33SeladSUBDIR+=	securelevel
711.7SrumbleSUBDIR+=	smbfs
721.81SpgoyetteSUBDIR+=	spdmem
731.24SpookaSUBDIR+=	sysvbfs
741.33SeladSUBDIR+=	suser
751.48SpgoyetteSUBDIR+=	swsensor
761.7SrumbleSUBDIR+=	tmpfs
771.108SriastradSUBDIR+=	uatp
781.7SrumbleSUBDIR+=	udf
791.18SadSUBDIR+=	umap
801.7SrumbleSUBDIR+=	union
811.43SpgoyetteSUBDIR+=	usbverbose
821.106SchristosSUBDIR+=	vcoda
831.78SenamiSUBDIR+=	v7fs
841.25ShaadSUBDIR+=	vnd
851.29SyamtSUBDIR+=	tprof
861.7Srumble.if (defined(NOTYET))
871.7SrumbleSUBDIR+=	unionfs
881.7Srumble.endif
891.37Sdyoung.if ${MKBINUTILS} != "no"
901.37SdyoungSUBDIR+=	xldscripts
911.37Sdyoung.endif
921.7Srumble
931.15Sad# Machine dependent section
941.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
951.49Stsutsui    ${MACHINE_CPU} == "m68k"
961.47StsutsuiSUBDIR+=	exec_aout
971.47Stsutsui.endif
981.47Stsutsui
991.21Stsutsui.if ${MACHINE_ARCH} != "alpha"
1001.17SmartinSUBDIR+=	exec_elf32
1011.17Smartin.endif
1021.15Sad
1031.21Stsutsui.if ${MACHINE_ARCH} == "alpha" || \
1041.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
1051.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
1061.20SheSUBDIR+=	exec_elf64
1071.20She.endif
1081.20She
1091.29Syamt.if ${MACHINE_ARCH} == "i386" || \
1101.29Syamt    ${MACHINE_ARCH} == "x86_64"
1111.71SjruohoSUBDIR+=	amdtemp
1121.64SjruohoSUBDIR+=	coretemp
1131.65SjruohoSUBDIR+=	est
1141.110SmartinSUBDIR+=	hdafg
1151.110SmartinSUBDIR+=	hdaudio
1161.72SjruohoSUBDIR+=	hpet
1171.69SjruohoSUBDIR+=	odcm
1181.66SjruohoSUBDIR+=	powernow
1191.29SyamtSUBDIR+=	tprof_pmi
1201.70SyamtSUBDIR+=	tprof_amdpmi
1211.95SjmcneillSUBDIR+=	vmt
1221.29Syamt.endif
1231.29Syamt
1241.85Sjruoho#
1251.85Sjruoho# ACPI modules
1261.85Sjruoho#
1271.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
1281.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
1291.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
1301.46SpgoyetteSUBDIR+=	acpiverbose
1311.46Spgoyette.endif
1321.46Spgoyette
1331.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1341.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1351.52SjruohoSUBDIR+=	acpiacad
1361.52SjruohoSUBDIR+=	acpibat
1371.52SjruohoSUBDIR+=	acpibut
1381.52SjruohoSUBDIR+=	acpicpu
1391.53SjruohoSUBDIR+=	acpidalb
1401.58SjruohoSUBDIR+=	acpifan
1411.52SjruohoSUBDIR+=	acpilid
1421.57SjruohoSUBDIR+=	acpipmtr
1431.53SjruohoSUBDIR+=	acpitz
1441.53SjruohoSUBDIR+=	acpivga
1451.86SjruohoSUBDIR+=	acpiwdrt
1461.51SjmcneillSUBDIR+=	acpiwmi
1471.53SjruohoSUBDIR+=	aibs
1481.54SjruohoSUBDIR+=	asus
1491.63SjruohoSUBDIR+=	fujbp
1501.63SjruohoSUBDIR+=	fujhk
1511.75SjruohoSUBDIR+=	hpacel
1521.54SjruohoSUBDIR+=	hpqlb
1531.52SjruohoSUBDIR+=	thinkpad
1541.50SjmcneillSUBDIR+=	wmidell
1551.83SjruohoSUBDIR+=	wmieeepc
1561.50SjmcneillSUBDIR+=	wmihp
1571.50SjmcneillSUBDIR+=	wmimsi
1581.50Sjmcneill.endif
1591.50Sjmcneill
1601.27Sabs.if ${MACHINE_ARCH} == "x86_64"
1611.15SadSUBDIR+=	azalia
1621.15SadSUBDIR+=	compat_linux
1631.15SadSUBDIR+=	compat_linux32
1641.15SadSUBDIR+=	compat_netbsd32
1651.15SadSUBDIR+=	drm
1661.15SadSUBDIR+=	i915drm
1671.40SahokaSUBDIR+=	pad
1681.15Sad.endif
1691.15Sad
1701.27Sabs.if ${MACHINE_ARCH} == "i386"
1711.90SjmcneillSUBDIR+=	ati_pcigart
1721.15SadSUBDIR+=	azalia
1731.15SadSUBDIR+=	compat_freebsd
1741.15SadSUBDIR+=	compat_ibcs2
1751.15SadSUBDIR+=	compat_linux
1761.15SadSUBDIR+=	compat_svr4
1771.15SadSUBDIR+=	drm
1781.15SadSUBDIR+=	i915drm
1791.90SjmcneillSUBDIR+=	mach64drm
1801.90SjmcneillSUBDIR+=	mgadrm
1811.76SjmcneillSUBDIR+=	nsclpcsio
1821.40SahokaSUBDIR+=	pad
1831.62SjmcneillSUBDIR+=	padlock
1841.90SjmcneillSUBDIR+=	r128drm
1851.90SjmcneillSUBDIR+=	radeondrm
1861.90SjmcneillSUBDIR+=	savagedrm
1871.90SjmcneillSUBDIR+=	sisdrm
1881.90SjmcneillSUBDIR+=	tdfxdrm
1891.67SjruohoSUBDIR+=	viac7temp
1901.90SjmcneillSUBDIR+=	viadrm
1911.15Sad.endif
1921.15Sad
1931.85Sjruoho#
1941.85Sjruoho# ISA modules
1951.85Sjruoho#
1961.56Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
1971.56Sjmcneill    ${MACHINE_ARCH} == "x86_64"
1981.59SjmcneillSUBDIR+=	aps
1991.80SjmcneillSUBDIR+=	finsio
2001.79SjmcneillSUBDIR+=	itesio
2011.101SjakllschSUBDIR+=	lm
2021.101SjakllschSUBDIR+=	lm_isa
2031.101SjakllschSUBDIR+=	lm_isa_common
2041.101SjakllschSUBDIR+=	lm_wbsio
2051.101SjakllschSUBDIR+=	wbsio
2061.56Sjmcneill.endif
2071.56Sjmcneill
2081.49Stsutsui.if ${MACHINE_CPU} == "m68k"
2091.47StsutsuiSUBDIR+=	compat_aoutm68k
2101.47Stsutsui#SUBDIR+=	compat_linux
2111.47Stsutsui#SUBDIR+=	compat_sunos
2121.47Stsutsui#SUBDIR+=	compat_svr4
2131.47Stsutsui.endif
2141.47Stsutsui
2151.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
2161.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
2171.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
2181.88SmbalmerSUBDIR+=	pwdog
2191.88Smbalmer.endif
2201.88Smbalmer
2211.23Sagc.include <bsd.own.mk>
2221.23Sagc
2231.107Sreinoud#
2241.107Sreinoud# NetBSD/usermode support
2251.107Sreinoud#
2261.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
2271.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
2281.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
2291.107Sreinoud.endif
2301.107Sreinoud
2311.23Sagc# we need our device mapper for LVM
2321.23Sagc.if (${MKLVM} != "no")
2331.28SyamtSUBDIR+= 	dm
2341.23Sagc.endif
2351.23Sagc
2361.39Sdarran.if (${MKDTRACE} != "no")
2371.39SdarranSUBDIR+=	dtrace
2381.39Sdarran.endif
2391.39Sdarran
2401.39Sdarran# we need solaris for the dtrace and zfs modules
2411.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
2421.39SdarranSUBDIR+=        solaris
2431.39Sdarran.endif
2441.39Sdarran
2451.34Shaad.if (${MKZFS} != "no")
2461.34ShaadSUBDIR+=	zfs
2471.34Shaad.endif
2481.34Shaad
2491.73Smrg.if (${MKCOMPATMODULES} != "no")
2501.73SmrgSUBDIR+=	arch
2511.73Smrg.endif
2521.73Smrg
2531.84Sjmcneill#
2541.84Sjmcneill# DTV modules
2551.84Sjmcneill#
2561.84SjmcneillSUBDIR+=	dtv
2571.84SjmcneillSUBDIR+=	dtv_math
2581.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
2591.84Sjmcneill# tuners/demods
2601.84SjmcneillSUBDIR+=	au8522
2611.84SjmcneillSUBDIR+=	cx24227
2621.84SjmcneillSUBDIR+=	lg3303
2631.84SjmcneillSUBDIR+=	mt2131
2641.84SjmcneillSUBDIR+=	nxt2k
2651.84SjmcneillSUBDIR+=	tvpll
2661.84SjmcneillSUBDIR+=	xc3028
2671.84SjmcneillSUBDIR+=	xc5k
2681.91SjruohoSUBDIR+=	zl10353
2691.84Sjmcneill# hardware drivers
2701.84SjmcneillSUBDIR+=	auvitek
2711.84SjmcneillSUBDIR+=	coram
2721.84SjmcneillSUBDIR+=	cxdtv
2731.84SjmcneillSUBDIR+=	emdtv
2741.84Sjmcneill.endif
2751.84Sjmcneill
2761.98Sriz.if (${MKISCSI} != "no")
2771.98SrizSUBDIR+=	iscsi
2781.98Sriz.endif
2791.98Sriz
2801.1Sad.include <bsd.subdir.mk>
281