Makefile revision 3661
256N/A#
256N/A# CDDL HEADER START
256N/A#
256N/A# The contents of this file are subject to the terms of the
256N/A# Common Development and Distribution License (the "License").
256N/A# You may not use this file except in compliance with the License.
256N/A#
256N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
256N/A# or http://www.opensolaris.org/os/licensing.
256N/A# See the License for the specific language governing permissions
256N/A# and limitations under the License.
256N/A#
256N/A# When distributing Covered Code, include this CDDL HEADER in each
256N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
256N/A# If applicable, add the following below this CDDL HEADER, with the
256N/A# fields enclosed by brackets "[]" replaced with your own identifying
256N/A# information: Portions Copyright [yyyy] [name of copyright owner]
256N/A#
256N/A# CDDL HEADER END
256N/A#
256N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
256N/A#
844N/Ainclude ../../make-rules/shared-macros.mk
256N/A
256N/ACOMPONENT_NAME= libpcap
256N/ACOMPONENT_VERSION= 1.5.1
256N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
256N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
256N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
256N/ACOMPONENT_ARCHIVE_HASH= \
256N/A sha256:259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4
844N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
844N/ACOMPONENT_BUGDB= library/libpcap
256N/A
256N/ATPNO= 15968
256N/A
256N/Ainclude ../../make-rules/prep.mk
256N/Ainclude ../../make-rules/configure.mk
256N/Ainclude ../../make-rules/ips.mk
256N/A
256N/A#
256N/A# libpcap Makefile does not use CFLAGS when building shared library
256N/A# so we require the following line to add the -m option to CC
256N/A#
256N/ACC += $(CC_BITS)
256N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
256N/ACONFIGURE_OPTIONS += --disable-dbus
256N/A
256N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
256N/A
256N/A# common targets
256N/Abuild: $(BUILD_32_and_64)
256N/A
256N/Ainstall: $(INSTALL_32_and_64)
256N/A
256N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
256N/A
test: $(NO_TESTS)
include ../../make-rules/depend.mk