]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/if_carp/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / if_carp / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../netinet
4
5 .include <bsd.own.mk>
6
7 KMOD=   if_carp
8 SRCS=   ip_carp.c
9 SRCS+=  opt_carp.h opt_bpf.h opt_inet.h opt_inet6.h vnode_if.h
10
11 .if !defined(KERNBUILDDIR)
12 .if ${MK_INET_SUPPORT} != "no"
13 opt_inet.h:
14         @echo "#define INET 1" > ${.TARGET}
15 .endif
16
17 .if ${MK_INET6_SUPPORT} != "no"
18 opt_inet6.h:
19         @echo "#define INET6 1" > ${.TARGET}
20 .endif
21 .endif
22
23 .include <bsd.kmod.mk>