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