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