diff options
author | darrenr <darrenr@FreeBSD.org> | 2005-04-25 18:55:52 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2005-04-25 18:55:52 +0000 |
commit | 0010fa7c211a53151ec98ece7065605e88f2ceff (patch) | |
tree | 6579d10bd047efc062e0bf08843a91eb486bdfc5 /sbin/ipf/ipsend | |
parent | b4b1fd25b484b2a4e83ed288a19883238e00d3d3 (diff) | |
download | FreeBSD-src-0010fa7c211a53151ec98ece7065605e88f2ceff.zip FreeBSD-src-0010fa7c211a53151ec98ece7065605e88f2ceff.tar.gz |
create a new build heirarchy for ipfilter tools
Diffstat (limited to 'sbin/ipf/ipsend')
-rw-r--r-- | sbin/ipf/ipsend/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sbin/ipf/ipsend/Makefile b/sbin/ipf/ipsend/Makefile new file mode 100644 index 0000000..f555c37 --- /dev/null +++ b/sbin/ipf/ipsend/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +NOGCCERROR= # defined + +.include <bsd.own.mk> + +PROG= ipsend +SRCS= ipsend.c ip.c ipsopt.c iplang_y.c iplang_l.l sbpf.c \ + sock.c 44arp.c +MAN= ipsend.1 ipsend.5 +DPADD+= ${LIBL} +LDADD+= -ll + +CFLAGS+= -I${NETBSDSRCDIR}/dist/ipf/ipsend +CFLAGS+= -I${NETBSDSRCDIR}/dist/ipf/iplang +CFLAGS+= -I. + +CLEANFILES+= iplang_y.c iplang_y.h + +DPSRCS+= iplang_y.h + +.PATH: ${NETBSDSRCDIR}/dist/ipf/ipsend \ + ${NETBSDSRCDIR}/dist/ipf/iplang + +iplang_y.c: iplang_y.y + ${_MKTARGET_CREATE} + ${YACC} -d ${.ALLSRC} + mv y.tab.c ${.TARGET} + mv y.tab.h ${.TARGET:.c=.h} + +iplang_y.h: iplang_y.c + +# XXX +# We have a problem with make and linking ipsend +# cc -o /home/source/src/usr.sbin/ipf/ipsend/../../../dist/ipf/ipsend ..... +# isn't correct. +# Use .NOPATH as an workaround for that problem +.NOPATH: ipsend + +.include <bsd.prog.mk> |