431N/A#
431N/A# CDDL HEADER START
431N/A#
431N/A# The contents of this file are subject to the terms of the
431N/A# Common Development and Distribution License (the "License").
431N/A# You may not use this file except in compliance with the License.
431N/A#
431N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
431N/A# or http://www.opensolaris.org/os/licensing.
431N/A# See the License for the specific language governing permissions
431N/A# and limitations under the License.
431N/A#
431N/A# When distributing Covered Code, include this CDDL HEADER in each
431N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
431N/A# If applicable, add the following below this CDDL HEADER, with the
431N/A# fields enclosed by brackets "[]" replaced with your own identifying
431N/A# information: Portions Copyright [yyyy] [name of copyright owner]
431N/A#
431N/A# CDDL HEADER END
431N/A#
5680N/A
5680N/A#
5270N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
431N/A#
5680N/A# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
5680N/ABUILD_BITS= 32_and_64
431N/Ainclude ../../make-rules/shared-macros.mk
431N/A
431N/ACOMPONENT_NAME= libpcap
4759N/ACOMPONENT_VERSION= 1.7.4
618N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
844N/ACOMPONENT_ARCHIVE_HASH= \
4759N/A sha256:7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/libpcap
431N/A
4759N/ATPNO= 23891
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
431N/A
5027N/A# Rebuild the configure script so the man pages are normalized.
5027N/ACOMPONENT_PREP_ACTION = (cd $(@D); autoconf);
5027N/A
5680N/A# libpcap Makefile does not use CFLAGS when building shared library.
5680N/ALDFLAGS += $(CC_BITS)
1938N/A
5680N/ACFLAGS += -D_SYS_REGSET_H
5680N/ACFLAGS += -DHAVE_CONFIG_H
5680N/ACONFIGURE_OPTIONS += --disable-dbus
3817N/A
3817N/AREQUIRED_PACKAGES += developer/lexer/flex
3817N/AREQUIRED_PACKAGES += developer/parser/bison
3817N/AREQUIRED_PACKAGES += shell/ksh93
6951N/AREQUIRED_PACKAGES += system/network/bpf