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