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