freebsd-skq/sys/modules/Makefile
imp a24ec299ea Add support for MODULES_OVERRIDE. This is a list of modules to build
instead of all of them.  You can put this in /etc/make.conf or in
makeoptions.

Reviewed by: arch@

# docs to follow.
2001-04-02 08:52:05 +00:00

38 lines
1007 B
Makefile

# $FreeBSD$
# XXX present but broken: ip_mroute_mod
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
_random= random
.endif
SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \
cam ccd cd9660 coda cue dc de ed fdesc fxp if_disc if_ef \
if_ppp if_sl if_tap if_tun ip6fw ipfilter ipfw ispfw joy kue \
libmchain linux lnc md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \
nwfs pcn portal procfs ${_random} \
rl rp sf sis sk sn sound sppp ste sym syscons sysvipc ti tl twe tx \
udbp ugen uhid ukbd ulpt umapfs umass umodem ums union urio usb \
uscanner \
vinum vpo vr vx wb wx xl
# XXX some of these can move to the general case when de-i386'ed
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=aac aic ar asr atspeaker bktr coff el fpu gnufpu ibcs2 linprocfs mly \
pecoff ray s3 splash sr streams vesa wi
.endif
.if ${MACHINE} == "pc98"
SUBDIR+=snc
.endif
.if ${MACHINE_ARCH} == "alpha"
SUBDIR+=osf1
.endif
.if defined(MODULES_OVERRIDE)
SUBDIR=${MODULES_OVERRIDE}
.endif
.include <bsd.subdir.mk>