Makefile revision 124717
1# $FreeBSD: head/sys/modules/if_ef/Makefile 124717 2004-01-19 14:00:26Z ru $
2
3.PATH: ${.CURDIR}/../../net
4
5KMOD=	if_ef
6SRCS=	if_ef.c opt_ipx.h opt_inet.h opt_ef.h
7
8# If you need only limited number of frames comment out unneeded ones
9# this will reduce number of visible devices
10ETHER_II=
11ETHER_8023=
12ETHER_8022=
13ETHER_SNAP=
14
15.if defined(EFDEBUG)
16CFLAGS+= -DEF_DEBUG
17.endif
18
19opt_inet.h:
20	echo "#define INET 1" > opt_inet.h
21
22opt_ipx.h:
23	echo "#define IPX 1" > opt_ipx.h
24
25opt_ef.h:
26.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP
27.if defined(${frame})
28	echo "#define ${frame} 1" >> opt_ef.h
29.endif
30.endfor
31
32.include <bsd.kmod.mk>
33