Makefile revision 1823
327N/A#
327N/A# CDDL HEADER START
327N/A#
327N/A# The contents of this file are subject to the terms of the
327N/A# Common Development and Distribution License (the "License").
327N/A# You may not use this file except in compliance with the License.
327N/A#
327N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
327N/A# or http://www.opensolaris.org/os/licensing.
327N/A# See the License for the specific language governing permissions
327N/A# and limitations under the License.
327N/A#
327N/A# When distributing Covered Code, include this CDDL HEADER in each
327N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
327N/A# If applicable, add the following below this CDDL HEADER, with the
327N/A# fields enclosed by brackets "[]" replaced with your own identifying
327N/A# information: Portions Copyright [yyyy] [name of copyright owner]
327N/A#
327N/A# CDDL HEADER END
327N/A#
327N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
327N/A#
3976N/Ainclude ../../make-rules/shared-macros.mk
327N/A
327N/ACOMPONENT_NAME= wireshark
327N/ACOMPONENT_VERSION= 1.10.0
327N/ACOMPONENT_PROJECT_URL= http://www.wireshark.org/
864N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
864N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
327N/ACOMPONENT_ARCHIVE_HASH= \
824N/A sha256:1f4b377ba6284a51797bcc437aa2918bfaeb5d30908cd6194bd09f7054c65add
327N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/src/all-versions/$(COMPONENT_ARCHIVE)
618N/ACOMPONENT_BUGDB= utility/wireshark
327N/A
844N/Ainclude ../../make-rules/prep.mk
844N/Ainclude ../../make-rules/configure.mk
327N/Ainclude ../../make-rules/ips.mk
1273N/A
327N/A# Enable ASLR for this component
3661N/AASLR_MODE = $(ASLR_ENABLE)
3661N/A
3996N/APATCH_LEVEL=0
3996N/A
3996N/ACONFIGURE_OPTIONS += --bindir=/usr/sbin
327N/ACONFIGURE_OPTIONS += --disable-usr-local
327N/ACONFIGURE_OPTIONS += --disable-randpkt
327N/ACONFIGURE_OPTIONS += --disable-dftest
327N/ACONFIGURE_OPTIONS += --with-krb5
327N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
327N/ACONFIGURE_OPTIONS += PATH="/usr/perl5/bin:/usr/gnu/bin:$(PATH)"
327N/A
327N/A# Use the 64-bit versions of pkg-config files
327N/ACONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
327N/A
327N/A# Version 1.10 (libwireshark.so) doesn't play nicely with -Bdirect.
327N/ALD_B_DIRECT=
327N/A
327N/A# We need to avoid RPATH=/usr/lib in Wireshark libraries so that we can
327N/A# create successfully IPS package of different Wireshark branch than is
327N/A# installed on build system without dependency errors.
327N/ACOMPONENT_POST_CONFIGURE_ACTION = \
327N/A (cd $(@D); \
327N/A sed -e 's,-R/usr/lib/$(MACH64),,' \
327N/A -e 's,-R/usr/lib,,' \
824N/A -e 's,-R\$$libdir,,' \
327N/A config.status > config.status.new; \
327N/A mv config.status.new config.status; \
327N/A chmod 755 config.status; \
327N/A ./config.status)
327N/A
327N/Abuild: $(BUILD_64)
327N/A
327N/Ainstall: $(INSTALL_64)
327N/A
327N/Atest: $(NO_TESTS)
327N/A
327N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
327N/A
327N/Ainclude ../../make-rules/depend.mk
327N/A