config root man

Current Path : /usr/src/sbin/ipf/ipf/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/sbin/ipf/ipf/Makefile

# $FreeBSD: release/9.1.0/sbin/ipf/ipf/Makefile 162199 2006-09-10 08:58:47Z obrien $

PROG=		ipf
SRCS=		${GENHDRS} 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. -DIPFILTER_BPF

GENHDRS=	ipf_l.h ipf_y.h
DPSRCS+=	${GENHDRS}

CLEANFILES+=	${GENHDRS} ipf_y.c ipf_l.c

ipf_y.c: ipf_y.y
	${YACC} -d ${.ALLSRC}
	sed -e 's/yy/ipf_yy/g' \
	    -e 's/"ipf_y.y"/"..\/tools\/ipf_y.y"/' \
	    y.tab.c > ${.TARGET}
	sed -e 's/yy/ipf_yy/g' \
	    y.tab.h > ${.TARGET:.c=.h}

ipf_y.h: ipf_y.c

ipf_l.c: lexer.c
	sed -e 's/yy/ipf_yy/g' \
	    -e 's/y.tab.h/ipf_y.h/' \
	    -e 's/lexer.h/ipf_l.h/' \
	    ${.ALLSRC} > ${.TARGET}

ipf_l.h: lexer.h
	sed -e 's/yy/ipf_yy/g' \
	    ${.ALLSRC} > ${.TARGET}

.if defined(RESCUE)
LIBIPF_SRCS!=	cd ${.CURDIR}/../libipf && ${MAKE} -V SRCS
SRCS+=	${LIBIPF_SRCS}
.else
DPADD+=	${LIBPCAP}
LDADD+=	-lpcap
.endif

.include <bsd.prog.mk>

Man Man