01783b4c60
construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary and complementary functionality.
18 lines
510 B
Makefile
18 lines
510 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/09/06 21:22:49 adrian_p Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
LIBNET_BUILDLINK3_MK:= ${LIBNET_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= libnet
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet}
|
|
BUILDLINK_PACKAGES+= libnet
|
|
|
|
.if !empty(LIBNET_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.libnet+= libnet>=1.1.2.1
|
|
BUILDLINK_PKGSRCDIR.libnet?= ../../wip/libnet11
|
|
.endif # LIBNET_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|