1999-12-13 11:42:17 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2001-01-06 09:00:42 -05:00
|
|
|
.PATH: ${.CURDIR}/../../net
|
1999-12-13 11:42:17 -05:00
|
|
|
|
2001-01-06 09:00:42 -05:00
|
|
|
KMOD= if_ef
|
2008-12-02 16:37:28 -05:00
|
|
|
SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h opt_route.h
|
1999-12-13 11:42:17 -05:00
|
|
|
|
|
|
|
|
.if defined(EFDEBUG)
|
|
|
|
|
CFLAGS+= -DEF_DEBUG
|
|
|
|
|
.endif
|
|
|
|
|
|
2005-10-14 19:30:17 -04:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2006-02-24 07:27:09 -05: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 11:42:17 -05:00
|
|
|
opt_inet.h:
|
2006-08-14 09:28:53 -04:00
|
|
|
echo "#define INET 1" > ${.TARGET}
|
1999-12-13 11:42:17 -05:00
|
|
|
|
|
|
|
|
opt_ipx.h:
|
2006-08-14 09:28:53 -04:00
|
|
|
echo "#define IPX 1" > ${.TARGET}
|
1999-12-13 11:42:17 -05:00
|
|
|
|
2000-01-22 22:35:11 -05:00
|
|
|
opt_ef.h:
|
2006-08-14 09:28:53 -04:00
|
|
|
:> ${.TARGET}
|
2000-01-22 22:35:11 -05:00
|
|
|
.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP
|
|
|
|
|
.if defined(${frame})
|
2006-08-14 09:28:53 -04:00
|
|
|
echo "#define ${frame} 1" >> ${.TARGET}
|
2000-01-22 22:35:11 -05:00
|
|
|
.endif
|
|
|
|
|
.endfor
|
2005-10-14 19:30:17 -04:00
|
|
|
.endif
|
2000-01-22 22:35:11 -05:00
|
|
|
|
2000-05-26 21:14:33 -04:00
|
|
|
.include <bsd.kmod.mk>
|