freebsd-dev/sys/modules/Makefile
John Baldwin 599c57a971 - New-bussify the rc(4) device driver.
- Add detach support to the driver so that you can kldunload the module.
  Note that currently rc_detach() fails to detach a unit if any of its
  child devices are open, thus a kldunload will fail if any of the tty
  devices are currently open.
- sys/i386/isa/ic/cd180.h was moved to sys/dev/ic/cd180.h as part of
  this change.

Requested by:	rwatson
Tested by:	rwatson
2002-10-23 15:53:09 +00:00

296 lines
3.1 KiB
Makefile

# $FreeBSD$
.if exists(${.CURDIR}/../opencrypto) && !defined(NOCRYPT)
_crypto= crypto
_cryptodev= cryptodev
.endif
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
_random= random
.endif
# Removed while KSE settles in:
# ncp \
# nwfs \
SUBDIR= 3dfx \
accf_data \
accf_http \
agp \
aha \
aio \
amr \
an \
aue \
bge \
bridge \
cam \
ccd \
cd9660 \
coda \
${_crypto} \
${_cryptodev} \
cue \
dc \
de \
digi \
dummynet \
ed \
fdc \
fdescfs \
firewire \
fxp \
gx \
hifn \
if_disc \
if_ef \
if_faith \
if_gif \
if_gre \
if_ppp \
if_sl \
if_stf \
if_tap \
if_tun \
if_vlan \
ip6fw \
ip_mroute_mod \
ipfw \
ispfw \
joy \
kue \
lge \
libiconv \
libmchain \
lnc \
lpt \
mac_biba \
mac_bsdextended \
mac_ifoff \
mac_mls \
mac_none \
mac_seeotheruids \
mac_test \
mcd \
md \
mii \
mlx \
msdosfs \
nfsclient \
nfsserver \
nge \
nmdm \
ntfs \
nullfs \
pcn \
plip \
portalfs \
ppbus \
ppi \
pps \
procfs \
pseudofs \
${_random} \
rl \
rp \
sf \
sis \
sk \
sn \
snp \
ste \
sym \
sysvipc \
ti \
tl \
trm \
twe \
tx \
txp \
ubsa \
ubsec \
ucom \
udbp \
udf \
ufm \
uftdi \
ugen \
uhid \
ukbd \
ulpt \
umapfs \
umass \
umodem \
ums \
unionfs \
uplcom \
urio \
usb \
uscanner \
uvisor \
uvscom \
vpo \
vr \
vx \
wb \
xl
.if defined(WANT_EXT2FS_MODULE)
SUBDIR+=ext2fs
.endif
.if !defined(NO_IPFILTER) && ${MACHINE_ARCH} != "ia64"
SUBDIR+=ipfilter
.endif
.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} == "i386"
SUBDIR+=aac \
acpi \
aic \
aout \
apm \
ar \
arcnet \
asr \
atspeaker \
bktr \
cardbus \
cbb \
ciss \
cm \
coff \
drm \
el \
em \
ep \
exca \
fe \
fpu \
gnufpu \
hea \
hfa \
ibcs2 \
iir \
linprocfs \
linux \
lomac \
mly \
ncv \
netgraph \
nsp \
oltr \
pccard \
pecoff \
ray \
rc \
s3 \
sbni \
scsi_low \
smbfs \
sound \
splash \
sppp \
sr \
stg \
streams \
vesa \
vinum \
wi \
xe
.endif
.if ${MACHINE} == "pc98"
SUBDIR+=aic \
aout \
apm \
ar \
arcnet \
atspeaker \
bktr \
coff \
em \
ep \
fe \
fpu \
gnufpu \
hea \
hfa \
ibcs2 \
linprocfs \
linux \
lomac \
ncv \
netgraph \
nsp \
oltr \
pccard \
pecoff \
pmc \
ray \
sbni \
scsi_low \
smbfs \
snc \
sound \
splash \
sppp \
sr \
stg \
streams \
vinum \
wi \
xe
.endif
.if ${MACHINE_ARCH} == "ia64"
SUBDIR+=aic \
arcnet \
ciss \
cm \
coff \
el \
em \
fe \
iir \
mly \
ray \
scsi_low \
smbfs \
splash \
sr \
streams \
wi \
xe
.endif
.if ${MACHINE_ARCH} == "alpha"
SUBDIR+=linprocfs \
linux \
lomac \
osf1 \
sound \
sppp \
vinum
.endif
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
SUBDIR=${MODULES_OVERRIDE}
.endif
# Calling kldxref(8) for each module is expensive.
.if !defined(NO_XREF)
.MAKEFLAGS:= ${.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>