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