xref: /trueos/sys/modules/Makefile (revision 457c1f91fcc29c106922f75cac0e7dec84f0b89c)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5SUBDIR_PARALLEL=
6
7# Modules that include binary-only blobs of microcode should be selectable by
8# MK_SOURCELESS_UCODE option (see below).
9
10SUBDIR=	\
11	${_3dfx} \
12	${_3dfx_linux} \
13	${_aac} \
14	${_aacraid} \
15	accf_data \
16	accf_dns \
17	accf_http \
18	acl_nfs4 \
19	acl_posix1e \
20	${_acpi} \
21	ae \
22	${_aesni} \
23	age \
24	${_agp} \
25	aha \
26	${_ahb} \
27	ahci \
28	${_aic} \
29	aic7xxx \
30	aio \
31	alc \
32	ale \
33	alq \
34	${_amdsbwd} \
35	${_amdtemp} \
36	amr \
37	${_an} \
38	${_aout} \
39	${_apm} \
40	${_arcmsr} \
41	${_arcnet} \
42	${_asmc} \
43	${_asr} \
44	ata \
45	ath \
46	ath_pci \
47	${_autofs} \
48	${_auxio} \
49	${_bce} \
50	bfe \
51	bge \
52	${_bxe} \
53	${_bios} \
54	${_bktr} \
55	${_bm} \
56	bridgestp \
57	bwi \
58	bwn \
59	cam \
60	${_canbepm} \
61	${_canbus} \
62	${_cardbus} \
63	${_carp} \
64	cas \
65	${_cbb} \
66	cc \
67	cd9660 \
68	cd9660_iconv \
69	${_ce} \
70	${_cfi} \
71	${_ciss} \
72	${_cm} \
73	${_cmx} \
74	${_coff} \
75	${_coretemp} \
76	${_cp} \
77	${_cpsw} \
78	${_cpuctl} \
79	${_cpufreq} \
80	${_crypto} \
81	${_cryptodev} \
82	${_cs} \
83	${_ct} \
84	${_ctau} \
85	ctl \
86	${_cxgb} \
87	${_cxgbe} \
88	dc \
89	dcons \
90	dcons_crom \
91	de \
92	${_dpms} \
93	${_dpt} \
94	${_drm} \
95	${_drm2} \
96	${_dtrace} \
97	dummynet \
98	${_ed} \
99	${_elink} \
100	${_em} \
101	en \
102	${_ep} \
103	${_epic} \
104	esp \
105	${_et} \
106	${_ex} \
107	${_exca} \
108	${_ext2fs} \
109	${_fatm} \
110	fdc \
111	fdescfs \
112	${_fe} \
113	${_filemon} \
114	firewire \
115	firmware \
116	fuse \
117	${_fxp} \
118	gem \
119	geom \
120	${_glxiic} \
121	${_glxsb} \
122	hatm \
123	hifn \
124	hme \
125	${_hpt27xx} \
126	${_hptiop} \
127	${_hptmv} \
128	${_hptnr} \
129	${_hptrr} \
130	hwpmc \
131	${_hyperv} \
132	${_i2c} \
133        ${_ibcore} \
134	${_ibcs2} \
135	${_ichwd} \
136	${_ida} \
137	${_ie} \
138	if_bridge \
139	if_disc \
140	if_edsc \
141	if_ef \
142	if_epair \
143	if_faith \
144	${_if_gif} \
145	${_if_gre} \
146	${_if_me} \
147	if_lagg \
148	${_if_ndis} \
149	if_stf \
150	if_tap \
151	if_tun \
152	if_vlan \
153	${_igb} \
154	${_iir} \
155	${_imgact_binmisc} \
156	${_io} \
157        ${_ipoib} \
158	${_ipdivert} \
159	${_ipfilter} \
160	${_ipfw} \
161	ipfw_nat \
162	${_ipmi} \
163	ip6_mroute_mod \
164	ip_mroute_mod \
165	${_ips} \
166	${_ipw} \
167	${_ipwfw} \
168	${_isci} \
169	isp \
170	${_ispfw} \
171	${_iwi} \
172	${_iwifw} \
173	${_iwn} \
174	${_iwnfw} \
175	${_ix} \
176	${_ixv} \
177	${_ixgb} \
178	${_ixgbe} \
179	${_ixl} \
180	${_ixlv} \
181	jme \
182	joy \
183	kbdmux \
184	kgssapi \
185	kgssapi_krb5 \
186	khelp \
187	krpc \
188	ksyms \
189	le \
190	lge \
191	libalias \
192	libiconv \
193	libmbpool \
194	libmchain \
195	${_lindev} \
196	${_linprocfs} \
197	${_linsysfs} \
198	${_linux} \
199	lmc \
200	lpt \
201	mac_biba \
202	mac_bsdextended \
203	mac_ifoff \
204	mac_lomac \
205	mac_mls \
206	mac_none \
207	mac_partition \
208	mac_portacl \
209	mac_seeotheruids \
210	mac_stub \
211	mac_test \
212	mach \
213	malo \
214	mcd \
215	md \
216	mem \
217	mfi \
218	mii \
219	mlx \
220	${_mlx4} \
221	${_mlx4ib} \
222	${_mlxen} \
223	${_mly} \
224	mmc \
225	mmcsd \
226	mpr \
227	mps \
228	mpt \
229	mqueue \
230	mrsas \
231	msdosfs \
232	msdosfs_iconv \
233	${_mse} \
234	msk \
235	${_mthca} \
236	mvs \
237	mwl \
238	${_mwlfw} \
239	mxge \
240	my \
241	${_nandfs} \
242	${_nandsim} \
243	${_ncp} \
244	${_ncv} \
245	${_ndis} \
246	netfpga10g \
247	${_netgraph} \
248	${_nfe} \
249	nfs_common \
250	nfscl \
251	nfsclient \
252	nfscommon \
253	nfsd \
254	nfslock \
255	nfslockd \
256	nfsserver \
257	nfssvc \
258	nge \
259	nmdm \
260	${_nsp} \
261	nullfs \
262	${_ntb} \
263	${_nvd} \
264	${_nve} \
265	${_nvme} \
266	${_nvram} \
267	${_nxge} \
268	${_opensolaris} \
269	oce \
270	${_padlock} \
271	patm \
272	${_pccard} \
273	${_pcfclock} \
274	pcn \
275	${_pf} \
276	${_pflog} \
277	${_pfsync} \
278	plip \
279	${_pmc} \
280	ppbus \
281	ppc \
282	ppi \
283	pps \
284	procfs \
285	pseudofs \
286	${_pst} \
287	pty  \
288	puc \
289	${_qlxge} \
290	${_qlxgb} \
291	${_qlxgbe} \
292	ral \
293	${_ralfw} \
294	${_random} \
295	rc4 \
296	${_rdma} \
297	re \
298	reiserfs \
299	rl \
300	${_s3} \
301	${_safe} \
302	${_sbni} \
303	scc \
304	scd \
305	${_scsi_low} \
306	sdhci \
307	sdhci_pci \
308	sem \
309	send \
310	${_sf} \
311	${_sfxge} \
312	sge \
313	siba_bwn \
314	siftr \
315	siis \
316	sis \
317	sk \
318	${_smbfs} \
319	${_sn} \
320	${_snc} \
321	snp \
322	${_sound} \
323	${_speaker} \
324	${_splash} \
325	${_sppp} \
326	ste \
327	${_stg} \
328	stge \
329	${_streams} \
330	${_svr4} \
331	${_sym} \
332	${_syscons} \
333	sysvipc \
334	${_ti} \
335	tl \
336	tmpfs \
337	${_toecore} \
338	${_tpm} \
339	trm \
340	${_twa} \
341	twe \
342	tws \
343	tx \
344	${_txp} \
345	uart \
346	ubsec \
347	udf \
348	udf_iconv \
349	ufs \
350	unionfs \
351	usb \
352	utopia \
353	${_vesa} \
354	${_virtio} \
355	vge \
356	${_viawd} \
357	vkbd \
358	${_vmm} \
359	${_vmware} \
360	${_vpo} \
361	vr \
362	vte \
363	vx \
364	${_vxge} \
365	wb \
366	${_wbwd} \
367	${_wi} \
368	wlan \
369	wlan_acl \
370	wlan_amrr \
371	wlan_ccmp \
372	wlan_rssadapt \
373	wlan_tkip \
374	wlan_wep \
375	wlan_xauth \
376	${_wpi} \
377	${_wpifw} \
378	${_x86bios} \
379	${_xe} \
380	xl \
381	${_zfs} \
382	zlib \
383
384.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
385_filemon=	filemon
386_imgact_binmisc=	imgact_binmisc
387_vmware=	vmware
388.endif
389
390.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \
391	${MACHINE_CPUARCH} != "mips"
392_syscons=	syscons
393_vpo=		vpo
394.endif
395
396.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
397# no BUS_SPACE_UNSPECIFIED
398# No barrier instruction support (specific to this driver)
399_sym=		sym
400# intr_disable() is a macro, causes problems
401.if ${MK_SOURCELESS_UCODE} != "no"
402_cxgb=		cxgb
403.endif
404.endif
405
406.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \
407	${MACHINE_ARCH:C/mips(el)?/mips/} != "mips" && \
408	${MACHINE_ARCH} != "powerpc"
409_cxgbe=		cxgbe
410.endif
411
412.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES)
413_autofs=	autofs
414.endif
415
416.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
417.if exists(${.CURDIR}/../opencrypto)
418_crypto=	crypto
419_cryptodev=	cryptodev
420.endif
421.if exists(${.CURDIR}/../crypto)
422_random=	random
423.endif
424.endif
425
426.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
427	defined(ALL_MODULES)
428_carp=	carp
429_toecore=	toecore
430_if_gif=	if_gif
431_if_gre=	if_gre
432.endif
433
434.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)
435_if_me=		if_me
436.endif
437
438.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
439_ipfilter=	ipfilter
440.endif
441
442.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)
443_ipdivert=	ipdivert
444_ipfw=		ipfw
445.endif
446
447.if ${MK_ISCSI} != "no" || defined(ALL_MODULES)
448SUBDIR+=	iscsi
449SUBDIR+=	iscsi_initiator
450.endif
451
452.if ${MK_NAND} != "no" || defined(ALL_MODULES)
453_nandfs=	nandfs
454_nandsim=	nandsim
455.endif
456
457.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
458_netgraph=	netgraph
459.endif
460
461.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \
462	${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES)
463_pf=		pf
464_pflog=		pflog
465.if ${MK_INET_SUPPORT} != "no"
466_pfsync=	pfsync
467.endif
468.endif
469
470.if ${MK_SOURCELESS_UCODE} != "no"
471_bce=		bce
472_fatm=		fatm
473_fxp=		fxp
474_ispfw=		ispfw
475_mwlfw=		mwlfw
476_ralfw=		ralfw
477_sf=		sf
478_sn=		sn
479_ti=		ti
480_txp=		txp
481.endif
482
483.if ${MACHINE_CPUARCH} == "i386"
484# XXX some of these can move to the general case when de-i386'ed
485# XXX some of these can move now, but are untested on other architectures.
486_3dfx=		3dfx
487_3dfx_linux=	3dfx_linux
488_agp=		agp
489_aic=		aic
490_an=		an
491_aout=		aout
492_apm=		apm
493_arcnet=	arcnet
494_bktr=		bktr
495_bxe=		bxe
496_cardbus=	cardbus
497_cbb=		cbb
498.if ${MK_SOURCELESS_UCODE} != "no"
499_ce=		ce
500.endif
501_coff=		coff
502.if ${MK_SOURCELESS_UCODE} != "no"
503_cp=		cp
504.endif
505_cpuctl=	cpuctl
506_cpufreq=	cpufreq
507_cs=		cs
508_dpms=		dpms
509_drm=		drm
510_drm2=		drm2
511.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
512_dtrace=	dtrace
513.endif
514_ed=		ed
515_elink=		elink
516_em=		em
517_ep=		ep
518_et=		et
519_exca=		exca
520_ext2fs=	ext2fs
521_fe=		fe
522_glxiic=	glxiic
523_glxsb=		glxsb
524_i2c=		i2c
525.if ${MK_OFED} != "no" || defined(ALL_MODULES)
526_ibcore=        ibcore
527.endif
528_ibcs2=		ibcs2
529_ie=		ie
530_if_ndis=	if_ndis
531_igb=		igb
532_io=		io
533.if ${MK_OFED} != "no" || defined(ALL_MODULES)
534_ipoib=         ipoib
535.endif
536_lindev=	lindev
537_linprocfs=	linprocfs
538_linsysfs=	linsysfs
539_linux=		linux
540_mse=		mse
541.if ${MK_OFED} != "no" || defined(ALL_MODULES)
542_mlx4=		mlx4
543_mlx4ib=	mlx4ib
544_mlxen=		mlxen
545_mthca=		mthca
546.endif
547_ncv=		ncv
548_ndis=		ndis
549_nsp=		nsp
550.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
551_opensolaris=	opensolaris
552.endif
553_pccard=	pccard
554_pcfclock=	pcfclock
555_pst=		pst
556_rdma=		rdma
557_safe=		safe
558_sbni=		sbni
559_scsi_low=	scsi_low
560_smbfs=		smbfs
561_sound=		sound
562_speaker=	speaker
563_splash=	splash
564_sppp=		sppp
565_stg=		stg
566_streams=	streams
567_svr4=		svr4
568_vxge=  	vxge
569_wbwd=		wbwd
570_wi=		wi
571_xe=		xe
572.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
573_zfs=		zfs
574.endif
575.if ${MACHINE} == "i386"
576_aac=		aac
577_aacraid=	aacraid
578_acpi=		acpi
579.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
580_aesni=		aesni
581.endif
582_ahb=		ahb
583_amdsbwd=	amdsbwd
584_amdtemp=	amdtemp
585_arcmsr=	arcmsr
586_asmc=		asmc
587_asr=		asr
588_bios=		bios
589_ciss=		ciss
590_cm=		cm
591_cmx=		cmx
592_coretemp=	coretemp
593.if ${MK_SOURCELESS_UCODE} != "no"
594_ctau=		ctau
595.endif
596_dpt=		dpt
597_ex=		ex
598.if ${MK_SOURCELESS_HOST} != "no"
599_hpt27xx=	hpt27xx
600.endif
601_hptiop=	hptiop
602.if ${MK_SOURCELESS_HOST} != "no"
603_hptmv=		hptmv
604_hptnr=		hptnr
605_hptrr=		hptrr
606.endif
607_hyperv=	hyperv
608_ichwd=		ichwd
609_ida=		ida
610_iir=		iir
611_ipmi=		ipmi
612_ips=		ips
613_ipw=		ipw
614.if ${MK_SOURCELESS_UCODE} != "no"
615_ipwfw=		ipwfw
616.endif
617_isci=		isci
618_iwi=		iwi
619.if ${MK_SOURCELESS_UCODE} != "no"
620_iwifw=		iwifw
621.endif
622_iwn=		iwn
623.if ${MK_SOURCELESS_UCODE} != "no"
624_iwnfw=		iwnfw
625.endif
626_ix=		ix
627_ixv=		ixv
628_ixgb=		ixgb
629_ixgbe=		ixgbe
630_mly=		mly
631_nfe=		nfe
632_nvd=		nvd
633.if ${MK_SOURCELESS_HOST} != "no"
634_nve=		nve
635.endif
636_nvme=		nvme
637_nvram=		nvram
638_nxge=		nxge
639_tpm=		tpm
640_viawd=		viawd
641_wpi=		wpi
642.if ${MK_SOURCELESS_UCODE} != "no"
643_wpifw=		wpifw
644.endif
645.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
646_padlock=	padlock
647.endif
648_s3=		s3
649_twa=		twa
650_vesa=		vesa
651_virtio=	virtio
652_x86bios=	x86bios
653.elif ${MACHINE} == "pc98"
654_canbepm=	canbepm
655_canbus=	canbus
656_ct=		ct
657_pmc=		pmc
658_snc=		snc
659.endif
660.endif
661
662.if ${MACHINE_CPUARCH} == "amd64"
663_aac=		aac
664_aacraid=	aacraid
665_aout=		aout
666_acpi=		acpi
667.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
668_aesni=		aesni
669.endif
670_agp=		agp
671_an=		an
672_amdsbwd=	amdsbwd
673_amdtemp=	amdtemp
674_arcmsr=	arcmsr
675_asmc=		asmc
676_bktr=		bktr
677_bxe=		bxe
678_cardbus=	cardbus
679_cbb=		cbb
680_cmx=		cmx
681_ciss=		ciss
682_coretemp=	coretemp
683_cpuctl=	cpuctl
684_cpufreq=	cpufreq
685_dpms=		dpms
686_drm=		drm
687_drm2=		drm2
688.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
689_dtrace=	dtrace
690.endif
691_ed=		ed
692_et=		et
693_em=		em
694_exca=		exca
695_ext2fs=	ext2fs
696.if ${MK_SOURCELESS_HOST} != "no"
697_hpt27xx=	hpt27xx
698.endif
699_hptiop=	hptiop
700.if ${MK_SOURCELESS_HOST} != "no"
701_hptmv=		hptmv
702_hptnr=		hptnr
703_hptrr=		hptrr
704.endif
705_hyperv=	hyperv
706_i2c=		i2c
707.if ${MK_OFED} != "no" || defined(ALL_MODULES)
708_ibcore=        ibcore
709.endif
710_ichwd=		ichwd
711_ida=		ida
712_if_ndis=	if_ndis
713_igb=		igb
714_iir=		iir
715_io=		io
716_ipmi=		ipmi
717.if ${MK_OFED} != "no" || defined(ALL_MODULES)
718_ipoib=         ipoib
719.endif
720_ips=		ips
721_ipw=		ipw
722.if ${MK_SOURCELESS_UCODE} != "no"
723_ipwfw=		ipwfw
724.endif
725_isci=		isci
726_iwi=		iwi
727.if ${MK_SOURCELESS_UCODE} != "no"
728_iwifw=		iwifw
729.endif
730_iwn=		iwn
731.if ${MK_SOURCELESS_UCODE} != "no"
732_iwnfw=		iwnfw
733.endif
734_ix=		ix
735_ixv=		ixv
736_ixgb=		ixgb
737_ixgbe=		ixgbe
738_ixl=		ixl
739_ixlv=		ixlv
740_lindev=	lindev
741_linprocfs=	linprocfs
742_linsysfs=	linsysfs
743_linux=		linux
744_mly=		mly
745.if ${MK_OFED} != "no" || defined(ALL_MODULES)
746_mlx4=		mlx4
747_mlx4ib=	mlx4ib
748_mlxen=		mlxen
749_mthca=		mthca
750.endif
751_ndis=		ndis
752_nfe=		nfe
753# not really arch-specific but only building on amd64 for now
754_mach=		mach
755_ntb=		ntb
756_nvd=		nvd
757.if ${MK_SOURCELESS_HOST} != "no"
758_nve=		nve
759.endif
760_nvme=		nvme
761_nvram=		nvram
762_nxge=		nxge
763.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
764_opensolaris=	opensolaris
765.endif
766.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
767_padlock=	padlock
768.endif
769_pccard=	pccard
770_qlxge=		qlxge
771_qlxgb=		qlxgb
772_qlxgbe=	qlxgbe
773_rdma=		rdma
774_s3=		s3
775_safe=		safe
776_scsi_low=	scsi_low
777_sfxge=		sfxge
778_smbfs=		smbfs
779_sound=		sound
780_speaker=	speaker
781_splash=	splash
782_sppp=		sppp
783_tpm=		tpm
784_twa=		twa
785_vesa=		vesa
786_viawd=		viawd
787_virtio=	virtio
788.if ${MK_BHYVE} != "no" || defined(ALL_MODULES)
789_vmm=		vmm
790.endif
791_vxge=  	vxge
792_x86bios=	x86bios
793_wbwd=		wbwd
794_wi=		wi
795_wpi=		wpi
796.if ${MK_SOURCELESS_UCODE} != "no"
797_wpifw=		wpifw
798.endif
799.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
800_zfs=		zfs
801.endif
802.endif
803
804.if ${MACHINE_CPUARCH} == "arm"
805_cfi=		cfi
806_cpsw=		cpsw
807.endif
808
809.if ${MACHINE_CPUARCH} == "ia64"
810_aac=		aac
811_aacraid=	aacraid
812_aic=		aic
813_an=		an
814_arcnet=	arcnet
815_asr=		asr
816_bktr=		bktr
817_cardbus=	cardbus
818_cbb=		cbb
819_ciss=		ciss
820_cm=		cm
821_cmx=		cmx
822_coff=		coff
823_cpufreq=	cpufreq
824_dpt=		dpt
825_em=		em
826_ep=		ep
827_et=		et
828_exca=		exca
829_fe=		fe
830_hptiop=	hptiop
831_ida=		ida
832_igb=		igb
833_iir=		iir
834_ips=		ips
835_mly=		mly
836_pccard=	pccard
837_scsi_low=	scsi_low
838_smbfs=		smbfs
839_sound=		sound
840_splash=	splash
841_sppp=		sppp
842_streams=	streams
843_tpm=		tpm
844_twa=		twa
845_wi=		wi
846_xe=		xe
847.endif
848
849.if ${MACHINE_CPUARCH} == "powerpc"
850_agp=		agp
851_an=		an
852_bm=		bm
853_cardbus=	cardbus
854_cbb=		cbb
855_cfi=		cfi
856_cpufreq=	cpufreq
857_drm=		drm
858.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
859_dtrace=	dtrace
860.endif
861_exca=		exca
862_nvram=		powermac_nvram
863_pccard=	pccard
864_smbfs=		smbfs
865_sound=		sound
866.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
867_opensolaris=	opensolaris
868.endif
869_wi=		wi
870.endif
871
872.if ${MACHINE_ARCH} == "powerpc64"
873_drm2=		drm2
874_i2c=		i2c
875.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
876_zfs=		zfs
877.endif
878.endif
879
880.if ${MACHINE_CPUARCH} == "sparc64"
881_auxio=		auxio
882_em=		em
883_epic=		epic
884_i2c=		i2c
885_igb=		igb
886.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
887_opensolaris=	opensolaris
888.endif
889_smbfs=		smbfs
890_sound=		sound
891.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
892_zfs=		zfs
893.endif
894.endif
895
896.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
897SUBDIR=${MODULES_OVERRIDE}
898.endif
899
900SUBDIR+=${MODULES_EXTRA}
901
902.for reject in ${WITHOUT_MODULES}
903SUBDIR:= ${SUBDIR:N${reject}}
904.endfor
905
906# Calling kldxref(8) for each module is expensive.
907.if !defined(NO_XREF)
908.MAKEFLAGS+=	-DNO_XREF
909afterinstall:
910	@if type kldxref >/dev/null 2>&1; then \
911		${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
912		kldxref ${DESTDIR}${KMODDIR}; \
913	fi
914.endif
915
916.include <bsd.subdir.mk>
917