diff options
Diffstat (limited to 'net/libpcap/builtin.mk')
-rw-r--r-- | net/libpcap/builtin.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/libpcap/builtin.mk b/net/libpcap/builtin.mk new file mode 100644 index 00000000000..546a9dbaa00 --- /dev/null +++ b/net/libpcap/builtin.mk @@ -0,0 +1,15 @@ +# $NetBSD: builtin.mk,v 1.1 2004/03/10 17:57:14 jlam Exp $ + +.if !defined(IS_BUILTIN.libpcap) +IS_BUILTIN.libpcap= no +. if exists(/usr/include/pcap.h) +IS_BUILTIN.libpcap= yes +. endif +.endif + +CHECK_BUILTIN.libpcap?= no +.if !empty(CHECK_BUILTIN.libpcap:M[yY][eE][sS]) +USE_BUILTIN.libpcap= yes +.endif + +USE_BUILTIN.libpcap?= ${IS_BUILTIN.libpcap} |