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