ipfw3: support bpf filter in layer4 module
[dragonfly.git] / lib / libipfw3 / layer4 / Makefile
CommitLineData
105c533e
BY
1SRCDIR= ${.CURDIR}/
2
6a03354e
MD
3LIB= ipfw3layer4
4SRCS= ipfw3_layer4.c
105c533e 5
6a03354e 6INCS= ipfw3_layer4.h
105c533e
BY
7
8
9WARNS?= 2
10
11LFLAGS+=
12YFLAGS+=
13CFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR} -I${.OBJDIR}
14CFLAGS+=-D_U_="__attribute__((unused))" -DYYBISON
15CFLAGS+=-DHAVE_STRUCT_ETHER_ADDR -DHAVE_NET_PFVAR_H
16.if !defined(NOINET6)
17CFLAGS+=-DINET6
18.endif
19
e895e94d
BY
20LDADD=-lpcap
21DPADD=${LIBPCAP}
105c533e
BY
22SHLIB_MAJOR=3
23
24#
25# Magic to grab sources out of src/contrib
26#
e895e94d
BY
27LAYER4_DISTDIR?=${SRCDIR}
28CFLAGS+=-I${LAYER4_DISTDIR}
29.PATH: ${LAYER4_DISTDIR}
105c533e
BY
30
31.include <bsd.lib.mk>