1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-09-16 20:24:29 +00:00
|
|
|
|
2000-07-07 09:38:01 +00:00
|
|
|
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
|
2000-10-14 10:59:56 +00:00
|
|
|
_random= random
|
2000-07-07 09:38:01 +00:00
|
|
|
.endif
|
|
|
|
|
2001-07-15 04:55:37 +00:00
|
|
|
SUBDIR= 3dfx \
|
|
|
|
accf_data \
|
|
|
|
accf_http \
|
|
|
|
agp \
|
|
|
|
aha \
|
2001-12-29 07:13:47 +00:00
|
|
|
aio \
|
2001-07-15 04:55:37 +00:00
|
|
|
amr \
|
|
|
|
an \
|
|
|
|
aue \
|
2001-09-27 23:55:28 +00:00
|
|
|
bge \
|
2001-10-05 07:09:27 +00:00
|
|
|
bridge \
|
2001-07-15 04:55:37 +00:00
|
|
|
ccd \
|
|
|
|
coda \
|
|
|
|
cue \
|
|
|
|
dc \
|
|
|
|
de \
|
|
|
|
digi \
|
2001-10-05 07:09:27 +00:00
|
|
|
dummynet \
|
2001-07-15 04:55:37 +00:00
|
|
|
ed \
|
|
|
|
fdescfs \
|
|
|
|
fdc \
|
|
|
|
fxp \
|
2001-10-19 02:21:16 +00:00
|
|
|
gx \
|
2002-04-17 00:26:09 +00:00
|
|
|
hfa \
|
2001-07-15 04:55:37 +00:00
|
|
|
if_disc \
|
|
|
|
if_ef \
|
|
|
|
if_gif \
|
2001-09-25 18:40:52 +00:00
|
|
|
if_faith \
|
2001-07-15 04:55:37 +00:00
|
|
|
if_ppp \
|
|
|
|
if_sl \
|
|
|
|
if_stf \
|
|
|
|
if_tap \
|
|
|
|
if_tun \
|
2001-09-05 23:47:46 +00:00
|
|
|
if_vlan \
|
2001-07-15 04:55:37 +00:00
|
|
|
ip6fw \
|
2001-07-25 20:15:17 +00:00
|
|
|
ip_mroute_mod \
|
2001-07-15 04:55:37 +00:00
|
|
|
ipfw \
|
|
|
|
ispfw \
|
|
|
|
joy \
|
|
|
|
kue \
|
|
|
|
lge \
|
2001-12-12 10:11:16 +00:00
|
|
|
libiconv \
|
2001-07-15 04:55:37 +00:00
|
|
|
libmchain \
|
|
|
|
lnc \
|
2001-11-03 08:20:44 +00:00
|
|
|
lpt \
|
2001-07-15 04:55:37 +00:00
|
|
|
md \
|
|
|
|
mii \
|
|
|
|
mlx \
|
|
|
|
msdosfs \
|
2001-09-18 23:32:09 +00:00
|
|
|
nfsclient \
|
|
|
|
nfsserver \
|
2001-07-15 04:55:37 +00:00
|
|
|
nge \
|
|
|
|
nmdm \
|
|
|
|
ntfs \
|
|
|
|
nullfs \
|
|
|
|
pcn \
|
2001-11-03 08:20:44 +00:00
|
|
|
plip \
|
2001-07-15 04:55:37 +00:00
|
|
|
portalfs \
|
2001-11-03 08:20:44 +00:00
|
|
|
ppbus \
|
|
|
|
ppi \
|
|
|
|
pps \
|
2002-02-04 20:16:50 +00:00
|
|
|
procfs \
|
|
|
|
pseudofs \
|
2001-07-15 04:55:37 +00:00
|
|
|
${_random} \
|
|
|
|
rl \
|
|
|
|
rp \
|
|
|
|
sf \
|
|
|
|
sis \
|
|
|
|
sk \
|
|
|
|
sn \
|
|
|
|
snp \
|
|
|
|
ste \
|
|
|
|
sym \
|
|
|
|
syscons \
|
|
|
|
sysvipc \
|
|
|
|
ti \
|
|
|
|
tl \
|
|
|
|
twe \
|
|
|
|
tx \
|
2001-07-23 20:44:54 +00:00
|
|
|
txp \
|
2002-03-18 18:23:42 +00:00
|
|
|
ucom \
|
2001-07-15 04:55:37 +00:00
|
|
|
udbp \
|
2002-03-04 03:51:21 +00:00
|
|
|
ufm \
|
2002-04-14 16:36:49 +00:00
|
|
|
udf \
|
2001-07-15 04:55:37 +00:00
|
|
|
ugen \
|
|
|
|
uhid \
|
|
|
|
ukbd \
|
|
|
|
ulpt \
|
|
|
|
umapfs \
|
|
|
|
umass \
|
|
|
|
umodem \
|
|
|
|
ums \
|
|
|
|
unionfs \
|
2002-03-18 18:23:42 +00:00
|
|
|
uplcom \
|
2001-07-15 04:55:37 +00:00
|
|
|
urio \
|
|
|
|
usb \
|
2000-10-25 10:34:38 +00:00
|
|
|
uscanner \
|
2002-03-18 18:23:42 +00:00
|
|
|
uvscom \
|
2001-07-15 04:55:37 +00:00
|
|
|
vinum \
|
|
|
|
vpo \
|
|
|
|
vr \
|
|
|
|
vx \
|
|
|
|
wb \
|
|
|
|
xl
|
1999-11-22 03:48:33 +00:00
|
|
|
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
.if !defined(NO_IPFILTER) && ${MACHINE_ARCH} != "ia64"
|
2002-03-21 09:15:39 +00:00
|
|
|
SUBDIR+=ipfilter
|
|
|
|
.endif
|
|
|
|
|
2001-09-12 08:38:13 +00:00
|
|
|
#removed while KSE settles in:
|
|
|
|
# ncp \
|
|
|
|
# nwfs \
|
1998-11-04 17:15:07 +00:00
|
|
|
# XXX some of these can move to the general case when de-i386'ed
|
1998-11-04 18:25:23 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2001-07-15 04:55:37 +00:00
|
|
|
SUBDIR+=aac \
|
2001-08-30 00:55:22 +00:00
|
|
|
acpi \
|
2001-07-15 04:55:37 +00:00
|
|
|
aic \
|
|
|
|
ar \
|
2002-01-08 20:03:13 +00:00
|
|
|
arcnet \
|
2001-10-24 18:45:35 +00:00
|
|
|
apm \
|
2001-07-15 04:55:37 +00:00
|
|
|
asr \
|
|
|
|
atspeaker \
|
|
|
|
bktr \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
cam \
|
|
|
|
cd9660 \
|
2001-12-02 06:19:15 +00:00
|
|
|
ciss \
|
2002-01-08 20:03:13 +00:00
|
|
|
cm \
|
2001-07-15 04:55:37 +00:00
|
|
|
coff \
|
|
|
|
el \
|
2001-12-20 17:55:49 +00:00
|
|
|
em \
|
2001-09-02 06:43:45 +00:00
|
|
|
fe \
|
2001-07-15 04:55:37 +00:00
|
|
|
fpu \
|
|
|
|
gnufpu \
|
|
|
|
ibcs2 \
|
2002-01-20 08:51:08 +00:00
|
|
|
iir \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
linprocfs \
|
2001-10-19 05:04:02 +00:00
|
|
|
linux \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
lomac \
|
2001-12-15 12:44:38 +00:00
|
|
|
ncv \
|
|
|
|
nsp \
|
2001-07-15 04:55:37 +00:00
|
|
|
mly \
|
2001-10-19 05:04:02 +00:00
|
|
|
netgraph \
|
2001-07-15 04:55:37 +00:00
|
|
|
oltr \
|
|
|
|
pecoff \
|
|
|
|
ray \
|
|
|
|
s3 \
|
2001-11-21 22:29:35 +00:00
|
|
|
sbni \
|
2001-12-15 12:44:38 +00:00
|
|
|
scsi_low \
|
2001-12-02 09:01:35 +00:00
|
|
|
smbfs \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
sound \
|
2001-07-15 04:55:37 +00:00
|
|
|
splash \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
sppp \
|
2001-07-15 04:55:37 +00:00
|
|
|
sr \
|
2001-12-15 12:44:38 +00:00
|
|
|
stg \
|
2001-07-15 04:55:37 +00:00
|
|
|
streams \
|
|
|
|
vesa \
|
2002-02-20 15:00:34 +00:00
|
|
|
wi \
|
|
|
|
xe
|
1998-11-04 17:15:07 +00:00
|
|
|
.endif
|
1994-09-16 20:24:29 +00:00
|
|
|
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
.if ${MACHINE_ARCH} == "ia64"
|
|
|
|
SUBDIR+=aic \
|
|
|
|
arcnet \
|
|
|
|
asr \
|
|
|
|
bktr \
|
|
|
|
ciss \
|
|
|
|
cm \
|
|
|
|
coff \
|
|
|
|
el \
|
|
|
|
em \
|
|
|
|
fe \
|
|
|
|
iir \
|
|
|
|
mly \
|
|
|
|
ray \
|
|
|
|
scsi_low \
|
|
|
|
smbfs \
|
|
|
|
splash \
|
|
|
|
sr \
|
|
|
|
streams \
|
|
|
|
wi \
|
|
|
|
xe
|
|
|
|
.endif
|
|
|
|
|
2000-10-02 14:27:20 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
2001-10-28 04:34:24 +00:00
|
|
|
SUBDIR+=pmc \
|
2001-10-24 18:45:35 +00:00
|
|
|
snc
|
2000-10-02 14:27:20 +00:00
|
|
|
.endif
|
|
|
|
|
1999-12-15 13:14:23 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
SUBDIR+=cam \
|
|
|
|
cd9660 \
|
|
|
|
linprocfs \
|
|
|
|
linux \
|
|
|
|
lomac \
|
|
|
|
osf1 \
|
|
|
|
sound \
|
|
|
|
sppp
|
1999-12-15 13:14:23 +00:00
|
|
|
.endif
|
|
|
|
|
2001-09-15 09:35:10 +00:00
|
|
|
.if defined(WANT_EXT2FS_MODULE)
|
|
|
|
SUBDIR+=ext2fs
|
|
|
|
.endif
|
|
|
|
|
2002-02-17 21:00:20 +00:00
|
|
|
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
|
2001-04-02 08:52:05 +00:00
|
|
|
SUBDIR=${MODULES_OVERRIDE}
|
|
|
|
.endif
|
|
|
|
|
2001-09-21 11:21:06 +00:00
|
|
|
# Calling kldxref(8) for each module is expensive.
|
|
|
|
.if !defined(NO_XREF)
|
|
|
|
.MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF
|
|
|
|
afterinstall:
|
|
|
|
-kldxref ${DESTDIR}${KMODDIR}
|
|
|
|
.endif
|
|
|
|
|
1994-09-16 20:24:29 +00:00
|
|
|
.include <bsd.subdir.mk>
|