config root man

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

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/ipmon/Makefile

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

PROG=		ipmon
SRCS=		${GENHDRS} ipmon.c ipmon_y.c ipmon_l.c
MAN=		ipmon.8

CFLAGS+=	-DLOGFAC=LOG_LOCAL0 -I.

GENHDRS+=	ipmon_l.h ipmon_y.h
DPSRCS+=	${GENHDRS}

CLEANFILES+=	${GENHDRS} ipmon_y.c ipmon_l.c

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

ipmon_y.h: ipmon_y.c

ipmon_l.c: lexer.c
	sed -e 's/yy/ipmon_yy/g' \
	    -e 's/y.tab.h/ipmon_y.h/' \
	    -e 's/lexer.h/ipmon_l.h/' \
	    ${.ALLSRC} > ${.TARGET}

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

.include <bsd.prog.mk>

Man Man