Makefile revision 116258
160812Sps# $FreeBSD: head/sys/modules/Makefile 116258 2003-06-12 14:28:32Z harti $ 260786Sps 3221715Sdelphij.if exists(${.CURDIR}/../opencrypto) && !defined(NOCRYPT) 460786Sps_crypto= crypto 560786Sps_cryptodev= cryptodev 660786Sps.endif 760786Sps.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) 860786Sps_random= random 960786Sps.endif 1060786Sps 1160786SpsSUBDIR= accf_data \ 1260786Sps accf_http \ 1360786Sps aha \ 1460786Sps aic7xxx \ 1560786Sps aio \ 1660786Sps amr \ 1760786Sps an \ 1889022Sps aue \ 1989022Sps axe \ 2089022Sps bge \ 2160786Sps bridge \ 2260786Sps cam \ 2360786Sps cd9660 \ 2460786Sps coda \ 25161478Sdelphij ${_crypto} \ 2660786Sps ${_cryptodev} \ 2760786Sps cue \ 2860786Sps dc \ 2960786Sps de \ 3060786Sps digi \ 3160786Sps dummynet \ 3260786Sps en \ 3360786Sps fdc \ 3460786Sps fdescfs \ 3560786Sps firewire \ 3660786Sps fxp \ 3760786Sps geom \ 3860786Sps gx \ 3960786Sps hifn \ 40170259Sdelphij if_disc \ 4160786Sps if_ef \ 4260786Sps if_faith \ 4360786Sps if_gif \ 4460786Sps if_gre \ 4560786Sps if_ppp \ 4660786Sps if_sl \ 4760786Sps if_stf \ 4860786Sps if_tap \ 4960786Sps if_tun \ 5060786Sps if_vlan \ 5160786Sps ip6fw \ 5260786Sps ip_mroute_mod \ 5360786Sps ipfw \ 5460786Sps isp \ 5560786Sps ispfw \ 5663131Sps joy \ 57170259Sdelphij kue \ 58170259Sdelphij lge \ 5960786Sps libiconv \ 6060786Sps libmchain \ 6160786Sps lpt \ 6260786Sps mac_biba \ 6360786Sps mac_bsdextended \ 6460786Sps mac_ifoff \ 65128348Stjr mac_lomac \ 66170259Sdelphij mac_mls \ 67221715Sdelphij mac_none \ 68221715Sdelphij mac_partition \ 6960786Sps mac_portacl \ 7060786Sps mac_seeotheruids \ 7160786Sps mac_test \ 72161478Sdelphij mcd \ 7360786Sps md \ 7460786Sps mii \ 7560786Sps mlx \ 7660786Sps mpt \ 77221715Sdelphij msdosfs \ 78221715Sdelphij my \ 79221715Sdelphij nfsclient \ 80221715Sdelphij nfsserver \ 81221715Sdelphij nge \ 82221715Sdelphij nmdm \ 83221715Sdelphij ntfs \ 8460786Sps nullfs \ 8560786Sps pcn \ 8660786Sps plip \ 87170259Sdelphij portalfs \ 8860786Sps ppbus \ 8960786Sps ppi \ 9060786Sps pps \ 9160786Sps procfs \ 9260786Sps pseudofs \ 9360786Sps raidframe \ 94191930Sdelphij ${_random} \ 9560786Sps rc \ 96191930Sdelphij rc4 \ 97170967Sdelphij rl \ 9860786Sps rp \ 9960786Sps rue \ 10060786Sps sbsh \ 10160786Sps sf \ 10260786Sps sis \ 10360786Sps sk \ 10460786Sps sn \ 10560786Sps snp \ 10660786Sps ste \ 10760786Sps sym \ 10860786Sps sysvipc \ 10960786Sps ti \ 11060786Sps tl \ 11160786Sps trm \ 112170259Sdelphij twe \ 11360786Sps tx \ 11460786Sps txp \ 11560786Sps ubsa \ 11660786Sps ubsec \ 11760786Sps ucom \ 11860786Sps udbp \ 11960786Sps udf \ 12060786Sps ufm \ 12160786Sps uftdi \ 12260786Sps ugen \ 12360786Sps uhid \ 12460786Sps ukbd \ 12560786Sps ulpt \ 12660786Sps umapfs \ 12760786Sps umass \ 12860786Sps umodem \ 12960786Sps ums \ 130191930Sdelphij unionfs \ 131191930Sdelphij uplcom \ 132191930Sdelphij urio \ 133191930Sdelphij usb \ 134191930Sdelphij uscanner \ 13560786Sps utopia \ 13660786Sps uvisor \ 13760786Sps uvscom \ 13860786Sps vpo \ 13960786Sps vr \ 140170259Sdelphij vx \ 14160786Sps wb \ 14260786Sps wlan \ 14360786Sps xl 14460786Sps 14560786Sps.if defined(WANT_EXT2FS_MODULE) 14660786SpsSUBDIR+=ext2fs 14760786Sps.endif 14860786Sps 14960786Sps.if !defined(NO_IPFILTER) 15060786SpsSUBDIR+=ipfilter 15160786Sps.endif 15260786Sps 15360786Sps.if ${MACHINE_ARCH} != "sparc64" 154191930SdelphijSUBDIR+=syscons 155191930Sdelphij.endif 156191930Sdelphij 157191930Sdelphij# XXX some of these can move to the general case when de-i386'ed 158191930Sdelphij# XXX some of these can move now, but are untested on other architectures. 15960786Sps.if ${MACHINE_ARCH} == "i386" 16060786SpsSUBDIR+=3dfx \ 16160786Sps agp \ 16260786Sps aic \ 16360786Sps aout \ 16460786Sps apm \ 16560786Sps ar \ 16660786Sps arcnet \ 16760786Sps awi \ 16860786Sps bktr \ 16960786Sps coff \ 17060786Sps drm \ 17160786Sps ed \ 17260786Sps elink \ 17360786Sps em \ 17460786Sps ep \ 17560786Sps fe \ 17660786Sps fpu \ 17760786Sps gnufpu \ 17860786Sps hea \ 17960786Sps hfa \ 18060786Sps ibcs2 \ 181170259Sdelphij ie \ 18260786Sps linprocfs \ 18360786Sps linux \ 18460786Sps lnc \ 18560786Sps ncp \ 18660786Sps ncv \ 18760786Sps netgraph \ 18860786Sps nsp \ 18960786Sps nwfs \ 19060786Sps oltr \ 19160786Sps pccard \ 19260786Sps pecoff \ 19360786Sps ray \ 19460786Sps sbni \ 19560786Sps scsi_low \ 19660786Sps smbfs \ 19760786Sps sound \ 19860786Sps speaker \ 19960786Sps splash \ 20060786Sps sppp \ 20160786Sps sr \ 20260786Sps stg \ 20360786Sps streams \ 20460786Sps vinum \ 20560786Sps wi \ 20660786Sps xe 20760786Sps 20860786Sps.if ${MACHINE} == "i386" 20960786SpsSUBDIR+=aac \ 21060786Sps acpi \ 21160786Sps asr \ 21260786Sps bios \ 21360786Sps cardbus \ 21460786Sps cbb \ 215128348Stjr ciss \ 21660786Sps cm \ 217191930Sdelphij dpt \ 218191930Sdelphij el \ 219191930Sdelphij ex \ 220191930Sdelphij exca \ 221191930Sdelphij idt \ 222191930Sdelphij iir \ 22360786Sps ips \ 22460786Sps mly \ 22560786Sps s3 \ 22660786Sps vesa 22760786Sps 22860786Sps.elif ${MACHINE} == "pc98" 22960786SpsSUBDIR+=canbepm \ 23060786Sps canbus \ 23160786Sps pmc \ 23260786Sps snc 23360786Sps.endif 23460786Sps.endif 23560786Sps 23660786Sps.if ${MACHINE_ARCH} == "ia64" 237221715Sdelphij# Modules not enabled on ia64 (as compared to i386) include: 238221715Sdelphij# aac acpi aout apm atspeaker drm fpu gnufpu ibcs2 linprocfs linux ncv 23960786Sps# nsp oltr pecoff s3 sbni stg vesa 24060786SpsSUBDIR+=aic \ 241128348Stjr ar \ 24260786Sps arcnet \ 24360786Sps asr \ 244128348Stjr bktr \ 24560786Sps cardbus \ 24660786Sps cbb \ 24760786Sps ciss \ 24860786Sps cm \ 24960786Sps coff \ 25060786Sps el \ 251128348Stjr em \ 25289022Sps ep \ 25389022Sps exca \ 254128348Stjr fe \ 25560786Sps hea \ 25660786Sps hfa \ 25760786Sps iir \ 25860786Sps mly \ 25960786Sps netgraph \ 26060786Sps pccard \ 26160786Sps ray \ 26260786Sps rc \ 26360786Sps scsi_low \ 26460786Sps smbfs \ 26560786Sps sound \ 26660786Sps splash \ 26760786Sps sppp \ 26860786Sps sr \ 26960786Sps streams \ 27060786Sps vinum \ 27160786Sps wi \ 27260786Sps xe 27360786Sps.endif 27460786Sps 27560786Sps.if ${MACHINE_ARCH} == "alpha" 27660786SpsSUBDIR+=agp \ 27760786Sps linprocfs \ 27860786Sps linux \ 27960786Sps osf1 \ 28060786Sps sound \ 28160786Sps sppp \ 28260786Sps vinum 28360786Sps.endif 28460786Sps 28560786Sps.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" 28660786SpsSUBDIR+=gem 28760786Sps.endif 28860786Sps 28960786Sps.if ${MACHINE_ARCH} == "sparc64" 29060786SpsSUBDIR+=hme 291221715Sdelphij.endif 29260786Sps 29360786Sps.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 294221715SdelphijSUBDIR=${MODULES_OVERRIDE} 29560786Sps.endif 29660786Sps 297221715Sdelphij# Calling kldxref(8) for each module is expensive. 298221715Sdelphij.if !defined(NO_XREF) 299221715Sdelphij.MAKEFLAGS+= -DNO_XREF 300221715Sdelphijafterinstall: 301221715Sdelphij @if type kldxref >/dev/null 2>&1; then \ 302221715Sdelphij ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 303221715Sdelphij kldxref ${DESTDIR}${KMODDIR}; \ 304221715Sdelphij fi 305222906Sdelphij.endif 306221715Sdelphij 307221715Sdelphij.include <bsd.subdir.mk> 308221715Sdelphij