Add support for mounting single files in nullfs
[freebsd.git] / sbin / ipf / Makefile.inc
1 #       $FreeBSD$
2
3 .include <src.opts.mk>
4
5 WARNS?=         2
6 NO_WFORMAT=
7 NO_WARRAY_BOUNDS=
8
9 CFLAGS+=        -I${SRCTOP}/sys
10 CFLAGS+=        -I${SRCTOP}/sys/netpfil/ipfilter
11 CFLAGS+=        -I${SRCTOP}/sbin/ipf/common
12 CFLAGS+=        -DSTATETOP -D__UIO_EXPOSE
13
14 .if ${MK_INET6_SUPPORT} != "no"
15 CFLAGS+=        -DUSE_INET6
16 .else
17 CFLAGS+=        -DNOINET6
18 .endif
19
20 .if ${.CURDIR:M*/libipf} == ""
21 LIBADD+=        ipf
22 .endif
23
24 CLEANFILES+=    y.tab.c y.tab.h
25
26 .PATH:  ${SRCTOP}/sbin/ipf/libipf               \
27         ${SRCTOP}/sbin/ipf/common
28
29 .include "../Makefile.inc"