1999-12-13 16:42:17 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
.PATH: ${.CURDIR}/../../net
|
1999-12-13 16:42:17 +00:00
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
KMOD= if_ef
|
|
|
|
SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h
|
1999-12-13 16:42:17 +00:00
|
|
|
|
|
|
|
.if defined(EFDEBUG)
|
|
|
|
CFLAGS+= -DEF_DEBUG
|
|
|
|
.endif
|
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2006-02-24 12:27:09 +00:00
|
|
|
# If you need only a limited number of frames, uncomment the needed ones.
|
|
|
|
# This will reduce the number of visible devices. Note that the module
|
|
|
|
# will support all frames by default, i.e., when all are commented here.
|
|
|
|
#ETHER_II=
|
|
|
|
#ETHER_8023=
|
|
|
|
#ETHER_8022=
|
|
|
|
#ETHER_SNAP=
|
|
|
|
|
1999-12-13 16:42:17 +00:00
|
|
|
opt_inet.h:
|
2006-08-14 13:28:53 +00:00
|
|
|
echo "#define INET 1" > ${.TARGET}
|
1999-12-13 16:42:17 +00:00
|
|
|
|
|
|
|
opt_ipx.h:
|
2006-08-14 13:28:53 +00:00
|
|
|
echo "#define IPX 1" > ${.TARGET}
|
1999-12-13 16:42:17 +00:00
|
|
|
|
2000-01-23 03:35:11 +00:00
|
|
|
opt_ef.h:
|
2006-08-14 13:28:53 +00:00
|
|
|
:> ${.TARGET}
|
2000-01-23 03:35:11 +00:00
|
|
|
.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP
|
|
|
|
.if defined(${frame})
|
2006-08-14 13:28:53 +00:00
|
|
|
echo "#define ${frame} 1" >> ${.TARGET}
|
2000-01-23 03:35:11 +00:00
|
|
|
.endif
|
|
|
|
.endfor
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2000-01-23 03:35:11 +00:00
|
|
|
|
2000-05-27 01:14:33 +00:00
|
|
|
.include <bsd.kmod.mk>
|