freebsd-nq/sys/modules/Makefile

308 lines
3.4 KiB
Makefile
Raw Normal View History

1999-08-28 01:08:13 +00:00
# $FreeBSD$
.if exists(${.CURDIR}/../opencrypto) && !defined(NOCRYPT)
_crypto= crypto
_cryptodev= cryptodev
.endif
2000-07-07 09:38:01 +00:00
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
_random= random
2000-07-07 09:38:01 +00:00
.endif
SUBDIR= accf_data \
accf_http \
aha \
aic7xxx \
aio \
amr \
an \
aue \
axe \
bge \
bridge \
cam \
cd9660 \
coda \
${_crypto} \
${_cryptodev} \
cue \
dc \
de \
digi \
dummynet \
en \
fdc \
2002-10-21 00:38:18 +00:00
fdescfs \
2002-11-07 16:19:43 +00:00
firewire \
fxp \
2003-05-31 18:36:41 +00:00
geom \
2001-10-19 02:21:16 +00:00
gx \
hifn \
if_disc \
if_ef \
2002-10-21 00:38:18 +00:00
if_faith \
if_gif \
2002-09-06 17:18:53 +00:00
if_gre \
if_ppp \
if_sl \
if_stf \
if_tap \
if_tun \
2001-09-05 23:47:46 +00:00
if_vlan \
ip6fw \
2001-07-25 20:15:17 +00:00
ip_mroute_mod \
ipfw \
isp \
ispfw \
joy \
kue \
lge \
libiconv \
libmchain \
lpt \
mac_biba \
mac_bsdextended \
mac_ifoff \
mac_lomac \
mac_mls \
mac_none \
mac_partition \
mac_portacl \
mac_seeotheruids \
mac_test \
2002-10-04 07:15:34 +00:00
mcd \
md \
mii \
mlx \
2002-10-31 19:39:23 +00:00
mpt \
msdosfs \
2003-02-27 14:49:56 +00:00
my \
nfsclient \
nfsserver \
nge \
nmdm \
ntfs \
nullfs \
pcn \
plip \
portalfs \
ppbus \
ppi \
pps \
procfs \
pseudofs \
raidframe \
${_random} \
rc \
rc4 \
rl \
rp \
rue \
sbsh \
sf \
sis \
sk \
sn \
snp \
ste \
sym \
sysvipc \
ti \
tl \
trm \
2002-10-21 00:38:18 +00:00
twe \
tx \
txp \
ubsa \
ubsec \
ucom \
udbp \
udf \
2002-10-21 00:38:18 +00:00
ufm \
uftdi \
ugen \
uhid \
ukbd \
ulpt \
umapfs \
umass \
umodem \
ums \
unionfs \
uplcom \
urio \
usb \
uscanner \
utopia \
uvisor \
uvscom \
vpo \
vr \
vx \
wb \
wlan \
xl
2002-10-21 00:38:18 +00:00
.if defined(WANT_EXT2FS_MODULE)
SUBDIR+=ext2fs
.endif
.if !defined(NO_IPFILTER)
SUBDIR+=ipfilter
.endif
2002-10-21 00:38:18 +00:00
.if ${MACHINE_ARCH} != "sparc64"
SUBDIR+=syscons
.endif
# XXX some of these can move to the general case when de-i386'ed
# XXX some of these can move now, but are untested on other architectures.
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=3dfx \
agp \
aic \
aout \
2002-10-21 00:38:18 +00:00
apm \
ar \
arcnet \
awi \
bktr \
coff \
2003-03-09 10:12:58 +00:00
drm \
ed \
2003-03-29 13:42:20 +00:00
elink \
em \
ep \
fe \
fpu \
gnufpu \
hea \
hfa \
ibcs2 \
2003-03-29 13:40:41 +00:00
ie \
linprocfs \
linux \
lnc \
ncp \
2002-10-21 00:38:18 +00:00
ncv \
netgraph \
2002-10-21 00:38:18 +00:00
nsp \
nwfs \
oltr \
pccard \
2002-10-21 00:38:18 +00:00
pecoff \
ray \
sbni \
scsi_low \
smbfs \
sound \
speaker \
splash \
sppp \
sr \
stg \
streams \
vinum \
wi \
xe
.if ${MACHINE} == "i386"
SUBDIR+=aac \
acpi \
asr \
bios \
cardbus \
cbb \
ciss \
cm \
dpt \
el \
ex \
exca \
idt \
iir \
ips \
mly \
s3 \
vesa
.elif ${MACHINE} == "pc98"
SUBDIR+=canbepm \
canbus \
2002-09-16 08:32:48 +00:00
pmc \
snc
.endif
2002-09-16 08:32:48 +00:00
.endif
.if ${MACHINE_ARCH} == "ia64"
# Modules not enabled on ia64 (as compared to i386) include:
# aac acpi aout apm atspeaker drm fpu gnufpu ibcs2 linprocfs linux ncv
# nsp oltr pecoff s3 sbni stg vesa
SUBDIR+=aic \
ar \
arcnet \
asr \
bktr \
cardbus \
cbb \
ciss \
cm \
coff \
el \
em \
ep \
exca \
fe \
hea \
hfa \
iir \
mly \
netgraph \
pccard \
ray \
rc \
scsi_low \
smbfs \
sound \
splash \
sppp \
sr \
streams \
vinum \
wi \
xe
.endif
.if ${MACHINE_ARCH} == "alpha"
SUBDIR+=agp \
linprocfs \
linux \
osf1 \
sound \
sppp \
vinum
.endif
2003-01-09 16:37:37 +00:00
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
SUBDIR+=gem
.endif
.if ${MACHINE_ARCH} == "sparc64"
2003-01-09 16:37:37 +00:00
SUBDIR+=hme
.endif
2002-02-17 21:00:20 +00:00
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
SUBDIR=${MODULES_OVERRIDE}
.endif
# Calling kldxref(8) for each module is expensive.
2003-01-21 05:52:48 +00:00
.if !defined(NO_XREF)
2003-03-12 14:32:46 +00:00
.MAKEFLAGS+= -DNO_XREF
afterinstall:
@if type kldxref >/dev/null 2>&1; then \
${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
kldxref ${DESTDIR}${KMODDIR}; \
fi
.endif
.include <bsd.subdir.mk>