Makefile revision 1258
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#
3621N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
363N/A#
364N/Ainclude ../../make-rules/shared-macros.mk
363N/A
797N/ACOMPONENT_NAME= wireshark
797N/ACOMPONENT_VERSION= 1.8.3
797N/ACOMPONENT_PROJECT_URL= http://www.wireshark.org/
797N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
797N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
797N/ACOMPONENT_ARCHIVE_HASH= \
5169N/A sha256:83a85ff506b5e2a70f03c49de7af291802404983a23c7779e0f4ac3e672a2fb3
797N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/src/all-versions/$(COMPONENT_ARCHIVE)
797N/ACOMPONENT_BUGDB= utility/wireshark
5169N/A
797N/Ainclude ../../make-rules/prep.mk
797N/Ainclude ../../make-rules/configure.mk
797N/Ainclude ../../make-rules/ips.mk
827N/A
5169N/APATCH_LEVEL=0
797N/A
2931N/ACONFIGURE_OPTIONS += --bindir=/usr/sbin
363N/ACONFIGURE_OPTIONS += --disable-usr-local
5169N/ACONFIGURE_OPTIONS += --disable-randpkt
2899N/ACONFIGURE_OPTIONS += --disable-dftest
4368N/ACONFIGURE_OPTIONS += --with-krb5
4368N/ACONFIGURE_OPTIONS += --with-lua=no
4368N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
4368N/ACONFIGURE_OPTIONS += PATH="/usr/perl5/bin:/usr/gnu/bin:$(PATH)"
4368N/A
4368N/A# We need to avoid RPATH=/usr/lib in Wireshark libraries so that we can
4368N/A# create successfully IPS package of different Wireshark branch than is
3817N/A# installed on build system without dependency errors.
3817N/ACOMPONENT_POST_CONFIGURE_ACTION = \
3817N/A (cd $(@D); \
3817N/A sed -e 's,-L/usr/lib -R/usr/lib,,' -e 's,-R/usr/lib,,' \
363N/A config.status > config.status.new; \
364N/A mv config.status.new config.status; \
1845N/A chmod 755 config.status; \
1845N/A ./config.status)
1845N/A
364N/Abuild: $(BUILD_32)
797N/A
797N/Ainstall: $(INSTALL_32)
797N/A
363N/Atest: $(NO_TESTS)
363N/A
363N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5123N/A
5123N/Ainclude ../../make-rules/depend.mk
5123N/A