Makefile revision 1.292
11.292Sriastrad#	$NetBSD: Makefile,v 1.292 2024/08/26 13:38:28 riastradh 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.292SriastradSUBDIR+=	acpivmgenid
3021.86SjruohoSUBDIR+=	acpiwdrt
3031.51SjmcneillSUBDIR+=	acpiwmi
3041.53SjruohoSUBDIR+=	aibs
3051.283SriastradSUBDIR+=	apei
3061.54SjruohoSUBDIR+=	asus
3071.63SjruohoSUBDIR+=	fujbp
3081.63SjruohoSUBDIR+=	fujhk
3091.75SjruohoSUBDIR+=	hpacel
3101.54SjruohoSUBDIR+=	hpqlb
3111.52SjruohoSUBDIR+=	thinkpad
3121.50SjmcneillSUBDIR+=	wmidell
3131.83SjruohoSUBDIR+=	wmieeepc
3141.50SjmcneillSUBDIR+=	wmihp
3151.50SjmcneillSUBDIR+=	wmimsi
3161.50Sjmcneill.endif
3171.50Sjmcneill
3181.218Smrg.include "${.CURDIR}/../compat/netbsd32/netbsd32.mk"
3191.218Smrg.if ${COMPAT_USE_NETBSD32} != "no"
3201.218Smrg
3211.151SmattSUBDIR+=	compat_netbsd32
3221.216SpgoyetteSUBDIR+=	compat_netbsd32_09	compat_netbsd32_12
3231.216SpgoyetteSUBDIR+=	compat_netbsd32_13	compat_netbsd32_16
3241.216SpgoyetteSUBDIR+=	compat_netbsd32_20	compat_netbsd32_30
3251.216SpgoyetteSUBDIR+=	compat_netbsd32_40	compat_netbsd32_50
3261.216SpgoyetteSUBDIR+=	compat_netbsd32_60	compat_netbsd32_80
3271.275SpgoyetteSUBDIR+=	compat_netbsd32_90	compat_netbsd32_100
3281.216SpgoyetteSUBDIR+=	compat_netbsd32_43
3291.248SpgoyetteSUBDIR+=	compat_netbsd32_coredump
3301.180SskrllSUBDIR+=	compat_netbsd32_mqueue
3311.158SpgoyetteSUBDIR+=	compat_netbsd32_nfssrv
3321.181SskrllSUBDIR+=	compat_netbsd32_ptrace
3331.243SpgoyetteSUBDIR+=	compat_netbsd32_quota
3341.243SpgoyetteSUBDIR+=	compat_netbsd32_quota_50
3351.243SpgoyetteSUBDIR+=	compat_netbsd32_raid
3361.162SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc
3371.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_10
3381.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_14
3391.216SpgoyetteSUBDIR+=	compat_netbsd32_sysvipc_50
3401.151Smatt
3411.27Sabs.if ${MACHINE_ARCH} == "x86_64"
3421.15SadSUBDIR+=	compat_linux32
3431.15Sad.endif
3441.15Sad
3451.218Smrg.endif
3461.218Smrg
3471.27Sabs.if ${MACHINE_ARCH} == "i386"
3481.90SjmcneillSUBDIR+=	ati_pcigart
3491.15SadSUBDIR+=	compat_freebsd
3501.90SjmcneillSUBDIR+=	mach64drm
3511.90SjmcneillSUBDIR+=	mgadrm
3521.76SjmcneillSUBDIR+=	nsclpcsio
3531.62SjmcneillSUBDIR+=	padlock
3541.90SjmcneillSUBDIR+=	r128drm
3551.281Spgoyette#SUBDIR+=	radeondrm
3561.90SjmcneillSUBDIR+=	savagedrm
3571.90SjmcneillSUBDIR+=	sisdrm
3581.90SjmcneillSUBDIR+=	tdfxdrm
3591.67SjruohoSUBDIR+=	viac7temp
3601.15Sad.endif
3611.15Sad
3621.142Schristos.if ${MACHINE_ARCH} == "i386" || \
3631.276Sriastrad    ${MACHINE_ARCH} == "x86_64" || \
3641.277Sriastrad    ${MACHINE_CPU} == "aarch64"
3651.269SriastradSUBDIR+=	amdgpu
3661.269SriastradSUBDIR+=	drmkms
3671.269SriastradSUBDIR+=	drmkms_linux
3681.269SriastradSUBDIR+=	drmkms_pci
3691.269SriastradSUBDIR+=	drmkms_sched
3701.269SriastradSUBDIR+=	drmkms_ttm
3711.276Sriastrad.endif
3721.276Sriastrad
3731.276Sriastrad.if ${MACHINE_ARCH} == "i386" || \
3741.276Sriastrad    ${MACHINE_ARCH} == "x86_64"
3751.276SriastradSUBDIR+=	drm
3761.276SriastradSUBDIR+=	compat_linux
3771.276SriastradSUBDIR+=	drmkms_agp
3781.142SchristosSUBDIR+=	i915drm
3791.269SriastradSUBDIR+=	i915drmkms
3801.279SandvarSUBDIR+=	viadrmums
3811.85Sjruoho#
3821.85Sjruoho# ISA modules
3831.85Sjruoho#
3841.59SjmcneillSUBDIR+=	aps
3851.80SjmcneillSUBDIR+=	finsio
3861.79SjmcneillSUBDIR+=	itesio
3871.101SjakllschSUBDIR+=	lm
3881.101SjakllschSUBDIR+=	lm_isa
3891.101SjakllschSUBDIR+=	lm_isa_common
3901.101SjakllschSUBDIR+=	lm_wbsio
3911.101SjakllschSUBDIR+=	wbsio
3921.56Sjmcneill.endif
3931.56Sjmcneill
3941.258Sryo.if ${MACHINE_CPU} == "aarch64"
3951.258SryoSUBDIR+=	compat_linux
3961.261SryoSUBDIR+=	compat_linux32
3971.258Sryo.endif
3981.258Sryo
3991.49Stsutsui.if ${MACHINE_CPU} == "m68k"
4001.47StsutsuiSUBDIR+=	compat_aoutm68k
4011.47Stsutsui#SUBDIR+=	compat_linux
4021.47Stsutsui#SUBDIR+=	compat_sunos
4031.47Stsutsui.endif
4041.47Stsutsui
4051.88Smbalmer.if ${MACHINE_ARCH} == "i386" || \
4061.88Smbalmer    ${MACHINE_ARCH} == "x86_64" || \
4071.88Smbalmer    ${MACHINE_ARCH} == "sparc64"
4081.88SmbalmerSUBDIR+=	pwdog
4091.88Smbalmer.endif
4101.88Smbalmer
4111.23Sagc.include <bsd.own.mk>
4121.23Sagc
4131.107Sreinoud#
4141.107Sreinoud# NetBSD/usermode support
4151.107Sreinoud#
4161.107Sreinoud.if ${MACHINE_ARCH} == "i386" || \
4171.107Sreinoud    ${MACHINE_ARCH} == "x86_64"
4181.107SreinoudSUBDIR+=	../arch/usermode/modules/syscallemu
4191.107Sreinoud.endif
4201.107Sreinoud
4211.23Sagc# we need our device mapper for LVM
4221.23Sagc.if (${MKLVM} != "no")
4231.28SyamtSUBDIR+= 	dm
4241.23Sagc.endif
4251.23Sagc
4261.39Sdarran.if (${MKDTRACE} != "no")
4271.116SchsSUBDIR+=	cyclic
4281.39SdarranSUBDIR+=	dtrace
4291.39Sdarran.endif
4301.39Sdarran
4311.252SchristosSUBDIR+=        sodium
4321.252Schristos
4331.39Sdarran# we need solaris for the dtrace and zfs modules
4341.39Sdarran.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
4351.39SdarranSUBDIR+=        solaris
4361.39Sdarran.endif
4371.39Sdarran
4381.34Shaad.if (${MKZFS} != "no")
4391.34ShaadSUBDIR+=	zfs
4401.34Shaad.endif
4411.34Shaad
4421.73Smrg.if (${MKCOMPATMODULES} != "no")
4431.73SmrgSUBDIR+=	arch
4441.73Smrg.endif
4451.73Smrg
4461.84Sjmcneill#
4471.84Sjmcneill# DTV modules
4481.84Sjmcneill#
4491.84SjmcneillSUBDIR+=	dtv
4501.84SjmcneillSUBDIR+=	dtv_math
4511.84Sjmcneill.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
4521.84Sjmcneill# tuners/demods
4531.84SjmcneillSUBDIR+=	au8522
4541.84SjmcneillSUBDIR+=	cx24227
4551.84SjmcneillSUBDIR+=	lg3303
4561.84SjmcneillSUBDIR+=	mt2131
4571.84SjmcneillSUBDIR+=	nxt2k
4581.84SjmcneillSUBDIR+=	tvpll
4591.84SjmcneillSUBDIR+=	xc3028
4601.84SjmcneillSUBDIR+=	xc5k
4611.91SjruohoSUBDIR+=	zl10353
4621.84Sjmcneill# hardware drivers
4631.84SjmcneillSUBDIR+=	auvitek
4641.84SjmcneillSUBDIR+=	coram
4651.84SjmcneillSUBDIR+=	cxdtv
4661.84SjmcneillSUBDIR+=	emdtv
4671.200Spgoyette
4681.200Spgoyette# Intel Integrated Memory Controller and associated SMBus
4691.200Spgoyette# (Experimental)
4701.200SpgoyetteSUBDIR+=	imc
4711.200SpgoyetteSUBDIR+=	imcsmb
4721.200Spgoyette
4731.84Sjmcneill.endif
4741.84Sjmcneill
4751.98Sriz.if (${MKISCSI} != "no")
4761.98SrizSUBDIR+=	iscsi
4771.98Sriz.endif
4781.98Sriz
4791.179Spgoyette# For now, all of these are disabled, pending resolution of how to deal
4801.179Spgoyette# with attachment-specific modules and bus-specific modules (as opposed
4811.179Spgoyette# to machine- or architecture-specific modules)
4821.179Spgoyette
4831.179Spgoyette.if 0
4841.179SpgoyetteSUBDIR+=	aac
4851.179SpgoyetteSUBDIR+=	amr
4861.179SpgoyetteSUBDIR+=	ataraid
4871.179SpgoyetteSUBDIR+=	cac
4881.179SpgoyetteSUBDIR+=	cac_eisa
4891.179SpgoyetteSUBDIR+=	cac_pci
4901.271SmartinSUBDIR+=	emuxki
4911.234SryoSUBDIR+=	if_aq
4921.179SpgoyetteSUBDIR+=	if_vioif
4931.247SryoSUBDIR+=	if_vmx
4941.179SpgoyetteSUBDIR+=	ld
4951.179SpgoyetteSUBDIR+=	ld_aac
4961.179SpgoyetteSUBDIR+=	ld_amr
4971.179SpgoyetteSUBDIR+=	ld_ataraid
4981.179SpgoyetteSUBDIR+=	ld_cac
4991.179SpgoyetteSUBDIR+=	ld_icp
5001.179SpgoyetteSUBDIR+=	ld_mlx
5011.179SpgoyetteSUBDIR+=	ld_sdmmc
5021.179SpgoyetteSUBDIR+=	ld_twa
5031.179SpgoyetteSUBDIR+=	ld_twe
5041.179SpgoyetteSUBDIR+=	ld_virtio
5051.179SpgoyetteSUBDIR+=	mlx
5061.179SpgoyetteSUBDIR+=	mlx_eisa
5071.179SpgoyetteSUBDIR+=	mlx_pci
5081.179SpgoyetteSUBDIR+=	ld_nvme
5091.179SpgoyetteSUBDIR+=	nvme
5101.179SpgoyetteSUBDIR+=	twa
5111.179SpgoyetteSUBDIR+=	twe
5121.228SozakiSUBDIR+=	vio9p
5131.179SpgoyetteSUBDIR+=	viomb
5141.179SpgoyetteSUBDIR+=	virtio
5151.205SjakllschSUBDIR+=	virtio_pci
5161.190SjdolecekSUBDIR+=	vioscsi
5171.179Spgoyette.endif
5181.179Spgoyette
5191.154SpgoyetteSUBDIR+=	examples	# build these regularly to avoid bit-rot
5201.154Spgoyette
5211.282Smrg.endif
5221.282Smrg
5231.1Sad.include <bsd.subdir.mk>
524