]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/modules/pfsync/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / modules / pfsync / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .PATH: ${.CURDIR}/../../netpfil/pf
6
7 KMOD=   pfsync
8 SRCS=   if_pfsync.c \
9         opt_pf.h opt_inet.h opt_inet6.h
10 SRCS+=  bus_if.h device_if.h
11
12 .if defined(KERNBUILDDIR)
13 MKDEP+=         -include ${KERNBUILDDIR}/opt_global.h
14 .else
15 .if ${MK_INET_SUPPORT} != "no"
16 opt_inet.h:
17         echo "#define INET 1" > ${.TARGET}
18 .endif
19
20 .if ${MK_INET6_SUPPORT} != "no"
21 opt_inet6.h:
22         echo "#define INET6 1" > ${.TARGET}
23 .endif
24
25 .if defined(VIMAGE)
26 opt_global.h:
27         echo "#define VIMAGE 1" >> ${.TARGET}
28 CFLAGS+=        -include opt_global.h
29 MKDEP+=         -include opt_global.h
30 .endif
31 .endif
32
33 .include <bsd.kmod.mk>