xref: /freebsd/sys/modules/ipdivert/Makefile (revision 864c53ead899f7838cd2e1cca3b485a4a82f5cdc)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5.PATH: ${.CURDIR}/../../netinet
6
7KMOD=   ipdivert
8SRCS=   ip_divert.c opt_inet.h opt_inet6.h opt_sctp.h
9
10.if !defined(KERNBUILDDIR)
11.if ${MK_INET_SUPPORT} != "no"
12opt_inet.h:
13	echo "#define INET 1" > ${.TARGET}
14.endif
15.if ${MK_INET6_SUPPORT} != "no"
16opt_inet6.h:
17	echo "#define INET6 1" > ${.TARGET}
18.endif
19.endif
20
21.include <bsd.kmod.mk>
22