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