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#
7008N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
431N/A#
431N/Ainclude ../../make-rules/shared-macros.mk
431N/A
431N/ACOMPONENT_NAME= libpcap
2323N/ACOMPONENT_VERSION= 1.5.1
618N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
431N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
431N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
2323N/A sha256:259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= library/libpcap
431N/A
3661N/ATPNO= 15968
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
431N/A
431N/A#
431N/A# libpcap Makefile does not use CFLAGS when building shared library
431N/A# so we require the following line to add the -m option to CC
431N/A#
431N/ACC += $(CC_BITS)
431N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
2323N/ACONFIGURE_OPTIONS += --disable-dbus
2323N/A
2323N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
431N/A
431N/A# common targets
431N/Abuild: $(BUILD_32_and_64)
431N/A
431N/Ainstall: $(INSTALL_32_and_64)
431N/A
431N/A
431N/Atest: $(NO_TESTS)
431N/A
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
7008N/AREQUIRED_PACKAGES += system/network/bpf