netinet{,6}: Assert in{,6}_inithead() are only used for system routing tables.
[dragonfly.git] / lib / libipfw3 / layer4 / Makefile
1 SRCDIR= ${.CURDIR}/
2
3 LIB=    ipfw3layer4
4 SRCS=   ipfw3_layer4.c
5
6 INCS=   ipfw3_layer4.h
7
8
9 WARNS?= 2
10
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
19
20 LDADD=-lpcap
21 DPADD=${LIBPCAP}
22 SHLIB_MAJOR=3
23
24 #
25 # Magic to grab sources out of src/contrib
26 #
27 LAYER4_DISTDIR?=${SRCDIR}
28 CFLAGS+=-I${LAYER4_DISTDIR}
29 .PATH:  ${LAYER4_DISTDIR}
30
31 .include <bsd.lib.mk>