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