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 aio \ 13 amr \ 14 an \ 15 aue \ 16 bge \ 17 bridge \ 18 cam \ 19 ccd \ 20 cd9660 \ 21 coda \ 22 cue \ 23 dc \ 24 de \ 25 digi \ 26 dummynet \ 27 ed \ 28 fdescfs \ 29 fdc \ 30 firewire \ 31 fxp \ 32 gx \ 33 if_disc \ 34 if_ef \ 35 if_gif \ 36 if_gre \ 37 if_faith \ 38 if_ppp \ 39 if_sl \ 40 if_stf \ 41 if_tap \ 42 if_tun \ 43 if_vlan \ 44 ip6fw \ 45 ip_mroute_mod \ 46 ipfw \ 47 ispfw \ 48 joy \ 49 kue \ 50 lge \ 51 libiconv \ 52 libmchain \ 53 lnc \ 54 lpt \ 55 mac_biba \ 56 mac_bsdextended \ 57 mac_ifoff \ 58 mac_mls \ 59 mac_none \ 60 mac_seeotheruids \ 61 mac_test \ 62 mcd \ 63 md \ 64 mii \ 65 mlx \ 66 nfsclient \ 67 nfsserver \ 68 nge \ 69 nmdm \ 70 ntfs \ 71 nullfs \ 72 pcn \ 73 plip \ 74 portalfs \ 75 ppbus \ 76 ppi \ 77 pps \ 78 procfs \ 79 pseudofs \ 80 ${_random} \ 81 rl \ 82 rp \ 83 sem \ 84 sf \ 85 sis \ 86 sk \ 87 sn \ 88 snp \ 89 ste \ 90 sym \ 91 sysvipc \ 92 ti \ 93 tl \ 94 twe \ 95 tx \ 96 txp \ 97 ucom \ 98 udbp \ 99 ufm \ 100 udf \ 101 uftdi \ 102 ugen \ 103 uhid \ 104 ukbd \ 105 ulpt \ 106 umapfs \ 107 umass \ 108 umodem \ 109 ums \ 110 unionfs \ 111 uplcom \ 112 urio \ 113 usb \ 114 uscanner \ 115 uvisor \ 116 uvscom \ 117 vpo \ 118 vr \ 119 vx \ 120 wb \ 121 xl 122 123.if ${MACHINE_ARCH} != "sparc64" 124SUBDIR+=msdosfs \ 125 syscons 126.endif 127 128.if !defined(NO_IPFILTER) && ${MACHINE_ARCH} != "ia64" 129SUBDIR+=ipfilter 130.endif 131 132#removed while KSE settles in: 133# ncp \ 134# nwfs \ 135# XXX some of these can move to the general case when de-i386'ed 136# XXX some of these can move now, but are untested on other architectures. 137.if ${MACHINE} == "i386" 138SUBDIR+=aac \ 139 acpi \ 140 aic \ 141 aout \ 142 ar \ 143 arcnet \ 144 apm \ 145 asr \ 146 atspeaker \ 147 bktr \ 148 cardbus \ 149 cbb \ 150 ciss \ 151 cm \ 152 coff \ 153 drm \ 154 el \ 155 em \ 156 ep \ 157 exca \ 158 fe \ 159 fpu \ 160 gnufpu \ 161 hea \ 162 hfa \ 163 ibcs2 \ 164 iir \ 165 linprocfs \ 166 linux \ 167 lomac \ 168 ncv \ 169 nsp \ 170 mly \ 171 netgraph \ 172 oltr \ 173 pecoff \ 174 pccard \ 175 ray \ 176 s3 \ 177 sbni \ 178 scsi_low \ 179 smbfs \ 180 sound \ 181 splash \ 182 sppp \ 183 sr \ 184 stg \ 185 streams \ 186 vesa \ 187 vinum \ 188 wi \ 189 xe 190.endif 191 192.if ${MACHINE} == "pc98" 193SUBDIR+=aic \ 194 aout \ 195 ar \ 196 arcnet \ 197 apm \ 198 atspeaker \ 199 bktr \ 200 coff \ 201 em \ 202 fe \ 203 fpu \ 204 gnufpu \ 205 hea \ 206 hfa \ 207 ibcs2 \ 208 linprocfs \ 209 linux \ 210 lomac \ 211 ncv \ 212 nsp \ 213 netgraph \ 214 oltr \ 215 pecoff \ 216 pmc \ 217 ray \ 218 sbni \ 219 scsi_low \ 220 smbfs \ 221 snc \ 222 sound \ 223 splash \ 224 sppp \ 225 sr \ 226 stg \ 227 streams \ 228 vinum \ 229 wi \ 230 xe 231.endif 232 233.if ${MACHINE_ARCH} == "ia64" 234SUBDIR+=aic \ 235 arcnet \ 236 ciss \ 237 cm \ 238 coff \ 239 el \ 240 em \ 241 fe \ 242 iir \ 243 mly \ 244 ray \ 245 scsi_low \ 246 smbfs \ 247 splash \ 248 sr \ 249 streams \ 250 wi \ 251 xe 252.endif 253 254.if ${MACHINE_ARCH} == "alpha" 255SUBDIR+=linprocfs \ 256 linux \ 257 lomac \ 258 osf1 \ 259 sound \ 260 sppp \ 261 vinum 262.endif 263 264.if defined(WANT_EXT2FS_MODULE) 265SUBDIR+=ext2fs 266.endif 267 268.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 269SUBDIR=${MODULES_OVERRIDE} 270.endif 271 272# Calling kldxref(8) for each module is expensive. 273.if !defined(NO_XREF) 274.MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF 275afterinstall: 276 @if type kldxref >/dev/null 2>&1; then \ 277 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 278 kldxref ${DESTDIR}${KMODDIR}; \ 279 fi 280.endif 281 282.include <bsd.subdir.mk> 283