New ipfw2 for DragonflyBSD which is able to run parallelly with the original ipfw.
[dragonfly.git] / lib / libipfw2 / layer4 / Makefile
blob24a5d15f4dfdbcaf687417992406e92d882c838b
1 SRCDIR= ${.CURDIR}/
3 LIB= _ipfw_layer4
4 SRCS= ipfw_layer4.c
6 INCS= ipfw_layer4.h
9 WARNS?= 2
11 LFLAGS+=
12 YFLAGS+=
13 CFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR} -I${.OBJDIR}
14 CFLAGS+=-D_U_="__attribute__((unused))" -DYYBISON
15 CFLAGS+=-DHAVE_STRUCT_ETHER_ADDR -DHAVE_NET_PFVAR_H
16 .if !defined(NOINET6)
17 CFLAGS+=-DINET6
18 .endif
20 SHLIB_MAJOR=3
23 # Magic to grab sources out of src/contrib
25 LAYER2_DISTDIR?=${SRCDIR}
26 CFLAGS+=-I${LAYER2_DISTDIR}
27 .PATH: ${LAYER2_DISTDIR}
29 .include <bsd.lib.mk>