Makefile revision 1.291
11.291Srin#	$NetBSD: Makefile,v 1.291 2024/07/18 04:28:55 rin Exp $
21.37Sdyoung
31.37Sdyoung.include <bsd.own.mk>
41.15Sad
51.282Smrg.if !make(includes)
61.15Sad# For all platforms
71.1Sad
81.251Sandvar# Modules for compatibility with earlier versions of NetBSD
91.216Spgoyette
101.216SpgoyetteSUBDIR+=	compat_util
111.216SpgoyetteSUBDIR+=	compat_43   compat_sysctl_09_43
121.216SpgoyetteSUBDIR+=	compat_09   compat_10   compat_12   compat_13   compat_14
131.216SpgoyetteSUBDIR+=	compat_16   compat_20   compat_30   compat_40   compat_50
141.275SpgoyetteSUBDIR+=	compat_60   compat_70   compat_80   compat_90   compat_100
151.288Sriastrad
161.288Sriastrad# Not until 11.0 is released and we need binary compatibility with it
171.288Sriastrad# in >11.0.
181.288Sriastrad#SUBDIR+= compat_110
191.216Spgoyette
201.216SpgoyetteSUBDIR+=	compat_sysv_10 compat_sysv_14 compat_sysv_50
211.216Spgoyette
221.237SpgoyetteSUBDIR+=	compat_50_quota
231.237Spgoyette
241.216SpgoyetteSUBDIR+=	compat_raid_50
251.216SpgoyetteSUBDIR+=	compat_raid_80
261.216Spgoyette
271.216SpgoyetteSUBDIR+=	compat_crypto_50
281.216Spgoyette
291.216SpgoyetteSUBDIR+=	accf_dataready
301.16SadSUBDIR+=	accf_httpready
311.15SadSUBDIR+=	adosfs
321.264SpgoyetteSUBDIR+=	adiantum
331.272SbradSUBDIR+=	aht20temp
341.14SadSUBDIR+=	aio
351.192SpgoyetteSUBDIR+=	audio
361.198SchristosSUBDIR+=	autofs
371.254SchristosSUBDIR+=	blake2s
381.133SpgoyetteSUBDIR+=	blowfish
391.38SpookaSUBDIR+=	bpf
401.166SpgoyetteSUBDIR+=	bpf_filter
411.273SbradSUBDIR+=	bmx280thp
421.274SbradSUBDIR+=	bmx280thpi2c
431.183SpgoyetteSUBDIR+=	bufq_disksort
441.183SpgoyetteSUBDIR+=	bufq_fcfs
451.183SpgoyetteSUBDIR+=	bufq_priocscan
461.183SpgoyetteSUBDIR+=	bufq_readprio
471.133SpgoyetteSUBDIR+=	camellia
481.133SpgoyetteSUBDIR+=	cast128
491.132SpgoyetteSUBDIR+=	ccd
501.7SrumbleSUBDIR+=	cd9660
511.129SpgoyetteSUBDIR+=	cgd
521.132SpgoyetteSUBDIR+=	chfs
531.163SpgoyetteSUBDIR+=	clockctl
541.216SpgoyetteSUBDIR+=	compat_ossaudio
551.134SpgoyetteSUBDIR+=	crypto
561.7SrumbleSUBDIR+=	coda
571.7SrumbleSUBDIR+=	coda5
581.15SadSUBDIR+=	coredump
591.104SpgoyetteSUBDIR+=	dbcool
601.133SpgoyetteSUBDIR+=	des
611.129SpgoyetteSUBDIR+=	dk_subr
621.164SpgoyetteSUBDIR+=	drvctl
631.7SrumbleSUBDIR+=	efs
641.7SrumbleSUBDIR+=	ext2fs
651.15SadSUBDIR+=	exec_script
661.7SrumbleSUBDIR+=	fdesc
671.7SrumbleSUBDIR+=	ffs
681.18SadSUBDIR+=	filecore
691.68SahokaSUBDIR+=	flash
701.15SadSUBDIR+=	fss
711.89SmbalmerSUBDIR+=	gpio
721.94SmbalmerSUBDIR+=	gpioiic
731.92SmbalmerSUBDIR+=	gpioow
741.89SmbalmerSUBDIR+=	gpiosim
751.203SthorpejSUBDIR+=	gpioirq
761.204SthorpejSUBDIR+=	gpiopps
771.7SrumbleSUBDIR+=	hfs
781.136SkardelSUBDIR+=	hythygtemp
791.197SchristosSUBDIR+=	am2315temp
801.143SjmcneillSUBDIR+=	i2cexec
811.166SpgoyetteSUBDIR+=	i2c_bitbang
821.263SpgoyetteSUBDIR+=	i2c_subr
831.175SchristosSUBDIR+=	if_agr
841.226SmrgSUBDIR+=	if_aue
851.105SpgoyetteSUBDIR+=	if_axe
861.120SnonakaSUBDIR+=	if_axen
871.226SmrgSUBDIR+=	if_cdce
881.226SmrgSUBDIR+=	if_cue
891.175SchristosSUBDIR+=	if_faith
901.175SchristosSUBDIR+=	if_gif
911.175SchristosSUBDIR+=	if_gre
921.226SmrgSUBDIR+=	if_kue
931.189SknakaharSUBDIR+=	if_l2tp
941.250SyamaguchSUBDIR+=	if_lagg
951.175SchristosSUBDIR+=	if_loop
961.175SchristosSUBDIR+=	if_mpls
971.208SrinSUBDIR+=	if_mue
981.118SchristosSUBDIR+=	if_npflog
991.171SchristosSUBDIR+=	if_ppp
1001.174SpgoyetteSUBDIR+=	if_pppoe
1011.255SpgoyetteSUBDIR+=	if_run
1021.172SchristosSUBDIR+=	if_sl
1031.124SskrllSUBDIR+=	if_smsc
1041.221SpgoyetteSUBDIR+=	if_srt srt
1051.175SchristosSUBDIR+=	if_stf
1061.220SpgoyetteSUBDIR+=	if_tap tap
1071.176SpgoyetteSUBDIR+=	if_tun tun
1081.224SskrllSUBDIR+=	if_udav
1091.226SmrgSUBDIR+=	if_upl
1101.219SrinSUBDIR+=	if_ure
1111.226SmrgSUBDIR+=	if_url
1121.226SmrgSUBDIR+=	if_urndis
1131.175SchristosSUBDIR+=	if_vlan
1141.252SchristosSUBDIR+=	if_wg
1151.94SmbalmerSUBDIR+=	iic
1161.196SpgoyetteSUBDIR+=	ip_ecn
1171.291Srin.if ${MKIPFILTER:Uno} != no
1181.167SpgoyetteSUBDIR+=	ipl
1191.291Srin.endif
1201.7SrumbleSUBDIR+=	kernfs
1211.22SadSUBDIR+=	layerfs
1221.7SrumbleSUBDIR+=	lfs
1231.121SmbalmerSUBDIR+=	lua
1241.128SlnetoSUBDIR+=	luasystm
1251.123SmbalmerSUBDIR+=	luapmf
1261.7SrumbleSUBDIR+=	mfs
1271.192SpgoyetteSUBDIR+=	midi
1281.266SpgoyetteSUBDIR+=	midi_seq
1291.45SpgoyetteSUBDIR+=	miiverbose
1301.45SpgoyetteSUBDIR+=	miniroot
1311.31SrmindSUBDIR+=	mqueue
1321.18SadSUBDIR+=	msdos
1331.68SahokaSUBDIR+=	nand
1341.68SahokaSUBDIR+=	nandemulator
1351.15SadSUBDIR+=	nfs
1361.15SadSUBDIR+=	nfsserver
1371.30SreinoudSUBDIR+=	nilfs
1381.96StronSUBDIR+=	npf
1391.97StronSUBDIR+=	npf_alg_icmp
1401.111SrmindSUBDIR+=	npf_ext_log
1411.119SchristosSUBDIR+=	npf_ext_normalize
1421.117SrmindSUBDIR+=	npf_ext_rndblock
1431.7SrumbleSUBDIR+=	ntfs
1441.18SadSUBDIR+=	null
1451.92SmbalmerSUBDIR+=	onewire
1461.134SpgoyetteSUBDIR+=	opencrypto
1471.7SrumbleSUBDIR+=	overlay
1481.280SkardelSUBDIR+=	owtemp
1491.249SniaSUBDIR+=	pad
1501.42SpgoyetteSUBDIR+=	pciverbose
1511.41SahokaSUBDIR+=	pf
1521.19ScubeSUBDIR+=	ppp_bsdcomp
1531.19ScubeSUBDIR+=	ppp_deflate
1541.7SrumbleSUBDIR+=	procfs
1551.182SpgoyetteSUBDIR+=	ptrace
1561.182SpgoyetteSUBDIR+=	ptrace_common
1571.7SrumbleSUBDIR+=	ptyfs
1581.7SrumbleSUBDIR+=	puffs
1591.15SadSUBDIR+=	putter
1601.165SpgoyetteSUBDIR+=	raid
1611.262SbradSUBDIR+=	scmd
1621.262SbradSUBDIR+=	scmdi2c
1631.265SpgoyetteSUBDIR+=	scsi_subr
1641.265SpgoyetteSUBDIR+=	scsiverbose
1651.103SpgoyetteSUBDIR+=	sdtemp
1661.33SeladSUBDIR+=	secmodel_bsd44
1671.100SjymSUBDIR+=	secmodel_extensions
1681.33SeladSUBDIR+=	secmodel_overlay
1691.33SeladSUBDIR+=	securelevel
1701.192SpgoyetteSUBDIR+=	sequencer
1711.262SbradSUBDIR+=	sgp40mox
1721.262SbradSUBDIR+=	sht3xtemp
1731.262SbradSUBDIR+=	sht4xtemp
1741.262SbradSUBDIR+=	si70xxtemp
1751.133SpgoyetteSUBDIR+=	skipjack
1761.168SpgoyetteSUBDIR+=	slcompress
1771.81SpgoyetteSUBDIR+=	spdmem
1781.188SpgoyetteSUBDIR+=	spkr
1791.173SpgoyetteSUBDIR+=	sppp_subr
1801.146SpgoyetteSUBDIR+=	sysmon
1811.146SpgoyetteSUBDIR+=	sysmon_envsys
1821.146SpgoyetteSUBDIR+=	sysmon_power
1831.146SpgoyetteSUBDIR+=	sysmon_taskq
1841.146SpgoyetteSUBDIR+=	sysmon_wdog
1851.24SpookaSUBDIR+=	sysvbfs
1861.153SpgoyetteSUBDIR+=	sysv_ipc
1871.33SeladSUBDIR+=	suser
1881.134SpgoyetteSUBDIR+=	swcrypto
1891.48SpgoyetteSUBDIR+=	swsensor
1901.145SpgoyetteSUBDIR+=	swwdog
1911.7SrumbleSUBDIR+=	tmpfs
1921.191SriastradSUBDIR+=	ualea
1931.108SriastradSUBDIR+=	uatp
1941.7SrumbleSUBDIR+=	udf
1951.222SpgoyetteSUBDIR+=	ufs
1961.18SadSUBDIR+=	umap
1971.7SrumbleSUBDIR+=	union
1981.223SmrgSUBDIR+=	usbnet
1991.43SpgoyetteSUBDIR+=	usbverbose
2001.106SchristosSUBDIR+=	vcoda
2011.78SenamiSUBDIR+=	v7fs
2021.25ShaadSUBDIR+=	vnd
2031.157SpgoyetteSUBDIR+=	wapbl
2041.193SpgoyetteSUBDIR+=	wsbell
2051.131SpgoyetteSUBDIR+=	zlib
2061.29SyamtSUBDIR+=	tprof
2071.7Srumble.if (defined(NOTYET))
2081.7SrumbleSUBDIR+=	unionfs
2091.7Srumble.endif
2101.37Sdyoung.if ${MKBINUTILS} != "no"
2111.37SdyoungSUBDIR+=	xldscripts
2121.37Sdyoung.endif
2131.7Srumble
2141.15Sad# Machine dependent section
2151.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
2161.49Stsutsui    ${MACHINE_CPU} == "m68k"
2171.47StsutsuiSUBDIR+=	exec_aout
2181.47Stsutsui.endif
2191.47Stsutsui
2201.169Sscole.if ${MACHINE_ARCH} != "alpha" && \
2211.169Sscole    ${MACHINE_ARCH} != "ia64"
2221.17SmartinSUBDIR+=	exec_elf32
2231.17Smartin.endif
2241.15Sad
2251.139Smatt.if ${MACHINE_CPU} == "aarch64" || \
2261.139Smatt    ${MACHINE_ARCH} == "alpha" || \
2271.169Sscole    ${MACHINE_ARCH} == "ia64" || \
2281.278Sskrll    ${MACHINE_ARCH} == "riscv64" || \
2291.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
2301.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
2311.20SheSUBDIR+=	exec_elf64
2321.20She.endif
2331.20She
2341.29Syamt.if ${MACHINE_ARCH} == "i386" || \
2351.29Syamt    ${MACHINE_ARCH} == "x86_64"
2361.199SpgoyetteSUBDIR+=	amdsmn
2371.71SjruohoSUBDIR+=	amdtemp
2381.199SpgoyetteSUBDIR+=	amdzentemp
2391.64SjruohoSUBDIR+=	coretemp
2401.65SjruohoSUBDIR+=	est
2411.110SmartinSUBDIR+=	hdafg
2421.110SmartinSUBDIR+=	hdaudio
2431.144SjmcneillSUBDIR+=	hdaudio_pci
2441.141SchristosSUBDIR+=	hdaudioverbose
2451.72SjruohoSUBDIR+=	hpet
2461.202SpgoyetteSUBDIR+=	ichsmb
2471.69SjruohoSUBDIR+=	odcm
2481.66SjruohoSUBDIR+=	powernow
2491.150SpgoyetteSUBDIR+=	tco
2501.207SmaxvSUBDIR+=	tprof_x86
2511.286Spho.endif
2521.286Spho
2531.286Spho.if ${MACHINE_CPU} == "aarch64" || \
2541.286Spho    ${MACHINE_ARCH} == "i386" || \
2551.286Spho    ${MACHINE_ARCH} == "x86_64"
2561.95SjmcneillSUBDIR+=	vmt
2571.29Syamt.endif
2581.29Syamt
2591.246Sjmcneill.if ${HAVE_NVMM:Uno} == "yes"
2601.210SmaxvSUBDIR+=	nvmm
2611.210Smaxv.endif
2621.210Smaxv
2631.240Sskrll# Builds on architectures with PCI bus
2641.240Sskrll.if \
2651.242Sskrll     ${MACHINE} == "evbarm" || \
2661.240Sskrll     ${MACHINE_ARCH} == "i386" || \
2671.240Sskrll     ${MACHINE_ARCH} == "x86_64"
2681.241Sskrll#SUBDIR+=	hifn
2691.245SyamaguchSUBDIR+=	if_iavf
2701.240SskrllSUBDIR+=	if_ixl
2711.240SskrllSUBDIR+=	ubsec
2721.137Sbad.endif
2731.137Sbad
2741.126Salnsn.if ${MKSLJIT} != "no"
2751.113SalnsnSUBDIR+=	bpfjit
2761.112SalnsnSUBDIR+=	sljit
2771.112Salnsn.endif
2781.112Salnsn
2791.85Sjruoho#
2801.85Sjruoho# ACPI modules
2811.85Sjruoho#
2821.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
2831.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
2841.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
2851.46SpgoyetteSUBDIR+=	acpiverbose
2861.46Spgoyette.endif
2871.46Spgoyette
2881.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2891.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2901.52SjruohoSUBDIR+=	acpiacad
2911.52SjruohoSUBDIR+=	acpibat
2921.52SjruohoSUBDIR+=	acpibut
2931.52SjruohoSUBDIR+=	acpicpu
2941.53SjruohoSUBDIR+=	acpidalb
2951.58SjruohoSUBDIR+=	acpifan
2961.284SriastradSUBDIR+=	acpihed
2971.52SjruohoSUBDIR+=	acpilid
2981.57SjruohoSUBDIR+=	acpipmtr
2991.53SjruohoSUBDIR+=	acpitz
3001.53SjruohoSUBDIR+=	acpivga
3011.86SjruohoSUBDIR+=	acpiwdrt
3021.51SjmcneillSUBDIR+=	acpiwmi
3031.53SjruohoSUBDIR+=	aibs
3041.283SriastradSUBDIR+=	apei
3051.54SjruohoSUBDIR+=	asus
3061.63SjruohoSUBDIR+=	fujbp
3071.63SjruohoSUBDIR+=	fujhk
3081.75SjruohoSUBDIR+=	hpacel
3091.54SjruohoSUBDIR+=	hpqlb
3101.52SjruohoSUBDIR+=	thinkpad
3111.50SjmcneillSUBDIR+=	wmidell
3121.83SjruohoSUBDIR+=	wmieeepc
3131.50SjmcneillSUBDIR+=	wmihp
3141.50SjmcneillSUBDIR+=	wmimsi
3151.50Sjmcneill.endif
3161.50Sjmcneill
3171.218Smrg.include "${.CURDIR}/../compat/netbsd32/netbsd32.mk"
3181.218Smrg.if ${COMPAT_USE_NETBSD32} != "no"
3191.218Smrg
3201.151SmattSUBDIR+=	compat_netbsd32
3211.216SpgoyetteSUBDIR+=	compat_netbsd32_09	compat_netbsd32_12
3221.216SpgoyetteSUBDIR+=	compat_netbsd32_13	compat_netbsd32_16
3231.216SpgoyetteSUBDIR+=	compat_netbsd32_20	compat_netbsd32_30
3241.216SpgoyetteSUBDIR+=	compat_netbsd32_40	compat_netbsd32_50
3251.216SpgoyetteSUBDIR+=	compat_netbsd32_60	compat_netbsd32_80
3261.275SpgoyetteSUBDIR+=	compat_netbsd32_90	compat_netbsd32_100
3271.216SpgoyetteSUBDIR+=	compat_netbsd32_43
3281.248SpgoyetteSUBDIR+=	compat_netbsd32_coredump
3291.180SskrllSUBDIR+=	compat_netbsd32_mqueue
3301.158SpgoyetteSUBDIR+=	compat_netbsd32_nfssrv
3311.181SskrllSUBDIR+=	compat_netbsd32_ptrace
3321.243SpgoyetteSUBDIR+=	compat_netbsd32_quota
3331.243SpgoyetteSUBDIR+=	compat_netbsd32_quota_50
3341.243SpgoyetteSUBDIR+=	compat_netbsd32_raid
3351.162SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc
3361.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_10
3371.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_14
3381.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_50
3391.151Smatt
3401.27Sabs.if ${MACHINE_ARCH} == "x86_64"
3411.15SadSUBDIR+=	compat_linux32
3421.15Sad.endif
3431.15Sad
3441.218Smrg.endif
3451.218Smrg
3461.27Sabs.if ${MACHINE_ARCH} == "i386"
3471.90SjmcneillSUBDIR+=	ati_pcigart
3481.15SadSUBDIR+=	compat_freebsd
3491.90SjmcneillSUBDIR+=	mach64drm
3501.90SjmcneillSUBDIR+=	mgadrm
3511.76SjmcneillSUBDIR+=	nsclpcsio
3521.62SjmcneillSUBDIR+=	padlock
3531.90SjmcneillSUBDIR+=	r128drm
3541.281Spgoyette#SUBDIR+=	radeondrm
3551.90SjmcneillSUBDIR+=	savagedrm
3561.90SjmcneillSUBDIR+=	sisdrm
3571.90SjmcneillSUBDIR+=	tdfxdrm
3581.67SjruohoSUBDIR+=	viac7temp
3591.15Sad.endif
3601.15Sad
3611.142Schristos.if ${MACHINE_ARCH} == "i386" || \
3621.276Sriastrad    ${MACHINE_ARCH} == "x86_64" || \
3631.277Sriastrad    ${MACHINE_CPU} == "aarch64"
3641.269SriastradSUBDIR+=	amdgpu
3651.269SriastradSUBDIR+=	drmkms
3661.269SriastradSUBDIR+=	drmkms_linux
3671.269SriastradSUBDIR+=	drmkms_pci
3681.269SriastradSUBDIR+=	drmkms_sched
3691.269SriastradSUBDIR+=	drmkms_ttm
3701.276Sriastrad.endif
3711.276Sriastrad
3721.276Sriastrad.if ${MACHINE_ARCH} == "i386" || \
3731.276Sriastrad    ${MACHINE_ARCH} == "x86_64"
3741.276SriastradSUBDIR+=	drm
3751.276SriastradSUBDIR+=	compat_linux
3761.276SriastradSUBDIR+=	drmkms_agp
3771.142SchristosSUBDIR+=	i915drm
3781.269SriastradSUBDIR+=	i915drmkms
3791.279SandvarSUBDIR+=	viadrmums
3801.85Sjruoho#
3811.85Sjruoho# ISA modules
3821.85Sjruoho#
3831.59SjmcneillSUBDIR+=	aps
3841.80SjmcneillSUBDIR+=	finsio
3851.79SjmcneillSUBDIR+=	itesio
3861.101SjakllschSUBDIR+=	lm
3871.101SjakllschSUBDIR+=	lm_isa
3881.101SjakllschSUBDIR+=	lm_isa_common
3891.101SjakllschSUBDIR+=	lm_wbsio
3901.101SjakllschSUBDIR+=	wbsio
3911.56Sjmcneill.endif
3921.56Sjmcneill
3931.258Sryo.if ${MACHINE_CPU} == "aarch64"
3941.258SryoSUBDIR+=	compat_linux
3951.261SryoSUBDIR+=	compat_linux32
3961.258Sryo.endif
3971.258Sryo
3981.49Stsutsui.if ${MACHINE_CPU} == "m68k"
3991.47StsutsuiSUBDIR+=	compat_aoutm68k
4001.47Stsutsui#SUBDIR+=	compat_linux
4011.47Stsutsui#SUBDIR+=	compat_sunos
4021.47Stsutsui.endif
4031.47Stsutsui
4041.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
4051.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
4061.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
4071.88SmbalmerSUBDIR+=	pwdog
4081.88Smbalmer.endif
4091.88Smbalmer
4101.23Sagc.include <bsd.own.mk>
4111.23Sagc
4121.107Sreinoud#
4131.107Sreinoud# NetBSD/usermode support
4141.107Sreinoud#
4151.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
4161.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
4171.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
4181.107Sreinoud.endif
4191.107Sreinoud
4201.23Sagc# we need our device mapper for LVM
4211.23Sagc.if (${MKLVM} != "no")
4221.28SyamtSUBDIR+= 	dm
4231.23Sagc.endif
4241.23Sagc
4251.39Sdarran.if (${MKDTRACE} != "no")
4261.116SchsSUBDIR+=	cyclic
4271.39SdarranSUBDIR+=	dtrace
4281.39Sdarran.endif
4291.39Sdarran
4301.252SchristosSUBDIR+=        sodium
4311.252Schristos
4321.39Sdarran# we need solaris for the dtrace and zfs modules
4331.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
4341.39SdarranSUBDIR+=        solaris
4351.39Sdarran.endif
4361.39Sdarran
4371.34Shaad.if (${MKZFS} != "no")
4381.34ShaadSUBDIR+=	zfs
4391.34Shaad.endif
4401.34Shaad
4411.73Smrg.if (${MKCOMPATMODULES} != "no")
4421.73SmrgSUBDIR+=	arch
4431.73Smrg.endif
4441.73Smrg
4451.84Sjmcneill#
4461.84Sjmcneill# DTV modules
4471.84Sjmcneill#
4481.84SjmcneillSUBDIR+=	dtv
4491.84SjmcneillSUBDIR+=	dtv_math
4501.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
4511.84Sjmcneill# tuners/demods
4521.84SjmcneillSUBDIR+=	au8522
4531.84SjmcneillSUBDIR+=	cx24227
4541.84SjmcneillSUBDIR+=	lg3303
4551.84SjmcneillSUBDIR+=	mt2131
4561.84SjmcneillSUBDIR+=	nxt2k
4571.84SjmcneillSUBDIR+=	tvpll
4581.84SjmcneillSUBDIR+=	xc3028
4591.84SjmcneillSUBDIR+=	xc5k
4601.91SjruohoSUBDIR+=	zl10353
4611.84Sjmcneill# hardware drivers
4621.84SjmcneillSUBDIR+=	auvitek
4631.84SjmcneillSUBDIR+=	coram
4641.84SjmcneillSUBDIR+=	cxdtv
4651.84SjmcneillSUBDIR+=	emdtv
4661.200Spgoyette
4671.200Spgoyette# Intel Integrated Memory Controller and associated SMBus
4681.200Spgoyette# (Experimental)
4691.200SpgoyetteSUBDIR+=	imc
4701.200SpgoyetteSUBDIR+=	imcsmb
4711.200Spgoyette
4721.84Sjmcneill.endif
4731.84Sjmcneill
4741.98Sriz.if (${MKISCSI} != "no")
4751.98SrizSUBDIR+=	iscsi
4761.98Sriz.endif
4771.98Sriz
4781.179Spgoyette# For now, all of these are disabled, pending resolution of how to deal
4791.179Spgoyette# with attachment-specific modules and bus-specific modules (as opposed
4801.179Spgoyette# to machine- or architecture-specific modules)
4811.179Spgoyette
4821.179Spgoyette.if 0
4831.179SpgoyetteSUBDIR+=	aac
4841.179SpgoyetteSUBDIR+=	amr
4851.179SpgoyetteSUBDIR+=	ataraid
4861.179SpgoyetteSUBDIR+=	cac
4871.179SpgoyetteSUBDIR+=	cac_eisa
4881.179SpgoyetteSUBDIR+=	cac_pci
4891.271SmartinSUBDIR+=	emuxki
4901.234SryoSUBDIR+=	if_aq
4911.179SpgoyetteSUBDIR+=	if_vioif
4921.247SryoSUBDIR+=	if_vmx
4931.179SpgoyetteSUBDIR+=	ld
4941.179SpgoyetteSUBDIR+=	ld_aac
4951.179SpgoyetteSUBDIR+=	ld_amr
4961.179SpgoyetteSUBDIR+=	ld_ataraid
4971.179SpgoyetteSUBDIR+=	ld_cac
4981.179SpgoyetteSUBDIR+=	ld_icp
4991.179SpgoyetteSUBDIR+=	ld_mlx
5001.179SpgoyetteSUBDIR+=	ld_sdmmc
5011.179SpgoyetteSUBDIR+=	ld_twa
5021.179SpgoyetteSUBDIR+=	ld_twe
5031.179SpgoyetteSUBDIR+=	ld_virtio
5041.179SpgoyetteSUBDIR+=	mlx
5051.179SpgoyetteSUBDIR+=	mlx_eisa
5061.179SpgoyetteSUBDIR+=	mlx_pci
5071.179SpgoyetteSUBDIR+=	ld_nvme
5081.179SpgoyetteSUBDIR+=	nvme
5091.179SpgoyetteSUBDIR+=	twa
5101.179SpgoyetteSUBDIR+=	twe
5111.228SozakiSUBDIR+=	vio9p
5121.179SpgoyetteSUBDIR+=	viomb
5131.179SpgoyetteSUBDIR+=	virtio
5141.205SjakllschSUBDIR+=	virtio_pci
5151.190SjdolecekSUBDIR+=	vioscsi
5161.179Spgoyette.endif
5171.179Spgoyette
5181.154SpgoyetteSUBDIR+=	examples	# build these regularly to avoid bit-rot
5191.154Spgoyette
5201.282Smrg.endif
5211.282Smrg
5221.1Sad.include <bsd.subdir.mk>
523