diff options
Diffstat (limited to 'sys/modules/if_trunk/Makefile')
-rw-r--r-- | sys/modules/if_trunk/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/modules/if_trunk/Makefile b/sys/modules/if_trunk/Makefile new file mode 100644 index 0000000..3284bff --- /dev/null +++ b/sys/modules/if_trunk/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +.PATH: ${.CURDIR}/../../net +KMOD= if_trunk +SRCS= if_trunk.c ieee8023ad_lacp.c opt_inet.h opt_inet6.h + +.if !defined(KERNBUILDDIR) +opt_inet.h: + echo "#define INET 1" > ${.TARGET} + +.if ${MK_INET6_SUPPORT} != "no" +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} +.endif +.endif + +.include <bsd.kmod.mk> |