Makefile revision 136953
190792Sgshapiro# $FreeBSD: head/sys/modules/Makefile 136953 2004-10-25 20:02:34Z andre $ 2261363Sgshapiro 390792Sgshapiro# pcic -- currently broken and being worked on out of tree. 490792Sgshapiro# oldcard -- specialized use for debugging only. 590792Sgshapiro# owi -- totally unsupported for debugging only. 690792Sgshapiro 790792SgshapiroSUBDIR= ${_3dfx} \ 890792Sgshapiro ${_aac} \ 9266692Sgshapiro accf_data \ 1090792Sgshapiro accf_http \ 1190792Sgshapiro ${_acpi} \ 1290792Sgshapiro ${_agp} \ 1390792Sgshapiro aha \ 1490792Sgshapiro ${_ahb} \ 1590792Sgshapiro ${_aic} \ 1690792Sgshapiro aic7xxx \ 1790792Sgshapiro aio \ 1890792Sgshapiro ${_amd} \ 1990792Sgshapiro amr \ 2090792Sgshapiro an \ 2190792Sgshapiro ${_aout} \ 2290792Sgshapiro ${_apm} \ 2390792Sgshapiro ${_ar} \ 2490792Sgshapiro ${_arcnet} \ 2590792Sgshapiro ${_arl} \ 2690792Sgshapiro ${_asr} \ 2790792Sgshapiro ath \ 2890792Sgshapiro ${_ath_hal} \ 2990792Sgshapiro aue \ 3090792Sgshapiro autofs \ 3190792Sgshapiro ${_auxio} \ 3290792Sgshapiro ${_awi} \ 3390792Sgshapiro axe \ 3490792Sgshapiro bfe \ 3590792Sgshapiro bge \ 3690792Sgshapiro ${_bios} \ 3790792Sgshapiro ${_bktr} \ 3890792Sgshapiro bridge \ 3990792Sgshapiro cam \ 4090792Sgshapiro ${_canbepm} \ 4190792Sgshapiro ${_canbus} \ 4290792Sgshapiro ${_cardbus} \ 4390792Sgshapiro ${_cbb} \ 4490792Sgshapiro cd9660 \ 4590792Sgshapiro cd9660_iconv \ 4690792Sgshapiro ${_ciss} \ 4790792Sgshapiro ${_cm} \ 4890792Sgshapiro coda \ 4990792Sgshapiro coda5 \ 5090792Sgshapiro ${_coff} \ 5190792Sgshapiro ${_cp} \ 5290792Sgshapiro ${_crypto} \ 5390792Sgshapiro ${_cryptodev} \ 5490792Sgshapiro ${_ctau} \ 5590792Sgshapiro cue \ 5690792Sgshapiro ${_cx} \ 5790792Sgshapiro dc \ 5890792Sgshapiro dcons \ 5990792Sgshapiro dcons_crom \ 6090792Sgshapiro de \ 6190792Sgshapiro digi \ 6290792Sgshapiro ${_dpt} \ 6390792Sgshapiro ${_drm} \ 6490792Sgshapiro dummynet \ 6590792Sgshapiro ${_ed} \ 6690792Sgshapiro ${_el} \ 6790792Sgshapiro ${_elink} \ 6890792Sgshapiro ${_em} \ 6990792Sgshapiro en \ 7090792Sgshapiro ${_ep} \ 7190792Sgshapiro ${_ex} \ 7290792Sgshapiro ${_exca} \ 7390792Sgshapiro ${_ext2fs} \ 7490792Sgshapiro fatm \ 7590792Sgshapiro fdc \ 7690792Sgshapiro fdescfs \ 7790792Sgshapiro ${_fe} \ 7890792Sgshapiro firewire \ 7990792Sgshapiro fxp \ 8090792Sgshapiro ${_gem} \ 8190792Sgshapiro geom \ 8290792Sgshapiro gx \ 8390792Sgshapiro harp \ 8490792Sgshapiro hatm \ 8590792Sgshapiro ${_hfa} \ 8690792Sgshapiro hifn \ 8790792Sgshapiro hme \ 8890792Sgshapiro ${_hptmv} \ 8990792Sgshapiro ${_i2c} \ 9090792Sgshapiro ${_ibcs2} \ 9190792Sgshapiro ${_ichwd} \ 9290792Sgshapiro ${_ida} \ 9390792Sgshapiro ${_idt} \ 9490792Sgshapiro ${_ie} \ 9590792Sgshapiro if_disc \ 9690792Sgshapiro if_ef \ 9790792Sgshapiro if_faith \ 9890792Sgshapiro if_gif \ 9990792Sgshapiro if_gre \ 10090792Sgshapiro if_ppp \ 10190792Sgshapiro if_sl \ 10290792Sgshapiro if_stf \ 10390792Sgshapiro if_tap \ 10490792Sgshapiro if_tun \ 10590792Sgshapiro if_vlan \ 10690792Sgshapiro ${_iir} \ 10790792Sgshapiro ${_io} \ 10890792Sgshapiro ip6fw \ 10990792Sgshapiro ipdivert \ 11090792Sgshapiro ${_ipfilter} \ 11190792Sgshapiro ipfw \ 11290792Sgshapiro ip_mroute_mod \ 11390792Sgshapiro ${_ips} \ 11490792Sgshapiro isp \ 11590792Sgshapiro ispfw \ 11690792Sgshapiro joy \ 11790792Sgshapiro kue \ 11890792Sgshapiro lge \ 11990792Sgshapiro libiconv \ 12090792Sgshapiro libmbpool \ 12190792Sgshapiro libmchain \ 12290792Sgshapiro ${_linprocfs} \ 12390792Sgshapiro ${_linux} \ 12490792Sgshapiro ${_lnc} \ 12590792Sgshapiro lpt \ 12690792Sgshapiro mac_biba \ 12790792Sgshapiro mac_bsdextended \ 12890792Sgshapiro mac_ifoff \ 12990792Sgshapiro mac_lomac \ 13090792Sgshapiro mac_mls \ 13190792Sgshapiro mac_none \ 13290792Sgshapiro mac_partition \ 13390792Sgshapiro mac_portacl \ 13490792Sgshapiro mac_seeotheruids \ 13590792Sgshapiro mac_stub \ 13690792Sgshapiro mac_test \ 13790792Sgshapiro mcd \ 13890792Sgshapiro md \ 13990792Sgshapiro mem \ 14090792Sgshapiro mii \ 14190792Sgshapiro mlx \ 14290792Sgshapiro ${_mly} \ 14390792Sgshapiro mpt \ 14490792Sgshapiro msdosfs \ 14590792Sgshapiro msdosfs_iconv \ 14690792Sgshapiro my \ 14790792Sgshapiro ${_ncp} \ 14890792Sgshapiro ${_ncv} \ 14990792Sgshapiro ${_ndis} \ 15090792Sgshapiro netgraph \ 15190792Sgshapiro nfsclient \ 15290792Sgshapiro nfsserver \ 15390792Sgshapiro nge \ 15490792Sgshapiro nmdm \ 15590792Sgshapiro ${_nsp} \ 15690792Sgshapiro ntfs \ 15790792Sgshapiro ntfs_iconv \ 15890792Sgshapiro nullfs \ 15990792Sgshapiro ${_nwfs} \ 16090792Sgshapiro ${_oltr} \ 16190792Sgshapiro ${_osf1} \ 16290792Sgshapiro patm \ 16390792Sgshapiro ${_pccard} \ 16490792Sgshapiro ${_pcfclock} \ 16590792Sgshapiro pcn \ 16690792Sgshapiro ${_pecoff} \ 16790792Sgshapiro ${_pf} \ 168132943Sgshapiro plip \ 169132943Sgshapiro ${_pmc} \ 170132943Sgshapiro portalfs \ 17190792Sgshapiro ppbus \ 17290792Sgshapiro ppi \ 173132943Sgshapiro pps \ 17490792Sgshapiro procfs \ 17590792Sgshapiro pseudofs \ 17690792Sgshapiro pst \ 17790792Sgshapiro ${_random} \ 17890792Sgshapiro ${_ray} \ 17990792Sgshapiro rc \ 18090792Sgshapiro rc4 \ 18190792Sgshapiro re \ 18290792Sgshapiro rl \ 18390792Sgshapiro rp \ 18490792Sgshapiro rue \ 18590792Sgshapiro ${_s3} \ 18690792Sgshapiro ${_safe} \ 18790792Sgshapiro ${_sbni} \ 18890792Sgshapiro sbsh \ 18990792Sgshapiro scd \ 190 ${_scsi_low} \ 191 sf \ 192 sis \ 193 sk \ 194 ${_smbfs} \ 195 sn \ 196 ${_snc} \ 197 snp \ 198 ${_sound} \ 199 ${_speaker} \ 200 ${_splash} \ 201 ${_sppp} \ 202 ${_sr} \ 203 ste \ 204 ${_stg} \ 205 ${_streams} \ 206 sym \ 207 ${_syscons} \ 208 sysvipc \ 209 ti \ 210 tl \ 211 trm \ 212 ${_twa} \ 213 twe \ 214 tx \ 215 txp \ 216 uart \ 217 ubsa \ 218 ubsec \ 219 ubser \ 220 ucom \ 221 ucycom \ 222 udav \ 223 udbp \ 224 udf \ 225 udf_iconv \ 226 ufm \ 227 ${_ufs} \ 228 uftdi \ 229 ugen \ 230 uhid \ 231 ukbd \ 232 ulpt \ 233 umass \ 234 umct \ 235 umodem \ 236 ums \ 237 unionfs \ 238 uplcom \ 239 urio \ 240 usb \ 241 uscanner \ 242 utopia \ 243 uvisor \ 244 uvscom \ 245 ${_vesa} \ 246 vge \ 247 vpo \ 248 vr \ 249 vx \ 250 wb \ 251 ${_wi} \ 252 wlan \ 253 ${_xe} \ 254 xl 255 256.if ${MACHINE_ARCH} != "sparc64" 257_syscons= syscons 258.endif 259 260.if defined(ALL_MODULES) 261_ufs= ufs 262.endif 263 264.if !defined(NOCRYPT) || defined(ALL_MODULES) 265.if exists(${.CURDIR}/../opencrypto) 266_crypto= crypto 267_cryptodev= cryptodev 268.endif 269.if exists(${.CURDIR}/../crypto) 270_random= random 271.endif 272.endif 273 274.if !defined(NO_IPFILTER) || defined(ALL_MODULES) 275_ipfilter= ipfilter 276.endif 277 278.if !defined(NO_PF) || defined(ALL_MODULES) 279_pf= pf 280.endif 281 282.if ${MACHINE_ARCH} == "i386" 283# XXX some of these can move to the general case when de-i386'ed 284# XXX some of these can move now, but are untested on other architectures. 285_3dfx= 3dfx 286_agp= agp 287_aic= aic 288_amd= amd 289_aout= aout 290_apm= apm 291_ar= ar 292_arcnet= arcnet 293_ath_hal= ath_hal 294_awi= awi 295_bktr= bktr 296_coff= coff 297_cp= cp 298_drm= drm 299_ed= ed 300_elink= elink 301_em= em 302_ep= ep 303_ext2fs= ext2fs 304_fe= fe 305_hfa= hfa 306_i2c= i2c 307_ibcs2= ibcs2 308_ie= ie 309_io= io 310_linprocfs= linprocfs 311_linux= linux 312_lnc= lnc 313_ncp= ncp 314_ncv= ncv 315_ndis= ndis 316_nsp= nsp 317_nwfs= nwfs 318_oltr= oltr 319_pccard= pccard 320_pcfclock= pcfclock 321_pecoff= pecoff 322_ray= ray 323_safe= safe 324_sbni= sbni 325_scsi_low= scsi_low 326_smbfs= smbfs 327_sound= sound 328_speaker= speaker 329_splash= splash 330_sppp= sppp 331_sr= sr 332_stg= stg 333_streams= streams 334_wi= wi 335_xe= xe 336.if ${MACHINE} == "i386" 337_aac= aac 338_acpi= acpi 339_ahb= ahb 340_arl= arl 341_asr= asr 342_bios= bios 343_cardbus= cardbus 344_cbb= cbb 345_ciss= ciss 346_cm= cm 347_ctau= ctau 348_cx= cx 349_dpt= dpt 350_el= el 351_ex= ex 352_exca= exca 353_hptmv= hptmv 354_ichwd= ichwd 355_ida= ida 356_idt= idt 357_iir= iir 358_ips= ips 359_mly= mly 360_s3= s3 361_twa= twa 362_vesa= vesa 363.elif ${MACHINE} == "pc98" 364_canbepm= canbepm 365_canbus= canbus 366_pmc= pmc 367_snc= snc 368.endif 369.endif 370 371.if ${MACHINE_ARCH} == "alpha" 372_agp= agp 373_ahb= ahb 374_ext2fs= ext2fs 375_linprocfs= linprocfs 376_linux= linux 377_osf1= osf1 378_sound= sound 379_sppp= sppp 380.endif 381 382.if ${MACHINE_ARCH} == "amd64" 383_aac= aac 384_agp= agp 385_ciss= ciss 386_drm= drm 387_em= em 388_ext2fs= ext2fs 389_i2c= i2c 390_ida= ida 391_iir= iir 392_io= io 393_ips= ips 394_lnc= lnc 395_mly= mly 396#_ndis= ndis 397_safe= safe 398_scsi_low= scsi_low 399_smbfs= smbfs 400_sound= sound 401_sppp= sppp 402_twa= twa 403.endif 404 405.if ${MACHINE_ARCH} == "ia64" 406# Modules not enabled on ia64 (as compared to i386) include: 407# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv 408# nsp oltr pecoff s3 sbni stg vesa 409_aic= aic 410_ar= ar 411_arcnet= arcnet 412_asr= asr 413_bktr= bktr 414_cardbus= cardbus 415_cbb= cbb 416_ciss= ciss 417_cm= cm 418_coff= coff 419_el= el 420_em= em 421_ep= ep 422_exca= exca 423_fe= fe 424_hfa= hfa 425_iir= iir 426_mly= mly 427_pccard= pccard 428_ray= ray 429_scsi_low= scsi_low 430_smbfs= smbfs 431_sound= sound 432_splash= splash 433_sppp= sppp 434_sr= sr 435_streams= streams 436_wi= wi 437_xe= xe 438.endif 439 440.if ${MACHINE_ARCH} == "powerpc" 441_gem= gem 442.endif 443 444.if ${MACHINE_ARCH} == "sparc64" 445_auxio= auxio 446_gem= gem 447_sound= sound 448.endif 449 450.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 451SUBDIR=${MODULES_OVERRIDE} 452.endif 453 454# Calling kldxref(8) for each module is expensive. 455.if !defined(NO_XREF) 456.MAKEFLAGS+= -DNO_XREF 457afterinstall: 458 @if type kldxref >/dev/null 2>&1; then \ 459 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 460 kldxref ${DESTDIR}${KMODDIR}; \ 461 fi 462.endif 463 464.include <bsd.subdir.mk> 465