xref: /freebsd/sys/modules/if_lagg/Makefile (revision 39beb93c3f8bdbf72a61fda42300b5ebed7390c8)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5.PATH:	${.CURDIR}/../../net
6KMOD=	if_lagg
7SRCS=	if_lagg.c ieee8023ad_lacp.c opt_inet.h opt_inet6.h
8
9.if !defined(KERNBUILDDIR)
10opt_inet.h:
11	echo "#define INET 1" > ${.TARGET}
12
13.if ${MK_INET6_SUPPORT} != "no"
14opt_inet6.h:
15	echo "#define INET6 1" > ${.TARGET}
16.endif
17.endif
18
19.include <bsd.kmod.mk>
20