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