1# $FreeBSD$ 2 3.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) 4_random= random 5.endif 6 7SUBDIR= 3dfx \ 8 accf_data \ 9 accf_http \ 10 agp \ 11 aha \ 12 amr \ 13 an \ 14 aue \ 15 bge \ 16 bridge \ 17 cam \ 18 ccd \ 19 cd9660 \ 20 coda \ 21 cue \ 22 dc \ 23 de \ 24 digi \ 25 dummynet \ 26 ed \ 27 em \ 28 fdescfs \ 29 fdc \ 30 fs \ 31 fxp \ 32 gx \ 33 if_disc \ 34 if_ef \ 35 if_gif \ 36 if_faith \ 37 if_ppp \ 38 if_sl \ 39 if_stf \ 40 if_tap \ 41 if_tun \ 42 if_vlan \ 43 ip6fw \ 44 ip_mroute_mod \ 45 ipfilter \ 46 ipfw \ 47 ispfw \ 48 joy \ 49 kue \ 50 lge \ 51 libmchain \ 52 lnc \ 53 lomac \ 54 lpt \ 55 md \ 56 mii \ 57 mlx \ 58 msdosfs \ 59 nfsclient \ 60 nfsserver \ 61 nge \ 62 nmdm \ 63 ntfs \ 64 nullfs \ 65 pcn \ 66 plip \ 67 portalfs \ 68 ppbus \ 69 ppi \ 70 pps \ 71 ${_random} \ 72 rl \ 73 rp \ 74 sf \ 75 sis \ 76 sk \ 77 sn \ 78 snp \ 79 sound \ 80 sppp \ 81 ste \ 82 sym \ 83 syscons \ 84 sysvipc \ 85 ti \ 86 tl \ 87 twe \ 88 tx \ 89 txp \ 90 udbp \ 91 ugen \ 92 uhid \ 93 ukbd \ 94 ulpt \ 95 umapfs \ 96 umass \ 97 umodem \ 98 ums \ 99 unionfs \ 100 urio \ 101 usb \ 102 uscanner \ 103 vinum \ 104 vpo \ 105 vr \ 106 vx \ 107 wb \ 108 xl 109 110#removed while KSE settles in: 111# ncp \ 112# nwfs \ 113# XXX some of these can move to the general case when de-i386'ed 114.if ${MACHINE_ARCH} == "i386" 115SUBDIR+=aac \ 116 acpi \ 117 aic \ 118 ar \ 119 apm \ 120 asr \ 121 atspeaker \ 122 bktr \ 123 ciss \ 124 coff \ 125 el \ 126 fe \ 127 fpu \ 128 gnufpu \ 129 ibcs2 \ 130 linux \ 131 mly \ 132 netgraph \ 133 oltr \ 134 pecoff \ 135 ray \ 136 s3 \ 137 sbni \ 138 smbfs \ 139 splash \ 140 sr \ 141 streams \ 142 vesa \ 143 wi 144.endif 145 146.if ${MACHINE} == "pc98" 147SUBDIR+=pmc \ 148 snc 149.endif 150 151.if ${MACHINE_ARCH} == "alpha" 152SUBDIR+=linux \ 153 osf1 154.endif 155 156.if defined(WANT_EXT2FS_MODULE) 157SUBDIR+=ext2fs 158.endif 159 160.if defined(MODULES_OVERRIDE) 161SUBDIR=${MODULES_OVERRIDE} 162.endif 163 164# Calling kldxref(8) for each module is expensive. 165.if !defined(NO_XREF) 166.MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF 167afterinstall: 168 -kldxref ${DESTDIR}${KMODDIR} 169.endif 170 171.include <bsd.subdir.mk> 172