Makefile revision 256281
1178476Sjb# $FreeBSD: stable/10/sbin/ipf/ipsend/Makefile 145630 2005-04-28 16:26:35Z darrenr $ 2178476Sjb 3178476SjbNOGCCERROR= # defined 4178476Sjb 5178476Sjb.include <bsd.own.mk> 6178476Sjb 7178476SjbPROG= ipsend 8178476SjbSRCS= ipsend.c ip.c ipsopt.c iplang_y.c iplang_l.l sbpf.c \ 9178476Sjb sock.c 44arp.c 10178476SjbMAN= ipsend.1 ipsend.5 11178476SjbDPADD+= ${LIBL} 12178476SjbLDADD+= -ll 13178476Sjb 14178476SjbCFLAGS+= -I${NETBSDSRCDIR}/dist/ipf/ipsend 15178476SjbCFLAGS+= -I${NETBSDSRCDIR}/dist/ipf/iplang 16178476SjbCFLAGS+= -I. 17178476Sjb 18178476SjbCLEANFILES+= iplang_y.c iplang_y.h 19178476Sjb 20178476SjbDPSRCS+= iplang_y.h 21178476Sjb 22178476Sjb.PATH: ${NETBSDSRCDIR}/dist/ipf/ipsend \ 23178476Sjb ${NETBSDSRCDIR}/dist/ipf/iplang 24178476Sjb 25178476Sjbiplang_y.c: iplang_y.y 26178476Sjb ${YACC} -d ${.ALLSRC} 27178476Sjb mv y.tab.c ${.TARGET} 28178476Sjb mv y.tab.h ${.TARGET:.c=.h} 29178476Sjb 30178476Sjbiplang_y.h: iplang_y.c 31178476Sjb 32178476Sjb# XXX 33178476Sjb# We have a problem with make and linking ipsend 34178476Sjb# cc -o /home/source/src/usr.sbin/ipf/ipsend/../../../dist/ipf/ipsend ..... 35178476Sjb# isn't correct. 36178476Sjb# Use .NOPATH as an workaround for that problem 37178476Sjb.NOPATH: ipsend 38178476Sjb 39178476Sjb.include <bsd.prog.mk> 40178476Sjb