Makefile revision 618
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#
431N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
431N/A#
431N/Ainclude ../../make-rules/shared-macros.mk
431N/A
431N/ACOMPONENT_NAME= libpcap
431N/ACOMPONENT_VERSION= 1.1.1
618N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
431N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
431N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
431N/ACOMPONENT_ARCHIVE_HASH= sha1:18581af5e78a40b7b2c9a6cd8ce40e7cb1cd9c63
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
431N/A
431N/Ainclude ../../make-rules/prep.mk
431N/Ainclude ../../make-rules/configure.mk
431N/Ainclude ../../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"
431N/A
431N/A# common targets
431N/Abuild: $(BUILD_32_and_64)
431N/A
431N/Ainstall: $(INSTALL_32_and_64)
431N/A
431N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
431N/A
431N/Atest: $(NO_TESTS)
431N/A
431N/Ainclude ../../make-rules/depend.mk