11.298Spgoyette#	$NetBSD: Makefile,v 1.298 2025/10/21 07:23:05 pgoyette 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.296SbradSUBDIR+=	emcfan
671.7SrumbleSUBDIR+=	ext2fs
681.15SadSUBDIR+=	exec_script
691.7SrumbleSUBDIR+=	fdesc
701.7SrumbleSUBDIR+=	ffs
711.18SadSUBDIR+=	filecore
721.68SahokaSUBDIR+=	flash
731.15SadSUBDIR+=	fss
741.89SmbalmerSUBDIR+=	gpio
751.94SmbalmerSUBDIR+=	gpioiic
761.92SmbalmerSUBDIR+=	gpioow
771.89SmbalmerSUBDIR+=	gpiosim
781.203SthorpejSUBDIR+=	gpioirq
791.204SthorpejSUBDIR+=	gpiopps
801.7SrumbleSUBDIR+=	hfs
811.136SkardelSUBDIR+=	hythygtemp
821.197SchristosSUBDIR+=	am2315temp
831.143SjmcneillSUBDIR+=	i2cexec
841.166SpgoyetteSUBDIR+=	i2c_bitbang
851.263SpgoyetteSUBDIR+=	i2c_subr
861.175SchristosSUBDIR+=	if_agr
871.226SmrgSUBDIR+=	if_aue
881.105SpgoyetteSUBDIR+=	if_axe
891.120SnonakaSUBDIR+=	if_axen
901.226SmrgSUBDIR+=	if_cdce
911.226SmrgSUBDIR+=	if_cue
921.175SchristosSUBDIR+=	if_faith
931.175SchristosSUBDIR+=	if_gif
941.175SchristosSUBDIR+=	if_gre
951.226SmrgSUBDIR+=	if_kue
961.189SknakaharSUBDIR+=	if_l2tp
971.250SyamaguchSUBDIR+=	if_lagg
981.175SchristosSUBDIR+=	if_loop
991.175SchristosSUBDIR+=	if_mpls
1001.208SrinSUBDIR+=	if_mue
1011.294SmayaSUBDIR+=	if_ncm
1021.118SchristosSUBDIR+=	if_npflog
1031.171SchristosSUBDIR+=	if_ppp
1041.174SpgoyetteSUBDIR+=	if_pppoe
1051.255SpgoyetteSUBDIR+=	if_run
1061.172SchristosSUBDIR+=	if_sl
1071.124SskrllSUBDIR+=	if_smsc
1081.221SpgoyetteSUBDIR+=	if_srt srt
1091.175SchristosSUBDIR+=	if_stf
1101.220SpgoyetteSUBDIR+=	if_tap tap
1111.176SpgoyetteSUBDIR+=	if_tun tun
1121.224SskrllSUBDIR+=	if_udav
1131.226SmrgSUBDIR+=	if_upl
1141.219SrinSUBDIR+=	if_ure
1151.226SmrgSUBDIR+=	if_url
1161.226SmrgSUBDIR+=	if_urndis
1171.175SchristosSUBDIR+=	if_vlan
1181.252SchristosSUBDIR+=	if_wg
1191.94SmbalmerSUBDIR+=	iic
1201.196SpgoyetteSUBDIR+=	ip_ecn
1211.291Srin.if ${MKIPFILTER:Uno} != no
1221.167SpgoyetteSUBDIR+=	ipl
1231.291Srin.endif
1241.7SrumbleSUBDIR+=	kernfs
1251.22SadSUBDIR+=	layerfs
1261.7SrumbleSUBDIR+=	lfs
1271.121SmbalmerSUBDIR+=	lua
1281.128SlnetoSUBDIR+=	luasystm
1291.123SmbalmerSUBDIR+=	luapmf
1301.7SrumbleSUBDIR+=	mfs
1311.192SpgoyetteSUBDIR+=	midi
1321.266SpgoyetteSUBDIR+=	midi_seq
1331.45SpgoyetteSUBDIR+=	miiverbose
1341.45SpgoyetteSUBDIR+=	miniroot
1351.31SrmindSUBDIR+=	mqueue
1361.18SadSUBDIR+=	msdos
1371.68SahokaSUBDIR+=	nand
1381.68SahokaSUBDIR+=	nandemulator
1391.15SadSUBDIR+=	nfs
1401.15SadSUBDIR+=	nfsserver
1411.30SreinoudSUBDIR+=	nilfs
1421.96StronSUBDIR+=	npf
1431.97StronSUBDIR+=	npf_alg_icmp
1441.111SrmindSUBDIR+=	npf_ext_log
1451.119SchristosSUBDIR+=	npf_ext_normalize
1461.117SrmindSUBDIR+=	npf_ext_rndblock
1471.7SrumbleSUBDIR+=	ntfs
1481.18SadSUBDIR+=	null
1491.92SmbalmerSUBDIR+=	onewire
1501.134SpgoyetteSUBDIR+=	opencrypto
1511.7SrumbleSUBDIR+=	overlay
1521.280SkardelSUBDIR+=	owtemp
1531.249SniaSUBDIR+=	pad
1541.42SpgoyetteSUBDIR+=	pciverbose
1551.41SahokaSUBDIR+=	pf
1561.19ScubeSUBDIR+=	ppp_bsdcomp
1571.19ScubeSUBDIR+=	ppp_deflate
1581.7SrumbleSUBDIR+=	procfs
1591.182SpgoyetteSUBDIR+=	ptrace
1601.182SpgoyetteSUBDIR+=	ptrace_common
1611.7SrumbleSUBDIR+=	ptyfs
1621.7SrumbleSUBDIR+=	puffs
1631.15SadSUBDIR+=	putter
1641.165SpgoyetteSUBDIR+=	raid
1651.262SbradSUBDIR+=	scmd
1661.262SbradSUBDIR+=	scmdi2c
1671.265SpgoyetteSUBDIR+=	scsi_subr
1681.265SpgoyetteSUBDIR+=	scsiverbose
1691.103SpgoyetteSUBDIR+=	sdtemp
1701.33SeladSUBDIR+=	secmodel_bsd44
1711.100SjymSUBDIR+=	secmodel_extensions
1721.33SeladSUBDIR+=	secmodel_overlay
1731.33SeladSUBDIR+=	securelevel
1741.192SpgoyetteSUBDIR+=	sequencer
1751.262SbradSUBDIR+=	sgp40mox
1761.262SbradSUBDIR+=	sht3xtemp
1771.262SbradSUBDIR+=	sht4xtemp
1781.262SbradSUBDIR+=	si70xxtemp
1791.133SpgoyetteSUBDIR+=	skipjack
1801.168SpgoyetteSUBDIR+=	slcompress
1811.81SpgoyetteSUBDIR+=	spdmem
1821.188SpgoyetteSUBDIR+=	spkr
1831.173SpgoyetteSUBDIR+=	sppp_subr
1841.146SpgoyetteSUBDIR+=	sysmon
1851.146SpgoyetteSUBDIR+=	sysmon_envsys
1861.146SpgoyetteSUBDIR+=	sysmon_power
1871.146SpgoyetteSUBDIR+=	sysmon_taskq
1881.146SpgoyetteSUBDIR+=	sysmon_wdog
1891.24SpookaSUBDIR+=	sysvbfs
1901.153SpgoyetteSUBDIR+=	sysv_ipc
1911.33SeladSUBDIR+=	suser
1921.134SpgoyetteSUBDIR+=	swcrypto
1931.48SpgoyetteSUBDIR+=	swsensor
1941.145SpgoyetteSUBDIR+=	swwdog
1951.7SrumbleSUBDIR+=	tmpfs
1961.191SriastradSUBDIR+=	ualea
1971.108SriastradSUBDIR+=	uatp
1981.7SrumbleSUBDIR+=	udf
1991.222SpgoyetteSUBDIR+=	ufs
2001.18SadSUBDIR+=	umap
2011.7SrumbleSUBDIR+=	union
2021.223SmrgSUBDIR+=	usbnet
2031.43SpgoyetteSUBDIR+=	usbverbose
2041.106SchristosSUBDIR+=	vcoda
2051.78SenamiSUBDIR+=	v7fs
2061.25ShaadSUBDIR+=	vnd
2071.157SpgoyetteSUBDIR+=	wapbl
2081.193SpgoyetteSUBDIR+=	wsbell
2091.131SpgoyetteSUBDIR+=	zlib
2101.29SyamtSUBDIR+=	tprof
2111.7Srumble.if (defined(NOTYET))
2121.7SrumbleSUBDIR+=	unionfs
2131.7Srumble.endif
2141.37Sdyoung.if ${MKBINUTILS} != "no"
2151.37SdyoungSUBDIR+=	xldscripts
2161.37Sdyoung.endif
2171.7Srumble
2181.15Sad# Machine dependent section
2191.47Stsutsui.if ${MACHINE_ARCH} == "i386" || \
2201.49Stsutsui    ${MACHINE_CPU} == "m68k"
2211.47StsutsuiSUBDIR+=	exec_aout
2221.47Stsutsui.endif
2231.47Stsutsui
2241.169Sscole.if ${MACHINE_ARCH} != "alpha" && \
2251.169Sscole    ${MACHINE_ARCH} != "ia64"
2261.17SmartinSUBDIR+=	exec_elf32
2271.17Smartin.endif
2281.15Sad
2291.139Smatt.if ${MACHINE_CPU} == "aarch64" || \
2301.139Smatt    ${MACHINE_ARCH} == "alpha" || \
2311.169Sscole    ${MACHINE_ARCH} == "ia64" || \
2321.278Sskrll    ${MACHINE_ARCH} == "riscv64" || \
2331.21Stsutsui    ${MACHINE_ARCH} == "sparc64" || \
2341.21Stsutsui    ${MACHINE_ARCH} == "x86_64"
2351.20SheSUBDIR+=	exec_elf64
2361.20She.endif
2371.20She
2381.29Syamt.if ${MACHINE_ARCH} == "i386" || \
2391.29Syamt    ${MACHINE_ARCH} == "x86_64"
2401.199SpgoyetteSUBDIR+=	amdsmn
2411.71SjruohoSUBDIR+=	amdtemp
2421.199SpgoyetteSUBDIR+=	amdzentemp
2431.64SjruohoSUBDIR+=	coretemp
2441.65SjruohoSUBDIR+=	est
2451.110SmartinSUBDIR+=	hdafg
2461.110SmartinSUBDIR+=	hdaudio
2471.144SjmcneillSUBDIR+=	hdaudio_pci
2481.141SchristosSUBDIR+=	hdaudioverbose
2491.72SjruohoSUBDIR+=	hpet
2501.202SpgoyetteSUBDIR+=	ichsmb
2511.69SjruohoSUBDIR+=	odcm
2521.66SjruohoSUBDIR+=	powernow
2531.150SpgoyetteSUBDIR+=	tco
2541.207SmaxvSUBDIR+=	tprof_x86
2551.286Spho.endif
2561.286Spho
2571.286Spho.if ${MACHINE_CPU} == "aarch64" || \
2581.286Spho    ${MACHINE_ARCH} == "i386" || \
2591.286Spho    ${MACHINE_ARCH} == "x86_64"
2601.95SjmcneillSUBDIR+=	vmt
2611.29Syamt.endif
2621.29Syamt
2631.246Sjmcneill.if ${HAVE_NVMM:Uno} == "yes"
2641.210SmaxvSUBDIR+=	nvmm
2651.210Smaxv.endif
2661.210Smaxv
2671.240Sskrll# Builds on architectures with PCI bus
2681.240Sskrll.if \
2691.242Sskrll     ${MACHINE} == "evbarm" || \
2701.240Sskrll     ${MACHINE_ARCH} == "i386" || \
2711.240Sskrll     ${MACHINE_ARCH} == "x86_64"
2721.241Sskrll#SUBDIR+=	hifn
2731.245SyamaguchSUBDIR+=	if_iavf
2741.240SskrllSUBDIR+=	if_ixl
2751.240SskrllSUBDIR+=	ubsec
2761.137Sbad.endif
2771.137Sbad
2781.126Salnsn.if ${MKSLJIT} != "no"
2791.113SalnsnSUBDIR+=	bpfjit
2801.112SalnsnSUBDIR+=	sljit
2811.112Salnsn.endif
2821.112Salnsn
2831.85Sjruoho#
2841.85Sjruoho# ACPI modules
2851.85Sjruoho#
2861.46Spgoyette.if ${MACHINE_ARCH} == "i386" || \
2871.46Spgoyette    ${MACHINE_ARCH} == "ia64" || \
2881.46Spgoyette    ${MACHINE_ARCH} == "x86_64"
2891.46SpgoyetteSUBDIR+=	acpiverbose
2901.46Spgoyette.endif
2911.46Spgoyette
2921.50Sjmcneill.if ${MACHINE_ARCH} == "i386" || \
2931.50Sjmcneill    ${MACHINE_ARCH} == "x86_64"
2941.52SjruohoSUBDIR+=	acpiacad
2951.52SjruohoSUBDIR+=	acpibat
2961.52SjruohoSUBDIR+=	acpibut
2971.52SjruohoSUBDIR+=	acpicpu
2981.53SjruohoSUBDIR+=	acpidalb
2991.58SjruohoSUBDIR+=	acpifan
3001.284SriastradSUBDIR+=	acpihed
3011.52SjruohoSUBDIR+=	acpilid
3021.57SjruohoSUBDIR+=	acpipmtr
3031.53SjruohoSUBDIR+=	acpitz
3041.53SjruohoSUBDIR+=	acpivga
3051.292SriastradSUBDIR+=	acpivmgenid
3061.86SjruohoSUBDIR+=	acpiwdrt
3071.51SjmcneillSUBDIR+=	acpiwmi
3081.53SjruohoSUBDIR+=	aibs
3091.283SriastradSUBDIR+=	apei
3101.54SjruohoSUBDIR+=	asus
3111.63SjruohoSUBDIR+=	fujbp
3121.63SjruohoSUBDIR+=	fujhk
3131.75SjruohoSUBDIR+=	hpacel
3141.54SjruohoSUBDIR+=	hpqlb
3151.52SjruohoSUBDIR+=	thinkpad
3161.50SjmcneillSUBDIR+=	wmidell
3171.83SjruohoSUBDIR+=	wmieeepc
3181.50SjmcneillSUBDIR+=	wmihp
3191.50SjmcneillSUBDIR+=	wmimsi
3201.50Sjmcneill.endif
3211.50Sjmcneill
3221.218Smrg.include "${.CURDIR}/../compat/netbsd32/netbsd32.mk"
3231.218Smrg.if ${COMPAT_USE_NETBSD32} != "no"
3241.218Smrg
3251.151SmattSUBDIR+=	compat_netbsd32
3261.216SpgoyetteSUBDIR+=	compat_netbsd32_09	compat_netbsd32_12
3271.216SpgoyetteSUBDIR+=	compat_netbsd32_13	compat_netbsd32_16
3281.216SpgoyetteSUBDIR+=	compat_netbsd32_20	compat_netbsd32_30
3291.216SpgoyetteSUBDIR+=	compat_netbsd32_40	compat_netbsd32_50
3301.216SpgoyetteSUBDIR+=	compat_netbsd32_60	compat_netbsd32_80
3311.275SpgoyetteSUBDIR+=	compat_netbsd32_90	compat_netbsd32_100
3321.216SpgoyetteSUBDIR+=	compat_netbsd32_43
3331.248SpgoyetteSUBDIR+=	compat_netbsd32_coredump
3341.180SskrllSUBDIR+=	compat_netbsd32_mqueue
3351.158SpgoyetteSUBDIR+=	compat_netbsd32_nfssrv
3361.181SskrllSUBDIR+=	compat_netbsd32_ptrace
3371.243SpgoyetteSUBDIR+=	compat_netbsd32_quota
3381.243SpgoyetteSUBDIR+=	compat_netbsd32_quota_50
3391.243SpgoyetteSUBDIR+=	compat_netbsd32_raid
3401.162SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc
3411.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_10
3421.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_14
3431.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_50
3441.151Smatt
3451.27Sabs.if ${MACHINE_ARCH} == "x86_64"
3461.15SadSUBDIR+=	compat_linux32
3471.15Sad.endif
3481.15Sad
3491.218Smrg.endif
3501.218Smrg
3511.27Sabs.if ${MACHINE_ARCH} == "i386"
3521.90SjmcneillSUBDIR+=	ati_pcigart
3531.15SadSUBDIR+=	compat_freebsd
3541.90SjmcneillSUBDIR+=	mach64drm
3551.90SjmcneillSUBDIR+=	mgadrm
3561.76SjmcneillSUBDIR+=	nsclpcsio
3571.62SjmcneillSUBDIR+=	padlock
3581.90SjmcneillSUBDIR+=	r128drm
3591.281Spgoyette#SUBDIR+=	radeondrm
3601.90SjmcneillSUBDIR+=	savagedrm
3611.90SjmcneillSUBDIR+=	sisdrm
3621.90SjmcneillSUBDIR+=	tdfxdrm
3631.67SjruohoSUBDIR+=	viac7temp
3641.15Sad.endif
3651.15Sad
3661.142Schristos.if ${MACHINE_ARCH} == "i386" || \
3671.276Sriastrad    ${MACHINE_ARCH} == "x86_64" || \
3681.277Sriastrad    ${MACHINE_CPU} == "aarch64"
3691.269SriastradSUBDIR+=	amdgpu
3701.269SriastradSUBDIR+=	drmkms
3711.269SriastradSUBDIR+=	drmkms_linux
3721.269SriastradSUBDIR+=	drmkms_pci
3731.269SriastradSUBDIR+=	drmkms_sched
3741.269SriastradSUBDIR+=	drmkms_ttm
3751.276Sriastrad.endif
3761.276Sriastrad
3771.276Sriastrad.if ${MACHINE_ARCH} == "i386" || \
3781.276Sriastrad    ${MACHINE_ARCH} == "x86_64"
3791.276SriastradSUBDIR+=	drm
3801.276SriastradSUBDIR+=	compat_linux
3811.276SriastradSUBDIR+=	drmkms_agp
3821.142SchristosSUBDIR+=	i915drm
3831.269SriastradSUBDIR+=	i915drmkms
3841.279SandvarSUBDIR+=	viadrmums
3851.85Sjruoho#
3861.85Sjruoho# ISA modules
3871.85Sjruoho#
3881.59SjmcneillSUBDIR+=	aps
3891.80SjmcneillSUBDIR+=	finsio
3901.79SjmcneillSUBDIR+=	itesio
3911.101SjakllschSUBDIR+=	lm
3921.101SjakllschSUBDIR+=	lm_isa
3931.101SjakllschSUBDIR+=	lm_isa_common
3941.101SjakllschSUBDIR+=	lm_wbsio
3951.101SjakllschSUBDIR+=	wbsio
3961.56Sjmcneill.endif
3971.56Sjmcneill
3981.258Sryo.if ${MACHINE_CPU} == "aarch64"
3991.258SryoSUBDIR+=	compat_linux
4001.261SryoSUBDIR+=	compat_linux32
4011.258Sryo.endif
4021.258Sryo
4031.49Stsutsui.if ${MACHINE_CPU} == "m68k"
4041.47StsutsuiSUBDIR+=	compat_aoutm68k
4051.47Stsutsui#SUBDIR+=	compat_linux
4061.47Stsutsui#SUBDIR+=	compat_sunos
4071.47Stsutsui.endif
4081.47Stsutsui
4091.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
4101.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
4111.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
4121.88SmbalmerSUBDIR+=	pwdog
4131.88Smbalmer.endif
4141.88Smbalmer
4151.23Sagc.include <bsd.own.mk>
4161.23Sagc
4171.107Sreinoud#
4181.107Sreinoud# NetBSD/usermode support
4191.107Sreinoud#
4201.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
4211.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
4221.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
4231.107Sreinoud.endif
4241.107Sreinoud
4251.23Sagc# we need our device mapper for LVM
4261.23Sagc.if (${MKLVM} != "no")
4271.28SyamtSUBDIR+= 	dm
4281.23Sagc.endif
4291.23Sagc
4301.39Sdarran.if (${MKDTRACE} != "no")
4311.116SchsSUBDIR+=	cyclic
4321.39SdarranSUBDIR+=	dtrace
4331.39Sdarran.endif
4341.39Sdarran
4351.252SchristosSUBDIR+=        sodium
4361.252Schristos
4371.39Sdarran# we need solaris for the dtrace and zfs modules
4381.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
4391.39SdarranSUBDIR+=        solaris
4401.39Sdarran.endif
4411.39Sdarran
4421.34Shaad.if (${MKZFS} != "no")
4431.34ShaadSUBDIR+=	zfs
4441.34Shaad.endif
4451.34Shaad
4461.73Smrg.if (${MKCOMPATMODULES} != "no")
4471.73SmrgSUBDIR+=	arch
4481.73Smrg.endif
4491.73Smrg
4501.84Sjmcneill#
4511.84Sjmcneill# DTV modules
4521.84Sjmcneill#
4531.84SjmcneillSUBDIR+=	dtv
4541.84SjmcneillSUBDIR+=	dtv_math
4551.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
4561.84Sjmcneill# tuners/demods
4571.84SjmcneillSUBDIR+=	au8522
4581.84SjmcneillSUBDIR+=	cx24227
4591.84SjmcneillSUBDIR+=	lg3303
4601.84SjmcneillSUBDIR+=	mt2131
4611.84SjmcneillSUBDIR+=	nxt2k
4621.84SjmcneillSUBDIR+=	tvpll
4631.84SjmcneillSUBDIR+=	xc3028
4641.84SjmcneillSUBDIR+=	xc5k
4651.91SjruohoSUBDIR+=	zl10353
4661.84Sjmcneill# hardware drivers
4671.84SjmcneillSUBDIR+=	auvitek
4681.84SjmcneillSUBDIR+=	coram
4691.84SjmcneillSUBDIR+=	cxdtv
4701.84SjmcneillSUBDIR+=	emdtv
4711.200Spgoyette
4721.200Spgoyette# Intel Integrated Memory Controller and associated SMBus
4731.200Spgoyette# (Experimental)
4741.200SpgoyetteSUBDIR+=	imc
4751.200SpgoyetteSUBDIR+=	imcsmb
4761.200Spgoyette
4771.84Sjmcneill.endif
4781.84Sjmcneill
4791.98Sriz.if (${MKISCSI} != "no")
4801.98SrizSUBDIR+=	iscsi
4811.98Sriz.endif
4821.98Sriz
4831.297Spgoyette# For now, all of these are  built but not installed, pending resolution
4841.297Spgoyette# of how to deal with attachment- and bus-specific modules (as opposed
4851.179Spgoyette# to machine- or architecture-specific modules)
4861.179Spgoyette
4871.179Spgoyette.if 0
4881.179SpgoyetteSUBDIR+=	aac
4891.179SpgoyetteSUBDIR+=	amr
4901.179SpgoyetteSUBDIR+=	ataraid
4911.179SpgoyetteSUBDIR+=	cac
4921.297Spgoyette#SUBDIR+=	cac_eisa
4931.297Spgoyette#SUBDIR+=	cac_pci
4941.271SmartinSUBDIR+=	emuxki
4951.234SryoSUBDIR+=	if_aq
4961.298SpgoyetteSUBDIR+=	if_igc
4971.297SpgoyetteSUBDIR+=	if_rge
4981.179SpgoyetteSUBDIR+=	if_vioif
4991.247SryoSUBDIR+=	if_vmx
5001.179SpgoyetteSUBDIR+=	ld
5011.179SpgoyetteSUBDIR+=	ld_aac
5021.179SpgoyetteSUBDIR+=	ld_amr
5031.179SpgoyetteSUBDIR+=	ld_ataraid
5041.179SpgoyetteSUBDIR+=	ld_cac
5051.179SpgoyetteSUBDIR+=	ld_icp
5061.179SpgoyetteSUBDIR+=	ld_mlx
5071.179SpgoyetteSUBDIR+=	ld_sdmmc
5081.179SpgoyetteSUBDIR+=	ld_twa
5091.179SpgoyetteSUBDIR+=	ld_twe
5101.179SpgoyetteSUBDIR+=	ld_virtio
5111.297Spgoyette#SUBDIR+=	mlx
5121.297Spgoyette#SUBDIR+=	mlx_eisa
5131.179SpgoyetteSUBDIR+=	mlx_pci
5141.179SpgoyetteSUBDIR+=	ld_nvme
5151.179SpgoyetteSUBDIR+=	nvme
5161.179SpgoyetteSUBDIR+=	twa
5171.179SpgoyetteSUBDIR+=	twe
5181.228SozakiSUBDIR+=	vio9p
5191.179SpgoyetteSUBDIR+=	viomb
5201.179SpgoyetteSUBDIR+=	virtio
5211.205SjakllschSUBDIR+=	virtio_pci
5221.190SjdolecekSUBDIR+=	vioscsi
5231.179Spgoyette.endif
5241.179Spgoyette
5251.154SpgoyetteSUBDIR+=	examples	# build these regularly to avoid bit-rot
5261.154Spgoyette
5271.282Smrg.endif
5281.282Smrg
5291.1Sad.include <bsd.subdir.mk>
530