New ipfw2 for DragonflyBSD which is able to run parallelly with the original ipfw.
[dragonfly.git] / lib / libipfw2 / basic / Makefile
blob67faf5c2045023cf44b0ac4f560027df15f9d3cc
1 SRCDIR= ${.CURDIR}/
3 LIB= _ipfw_basic
4 SRCS= ipfw_basic.c
6 INCS= ipfw_basic.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>