priv: Use PRIV_NETINET_RESERVEDPORT
[dragonfly.git] / sys / net / ef / Makefile
bloba5f5371644cb126289a7f6e34f5c738d976676c0
1 # $FreeBSD: src/sys/modules/if_ef/Makefile,v 1.2.2.2 2001/04/25 11:24:03 ru Exp $
2 # $DragonFly: src/sys/net/ef/Makefile,v 1.5 2005/11/22 09:36:58 swildner Exp $
4 .PATH: ${.CURDIR}/../../net
6 KMOD= if_ef
7 SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h
9 # If you need only limited number of frames comment out unneeded ones
10 # this will reduce number of visible devices
11 ETHER_II=
12 ETHER_8023=
13 ETHER_8022=
14 ETHER_SNAP=
16 CFLAGS+= ${PROTOS}
18 .if defined(EFDEBUG)
19 CFLAGS+= -DEF_DEBUG
20 .endif
22 .if !defined(BUILDING_WITH_KERNEL)
23 opt_inet.h:
24 echo "#define INET 1" > opt_inet.h
26 opt_ipx.h:
27 echo "#define IPX 1" > opt_ipx.h
28 .endif
30 opt_ef.h:
31 .for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP
32 .if defined(${frame})
33 echo "#define ${frame} 1" >> opt_ef.h
34 .endif
35 .endfor
37 .include <bsd.kmod.mk>