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