Makefile revision 1.295
11.295Sbrad#	$NetBSD: Makefile,v 1.295 2025/01/23 19:02:42 brad 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.293SbradSUBDIR+=	ds2482ow
641.295SbradSUBDIR+=	ds28e17iic
651.7SrumbleSUBDIR+=	efs
661.7SrumbleSUBDIR+=	ext2fs
671.15SadSUBDIR+=	exec_script
681.7SrumbleSUBDIR+=	fdesc
691.7SrumbleSUBDIR+=	ffs
701.18SadSUBDIR+=	filecore
711.68SahokaSUBDIR+=	flash
721.15SadSUBDIR+=	fss
731.89SmbalmerSUBDIR+=	gpio
741.94SmbalmerSUBDIR+=	gpioiic
751.92SmbalmerSUBDIR+=	gpioow
761.89SmbalmerSUBDIR+=	gpiosim
771.203SthorpejSUBDIR+=	gpioirq
781.204SthorpejSUBDIR+=	gpiopps
791.7SrumbleSUBDIR+=	hfs
801.136SkardelSUBDIR+=	hythygtemp
811.197SchristosSUBDIR+=	am2315temp
821.143SjmcneillSUBDIR+=	i2cexec
831.166SpgoyetteSUBDIR+=	i2c_bitbang
841.263SpgoyetteSUBDIR+=	i2c_subr
851.175SchristosSUBDIR+=	if_agr
861.226SmrgSUBDIR+=	if_aue
871.105SpgoyetteSUBDIR+=	if_axe
881.120SnonakaSUBDIR+=	if_axen
891.226SmrgSUBDIR+=	if_cdce
901.226SmrgSUBDIR+=	if_cue
911.175SchristosSUBDIR+=	if_faith
921.175SchristosSUBDIR+=	if_gif
931.175SchristosSUBDIR+=	if_gre
941.226SmrgSUBDIR+=	if_kue
951.189SknakaharSUBDIR+=	if_l2tp
961.250SyamaguchSUBDIR+=	if_lagg
971.175SchristosSUBDIR+=	if_loop
981.175SchristosSUBDIR+=	if_mpls
991.208SrinSUBDIR+=	if_mue
1001.294SmayaSUBDIR+=	if_ncm
1011.118SchristosSUBDIR+=	if_npflog
1021.171SchristosSUBDIR+=	if_ppp
1031.174SpgoyetteSUBDIR+=	if_pppoe
1041.255SpgoyetteSUBDIR+=	if_run
1051.172SchristosSUBDIR+=	if_sl
1061.124SskrllSUBDIR+=	if_smsc
1071.221SpgoyetteSUBDIR+=	if_srt srt
1081.175SchristosSUBDIR+=	if_stf
1091.220SpgoyetteSUBDIR+=	if_tap tap
1101.176SpgoyetteSUBDIR+=	if_tun tun
1111.224SskrllSUBDIR+=	if_udav
1121.226SmrgSUBDIR+=	if_upl
1131.219SrinSUBDIR+=	if_ure
1141.226SmrgSUBDIR+=	if_url
1151.226SmrgSUBDIR+=	if_urndis
1161.175SchristosSUBDIR+=	if_vlan
1171.252SchristosSUBDIR+=	if_wg
1181.94SmbalmerSUBDIR+=	iic
1191.196SpgoyetteSUBDIR+=	ip_ecn
1201.291Srin.if ${MKIPFILTER:Uno} != no
1211.167SpgoyetteSUBDIR+=	ipl
1221.291Srin.endif
1231.7SrumbleSUBDIR+=	kernfs
1241.22SadSUBDIR+=	layerfs
1251.7SrumbleSUBDIR+=	lfs
1261.121SmbalmerSUBDIR+=	lua
1271.128SlnetoSUBDIR+=	luasystm
1281.123SmbalmerSUBDIR+=	luapmf
1291.7SrumbleSUBDIR+=	mfs
1301.192SpgoyetteSUBDIR+=	midi
1311.266SpgoyetteSUBDIR+=	midi_seq
1321.45SpgoyetteSUBDIR+=	miiverbose
1331.45SpgoyetteSUBDIR+=	miniroot
1341.31SrmindSUBDIR+=	mqueue
1351.18SadSUBDIR+=	msdos
1361.68SahokaSUBDIR+=	nand
1371.68SahokaSUBDIR+=	nandemulator
1381.15SadSUBDIR+=	nfs
1391.15SadSUBDIR+=	nfsserver
1401.30SreinoudSUBDIR+=	nilfs
1411.96StronSUBDIR+=	npf
1421.97StronSUBDIR+=	npf_alg_icmp
1431.111SrmindSUBDIR+=	npf_ext_log
1441.119SchristosSUBDIR+=	npf_ext_normalize
1451.117SrmindSUBDIR+=	npf_ext_rndblock
1461.7SrumbleSUBDIR+=	ntfs
1471.18SadSUBDIR+=	null
1481.92SmbalmerSUBDIR+=	onewire
1491.134SpgoyetteSUBDIR+=	opencrypto
1501.7SrumbleSUBDIR+=	overlay
1511.280SkardelSUBDIR+=	owtemp
1521.249SniaSUBDIR+=	pad
1531.42SpgoyetteSUBDIR+=	pciverbose
1541.41SahokaSUBDIR+=	pf
1551.19ScubeSUBDIR+=	ppp_bsdcomp
1561.19ScubeSUBDIR+=	ppp_deflate
1571.7SrumbleSUBDIR+=	procfs
1581.182SpgoyetteSUBDIR+=	ptrace
1591.182SpgoyetteSUBDIR+=	ptrace_common
1601.7SrumbleSUBDIR+=	ptyfs
1611.7SrumbleSUBDIR+=	puffs
1621.15SadSUBDIR+=	putter
1631.165SpgoyetteSUBDIR+=	raid
1641.262SbradSUBDIR+=	scmd
1651.262SbradSUBDIR+=	scmdi2c
1661.265SpgoyetteSUBDIR+=	scsi_subr
1671.265SpgoyetteSUBDIR+=	scsiverbose
1681.103SpgoyetteSUBDIR+=	sdtemp
1691.33SeladSUBDIR+=	secmodel_bsd44
1701.100SjymSUBDIR+=	secmodel_extensions
1711.33SeladSUBDIR+=	secmodel_overlay
1721.33SeladSUBDIR+=	securelevel
1731.192SpgoyetteSUBDIR+=	sequencer
1741.262SbradSUBDIR+=	sgp40mox
1751.262SbradSUBDIR+=	sht3xtemp
1761.262SbradSUBDIR+=	sht4xtemp
1771.262SbradSUBDIR+=	si70xxtemp
1781.133SpgoyetteSUBDIR+=	skipjack
1791.168SpgoyetteSUBDIR+=	slcompress
1801.81SpgoyetteSUBDIR+=	spdmem
1811.188SpgoyetteSUBDIR+=	spkr
1821.173SpgoyetteSUBDIR+=	sppp_subr
1831.146SpgoyetteSUBDIR+=	sysmon
1841.146SpgoyetteSUBDIR+=	sysmon_envsys
1851.146SpgoyetteSUBDIR+=	sysmon_power
1861.146SpgoyetteSUBDIR+=	sysmon_taskq
1871.146SpgoyetteSUBDIR+=	sysmon_wdog
1881.24SpookaSUBDIR+=	sysvbfs
1891.153SpgoyetteSUBDIR+=	sysv_ipc
1901.33SeladSUBDIR+=	suser
1911.134SpgoyetteSUBDIR+=	swcrypto
1921.48SpgoyetteSUBDIR+=	swsensor
1931.145SpgoyetteSUBDIR+=	swwdog
1941.7SrumbleSUBDIR+=	tmpfs
1951.191SriastradSUBDIR+=	ualea
1961.108SriastradSUBDIR+=	uatp
1971.7SrumbleSUBDIR+=	udf
1981.222SpgoyetteSUBDIR+=	ufs
1991.18SadSUBDIR+=	umap
2001.7SrumbleSUBDIR+=	union
2011.223SmrgSUBDIR+=	usbnet
2021.43SpgoyetteSUBDIR+=	usbverbose
2031.106SchristosSUBDIR+=	vcoda
2041.78SenamiSUBDIR+=	v7fs
2051.25ShaadSUBDIR+=	vnd
2061.157SpgoyetteSUBDIR+=	wapbl
2071.193SpgoyetteSUBDIR+=	wsbell
2081.131SpgoyetteSUBDIR+=	zlib
2091.29SyamtSUBDIR+=	tprof
2101.7Srumble.if (defined(NOTYET))
2111.7SrumbleSUBDIR+=	unionfs
2121.7Srumble.endif
2131.37Sdyoung.if ${MKBINUTILS} != "no"
2141.37SdyoungSUBDIR+=	xldscripts
2151.37Sdyoung.endif
2161.7Srumble
2171.15Sad# Machine dependent section
2181.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
2191.49Stsutsui    ${MACHINE_CPU} == "m68k"
2201.47StsutsuiSUBDIR+=	exec_aout
2211.47Stsutsui.endif
2221.47Stsutsui
2231.169Sscole.if ${MACHINE_ARCH} != "alpha" && \
2241.169Sscole    ${MACHINE_ARCH} != "ia64"
2251.17SmartinSUBDIR+=	exec_elf32
2261.17Smartin.endif
2271.15Sad
2281.139Smatt.if ${MACHINE_CPU} == "aarch64" || \
2291.139Smatt    ${MACHINE_ARCH} == "alpha" || \
2301.169Sscole    ${MACHINE_ARCH} == "ia64" || \
2311.278Sskrll    ${MACHINE_ARCH} == "riscv64" || \
2321.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
2331.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
2341.20SheSUBDIR+=	exec_elf64
2351.20She.endif
2361.20She
2371.29Syamt.if ${MACHINE_ARCH} == "i386" || \
2381.29Syamt    ${MACHINE_ARCH} == "x86_64"
2391.199SpgoyetteSUBDIR+=	amdsmn
2401.71SjruohoSUBDIR+=	amdtemp
2411.199SpgoyetteSUBDIR+=	amdzentemp
2421.64SjruohoSUBDIR+=	coretemp
2431.65SjruohoSUBDIR+=	est
2441.110SmartinSUBDIR+=	hdafg
2451.110SmartinSUBDIR+=	hdaudio
2461.144SjmcneillSUBDIR+=	hdaudio_pci
2471.141SchristosSUBDIR+=	hdaudioverbose
2481.72SjruohoSUBDIR+=	hpet
2491.202SpgoyetteSUBDIR+=	ichsmb
2501.69SjruohoSUBDIR+=	odcm
2511.66SjruohoSUBDIR+=	powernow
2521.150SpgoyetteSUBDIR+=	tco
2531.207SmaxvSUBDIR+=	tprof_x86
2541.286Spho.endif
2551.286Spho
2561.286Spho.if ${MACHINE_CPU} == "aarch64" || \
2571.286Spho    ${MACHINE_ARCH} == "i386" || \
2581.286Spho    ${MACHINE_ARCH} == "x86_64"
2591.95SjmcneillSUBDIR+=	vmt
2601.29Syamt.endif
2611.29Syamt
2621.246Sjmcneill.if ${HAVE_NVMM:Uno} == "yes"
2631.210SmaxvSUBDIR+=	nvmm
2641.210Smaxv.endif
2651.210Smaxv
2661.240Sskrll# Builds on architectures with PCI bus
2671.240Sskrll.if \
2681.242Sskrll     ${MACHINE} == "evbarm" || \
2691.240Sskrll     ${MACHINE_ARCH} == "i386" || \
2701.240Sskrll     ${MACHINE_ARCH} == "x86_64"
2711.241Sskrll#SUBDIR+=	hifn
2721.245SyamaguchSUBDIR+=	if_iavf
2731.240SskrllSUBDIR+=	if_ixl
2741.240SskrllSUBDIR+=	ubsec
2751.137Sbad.endif
2761.137Sbad
2771.126Salnsn.if ${MKSLJIT} != "no"
2781.113SalnsnSUBDIR+=	bpfjit
2791.112SalnsnSUBDIR+=	sljit
2801.112Salnsn.endif
2811.112Salnsn
2821.85Sjruoho#
2831.85Sjruoho# ACPI modules
2841.85Sjruoho#
2851.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
2861.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
2871.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
2881.46SpgoyetteSUBDIR+=	acpiverbose
2891.46Spgoyette.endif
2901.46Spgoyette
2911.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2921.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2931.52SjruohoSUBDIR+=	acpiacad
2941.52SjruohoSUBDIR+=	acpibat
2951.52SjruohoSUBDIR+=	acpibut
2961.52SjruohoSUBDIR+=	acpicpu
2971.53SjruohoSUBDIR+=	acpidalb
2981.58SjruohoSUBDIR+=	acpifan
2991.284SriastradSUBDIR+=	acpihed
3001.52SjruohoSUBDIR+=	acpilid
3011.57SjruohoSUBDIR+=	acpipmtr
3021.53SjruohoSUBDIR+=	acpitz
3031.53SjruohoSUBDIR+=	acpivga
3041.292SriastradSUBDIR+=	acpivmgenid
3051.86SjruohoSUBDIR+=	acpiwdrt
3061.51SjmcneillSUBDIR+=	acpiwmi
3071.53SjruohoSUBDIR+=	aibs
3081.283SriastradSUBDIR+=	apei
3091.54SjruohoSUBDIR+=	asus
3101.63SjruohoSUBDIR+=	fujbp
3111.63SjruohoSUBDIR+=	fujhk
3121.75SjruohoSUBDIR+=	hpacel
3131.54SjruohoSUBDIR+=	hpqlb
3141.52SjruohoSUBDIR+=	thinkpad
3151.50SjmcneillSUBDIR+=	wmidell
3161.83SjruohoSUBDIR+=	wmieeepc
3171.50SjmcneillSUBDIR+=	wmihp
3181.50SjmcneillSUBDIR+=	wmimsi
3191.50Sjmcneill.endif
3201.50Sjmcneill
3211.218Smrg.include "${.CURDIR}/../compat/netbsd32/netbsd32.mk"
3221.218Smrg.if ${COMPAT_USE_NETBSD32} != "no"
3231.218Smrg
3241.151SmattSUBDIR+=	compat_netbsd32
3251.216SpgoyetteSUBDIR+=	compat_netbsd32_09	compat_netbsd32_12
3261.216SpgoyetteSUBDIR+=	compat_netbsd32_13	compat_netbsd32_16
3271.216SpgoyetteSUBDIR+=	compat_netbsd32_20	compat_netbsd32_30
3281.216SpgoyetteSUBDIR+=	compat_netbsd32_40	compat_netbsd32_50
3291.216SpgoyetteSUBDIR+=	compat_netbsd32_60	compat_netbsd32_80
3301.275SpgoyetteSUBDIR+=	compat_netbsd32_90	compat_netbsd32_100
3311.216SpgoyetteSUBDIR+=	compat_netbsd32_43
3321.248SpgoyetteSUBDIR+=	compat_netbsd32_coredump
3331.180SskrllSUBDIR+=	compat_netbsd32_mqueue
3341.158SpgoyetteSUBDIR+=	compat_netbsd32_nfssrv
3351.181SskrllSUBDIR+=	compat_netbsd32_ptrace
3361.243SpgoyetteSUBDIR+=	compat_netbsd32_quota
3371.243SpgoyetteSUBDIR+=	compat_netbsd32_quota_50
3381.243SpgoyetteSUBDIR+=	compat_netbsd32_raid
3391.162SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc
3401.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_10
3411.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_14
3421.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_50
3431.151Smatt
3441.27Sabs.if ${MACHINE_ARCH} == "x86_64"
3451.15SadSUBDIR+=	compat_linux32
3461.15Sad.endif
3471.15Sad
3481.218Smrg.endif
3491.218Smrg
3501.27Sabs.if ${MACHINE_ARCH} == "i386"
3511.90SjmcneillSUBDIR+=	ati_pcigart
3521.15SadSUBDIR+=	compat_freebsd
3531.90SjmcneillSUBDIR+=	mach64drm
3541.90SjmcneillSUBDIR+=	mgadrm
3551.76SjmcneillSUBDIR+=	nsclpcsio
3561.62SjmcneillSUBDIR+=	padlock
3571.90SjmcneillSUBDIR+=	r128drm
3581.281Spgoyette#SUBDIR+=	radeondrm
3591.90SjmcneillSUBDIR+=	savagedrm
3601.90SjmcneillSUBDIR+=	sisdrm
3611.90SjmcneillSUBDIR+=	tdfxdrm
3621.67SjruohoSUBDIR+=	viac7temp
3631.15Sad.endif
3641.15Sad
3651.142Schristos.if ${MACHINE_ARCH} == "i386" || \
3661.276Sriastrad    ${MACHINE_ARCH} == "x86_64" || \
3671.277Sriastrad    ${MACHINE_CPU} == "aarch64"
3681.269SriastradSUBDIR+=	amdgpu
3691.269SriastradSUBDIR+=	drmkms
3701.269SriastradSUBDIR+=	drmkms_linux
3711.269SriastradSUBDIR+=	drmkms_pci
3721.269SriastradSUBDIR+=	drmkms_sched
3731.269SriastradSUBDIR+=	drmkms_ttm
3741.276Sriastrad.endif
3751.276Sriastrad
3761.276Sriastrad.if ${MACHINE_ARCH} == "i386" || \
3771.276Sriastrad    ${MACHINE_ARCH} == "x86_64"
3781.276SriastradSUBDIR+=	drm
3791.276SriastradSUBDIR+=	compat_linux
3801.276SriastradSUBDIR+=	drmkms_agp
3811.142SchristosSUBDIR+=	i915drm
3821.269SriastradSUBDIR+=	i915drmkms
3831.279SandvarSUBDIR+=	viadrmums
3841.85Sjruoho#
3851.85Sjruoho# ISA modules
3861.85Sjruoho#
3871.59SjmcneillSUBDIR+=	aps
3881.80SjmcneillSUBDIR+=	finsio
3891.79SjmcneillSUBDIR+=	itesio
3901.101SjakllschSUBDIR+=	lm
3911.101SjakllschSUBDIR+=	lm_isa
3921.101SjakllschSUBDIR+=	lm_isa_common
3931.101SjakllschSUBDIR+=	lm_wbsio
3941.101SjakllschSUBDIR+=	wbsio
3951.56Sjmcneill.endif
3961.56Sjmcneill
3971.258Sryo.if ${MACHINE_CPU} == "aarch64"
3981.258SryoSUBDIR+=	compat_linux
3991.261SryoSUBDIR+=	compat_linux32
4001.258Sryo.endif
4011.258Sryo
4021.49Stsutsui.if ${MACHINE_CPU} == "m68k"
4031.47StsutsuiSUBDIR+=	compat_aoutm68k
4041.47Stsutsui#SUBDIR+=	compat_linux
4051.47Stsutsui#SUBDIR+=	compat_sunos
4061.47Stsutsui.endif
4071.47Stsutsui
4081.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
4091.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
4101.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
4111.88SmbalmerSUBDIR+=	pwdog
4121.88Smbalmer.endif
4131.88Smbalmer
4141.23Sagc.include <bsd.own.mk>
4151.23Sagc
4161.107Sreinoud#
4171.107Sreinoud# NetBSD/usermode support
4181.107Sreinoud#
4191.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
4201.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
4211.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
4221.107Sreinoud.endif
4231.107Sreinoud
4241.23Sagc# we need our device mapper for LVM
4251.23Sagc.if (${MKLVM} != "no")
4261.28SyamtSUBDIR+= 	dm
4271.23Sagc.endif
4281.23Sagc
4291.39Sdarran.if (${MKDTRACE} != "no")
4301.116SchsSUBDIR+=	cyclic
4311.39SdarranSUBDIR+=	dtrace
4321.39Sdarran.endif
4331.39Sdarran
4341.252SchristosSUBDIR+=        sodium
4351.252Schristos
4361.39Sdarran# we need solaris for the dtrace and zfs modules
4371.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
4381.39SdarranSUBDIR+=        solaris
4391.39Sdarran.endif
4401.39Sdarran
4411.34Shaad.if (${MKZFS} != "no")
4421.34ShaadSUBDIR+=	zfs
4431.34Shaad.endif
4441.34Shaad
4451.73Smrg.if (${MKCOMPATMODULES} != "no")
4461.73SmrgSUBDIR+=	arch
4471.73Smrg.endif
4481.73Smrg
4491.84Sjmcneill#
4501.84Sjmcneill# DTV modules
4511.84Sjmcneill#
4521.84SjmcneillSUBDIR+=	dtv
4531.84SjmcneillSUBDIR+=	dtv_math
4541.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
4551.84Sjmcneill# tuners/demods
4561.84SjmcneillSUBDIR+=	au8522
4571.84SjmcneillSUBDIR+=	cx24227
4581.84SjmcneillSUBDIR+=	lg3303
4591.84SjmcneillSUBDIR+=	mt2131
4601.84SjmcneillSUBDIR+=	nxt2k
4611.84SjmcneillSUBDIR+=	tvpll
4621.84SjmcneillSUBDIR+=	xc3028
4631.84SjmcneillSUBDIR+=	xc5k
4641.91SjruohoSUBDIR+=	zl10353
4651.84Sjmcneill# hardware drivers
4661.84SjmcneillSUBDIR+=	auvitek
4671.84SjmcneillSUBDIR+=	coram
4681.84SjmcneillSUBDIR+=	cxdtv
4691.84SjmcneillSUBDIR+=	emdtv
4701.200Spgoyette
4711.200Spgoyette# Intel Integrated Memory Controller and associated SMBus
4721.200Spgoyette# (Experimental)
4731.200SpgoyetteSUBDIR+=	imc
4741.200SpgoyetteSUBDIR+=	imcsmb
4751.200Spgoyette
4761.84Sjmcneill.endif
4771.84Sjmcneill
4781.98Sriz.if (${MKISCSI} != "no")
4791.98SrizSUBDIR+=	iscsi
4801.98Sriz.endif
4811.98Sriz
4821.179Spgoyette# For now, all of these are disabled, pending resolution of how to deal
4831.179Spgoyette# with attachment-specific modules and bus-specific modules (as opposed
4841.179Spgoyette# to machine- or architecture-specific modules)
4851.179Spgoyette
4861.179Spgoyette.if 0
4871.179SpgoyetteSUBDIR+=	aac
4881.179SpgoyetteSUBDIR+=	amr
4891.179SpgoyetteSUBDIR+=	ataraid
4901.179SpgoyetteSUBDIR+=	cac
4911.179SpgoyetteSUBDIR+=	cac_eisa
4921.179SpgoyetteSUBDIR+=	cac_pci
4931.271SmartinSUBDIR+=	emuxki
4941.234SryoSUBDIR+=	if_aq
4951.179SpgoyetteSUBDIR+=	if_vioif
4961.247SryoSUBDIR+=	if_vmx
4971.179SpgoyetteSUBDIR+=	ld
4981.179SpgoyetteSUBDIR+=	ld_aac
4991.179SpgoyetteSUBDIR+=	ld_amr
5001.179SpgoyetteSUBDIR+=	ld_ataraid
5011.179SpgoyetteSUBDIR+=	ld_cac
5021.179SpgoyetteSUBDIR+=	ld_icp
5031.179SpgoyetteSUBDIR+=	ld_mlx
5041.179SpgoyetteSUBDIR+=	ld_sdmmc
5051.179SpgoyetteSUBDIR+=	ld_twa
5061.179SpgoyetteSUBDIR+=	ld_twe
5071.179SpgoyetteSUBDIR+=	ld_virtio
5081.179SpgoyetteSUBDIR+=	mlx
5091.179SpgoyetteSUBDIR+=	mlx_eisa
5101.179SpgoyetteSUBDIR+=	mlx_pci
5111.179SpgoyetteSUBDIR+=	ld_nvme
5121.179SpgoyetteSUBDIR+=	nvme
5131.179SpgoyetteSUBDIR+=	twa
5141.179SpgoyetteSUBDIR+=	twe
5151.228SozakiSUBDIR+=	vio9p
5161.179SpgoyetteSUBDIR+=	viomb
5171.179SpgoyetteSUBDIR+=	virtio
5181.205SjakllschSUBDIR+=	virtio_pci
5191.190SjdolecekSUBDIR+=	vioscsi
5201.179Spgoyette.endif
5211.179Spgoyette
5221.154SpgoyetteSUBDIR+=	examples	# build these regularly to avoid bit-rot
5231.154Spgoyette
5241.282Smrg.endif
5251.282Smrg
5261.1Sad.include <bsd.subdir.mk>
527