1SRCDIR= ${.CURDIR}/ 2 3LIB= ipfw3basic 4SRCS= ipfw3_basic.c 5 6INCS= ipfw3_basic.h 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 20SHLIB_MAJOR=3 21 22# 23# Magic to grab sources out of src/contrib 24# 25LAYER2_DISTDIR?=${SRCDIR} 26CFLAGS+=-I${LAYER2_DISTDIR} 27.PATH: ${LAYER2_DISTDIR} 28 29.include <bsd.lib.mk> 30