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 you need only limited number of frames comment out unneeded ones
|
|
|
|
# this will reduce number of visible devices
|
2000-04-06 03:09:56 +00:00
|
|
|
ETHER_II=
|
1999-12-13 16:42:17 +00:00
|
|
|
ETHER_8023=
|
|
|
|
ETHER_8022=
|
|
|
|
ETHER_SNAP=
|
|
|
|
|
|
|
|
.if defined(EFDEBUG)
|
|
|
|
CFLAGS+= -DEF_DEBUG
|
|
|
|
.endif
|
|
|
|
|
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > opt_inet.h
|
|
|
|
|
|
|
|
opt_ipx.h:
|
|
|
|
echo "#define IPX 1" > opt_ipx.h
|
|
|
|
|
2000-01-23 03:35:11 +00:00
|
|
|
opt_ef.h:
|
|
|
|
.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP
|
|
|
|
.if defined(${frame})
|
|
|
|
echo "#define ${frame} 1" >> opt_ef.h
|
|
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
|
2000-05-27 01:14:33 +00:00
|
|
|
.include <bsd.kmod.mk>
|