diff options
Diffstat (limited to 'sbin/ipf')
-rw-r--r-- | sbin/ipf/ipf/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/ipf/ipf/Makefile b/sbin/ipf/ipf/Makefile index 820de39..e0b887f 100644 --- a/sbin/ipf/ipf/Makefile +++ b/sbin/ipf/ipf/Makefile @@ -1,10 +1,10 @@ # $FreeBSD$ PROG= ipf -SRCS= ipf.c ipfcomp.c ipf_y.c ipf_l.c +SRCS= ipf.c ipfcomp.c ipf_y.c ipf_l.c bpf_filter.c MAN= ipf.8 ipf.4 ipf.5 ipl.4 MLINKS= ipl.4 ipfilter.4 ipf.5 ipf.conf.5 ipf.5 ipf6.conf.5 -CFLAGS+= -I. +CFLAGS+= -I. -DIPFILTER_BPF DPSRCS+= ipf_l.h ipf_y.h @@ -34,6 +34,8 @@ ipf_l.h: lexer.h .if defined(RESCUE) LIBIPF_SRCS!= cd ${.CURDIR}/../libipf && ${MAKE} -V SRCS SRCS+= ${LIBIPF_SRCS} +.else +LDADD+= -lpcap .endif .include <bsd.prog.mk> |