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