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