Makefile revision 5680
124N/A#
124N/A# CDDL HEADER START
124N/A#
124N/A# The contents of this file are subject to the terms of the
124N/A# Common Development and Distribution License (the "License").
124N/A# You may not use this file except in compliance with the License.
124N/A#
124N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
124N/A# or http://www.opensolaris.org/os/licensing.
124N/A# See the License for the specific language governing permissions
124N/A# and limitations under the License.
124N/A#
124N/A# When distributing Covered Code, include this CDDL HEADER in each
124N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
124N/A# If applicable, add the following below this CDDL HEADER, with the
124N/A# fields enclosed by brackets "[]" replaced with your own identifying
124N/A# information: Portions Copyright [yyyy] [name of copyright owner]
124N/A#
124N/A# CDDL HEADER END
124N/A#
5680N/A
5680N/A#
5230N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
124N/A#
5680N/ABUILD_BITS= 64
124N/Ainclude ../../make-rules/shared-macros.mk
124N/A
124N/ACOMPONENT_NAME= wireshark
5617N/ACOMPONENT_VERSION= 2.0.2
618N/ACOMPONENT_PROJECT_URL= http://www.wireshark.org/
124N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
5617N/A sha256:e921fb072085a5654d899949bb561d0687f4819f7b63ba35777bb949a9b6b9c1
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/src/all-versions/$(COMPONENT_ARCHIVE)
124N/A
5617N/ATPNO= 27086
2899N/A
5648N/A# Depends on S12-only changes in ON.
5648N/Aifeq ($(BUILD_TYPE), evaluation)
5648N/ABUILD_64=
5648N/AINSTALL_64=
5648N/APUBLISH_STAMP=
5648N/Aendif
5648N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
124N/A
2960N/A# Micro version for easy libraries packaging
2960N/AMICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
2960N/APKG_MACROS+= MICRO_VERSION=$(MICRO_VERSION)
2960N/A
124N/APATCH_LEVEL=0
124N/A
3069N/A# We don't have automake 1.14 yet. Thus need to reconfigure with older one.
3069N/ACOMPONENT_PREP_ACTION += ( cd $(@D) ; $(CONFIG_SHELL) autogen.sh );
3069N/A
5680N/ACONFIGURE_BINDIR.64= $(CONFIGURE_SBINDIR.64)
5680N/A
124N/ACONFIGURE_OPTIONS += --disable-usr-local
5617N/ACONFIGURE_OPTIONS += --disable-androiddump
124N/ACONFIGURE_OPTIONS += --disable-randpkt
124N/ACONFIGURE_OPTIONS += --disable-dftest
124N/ACONFIGURE_OPTIONS += --with-krb5
3878N/ACONFIGURE_OPTIONS += --with-qt=no
3878N/ACONFIGURE_OPTIONS += --with-gtk2=yes
5680N/ACONFIGURE_OPTIONS += PATH="$(USRDIR)/perl5/bin:$(GNUBIN):$(PATH)"
5680N/ACONFIGURE_OPTIONS += PKG_CONFIG_PATH=$(PKG_CONFIG_PATH.64)/gnutls-3
124N/A
765N/A# We need to avoid RPATH=/usr/lib in Wireshark libraries so that we can
765N/A# create successfully IPS package of different Wireshark branch than is
765N/A# installed on build system without dependency errors.
765N/ACOMPONENT_POST_CONFIGURE_ACTION = \
765N/A (cd $(@D); \
1792N/A sed -e 's,-R/usr/lib/$(MACH64),,' \
1792N/A -e 's,-R/usr/lib,,' \
1792N/A -e 's,-R\$$libdir,,' \
765N/A config.status > config.status.new; \
765N/A mv config.status.new config.status; \
765N/A chmod 755 config.status; \
765N/A ./config.status)
765N/A
3817N/AREQUIRED_PACKAGES += developer/lexer/flex
3817N/AREQUIRED_PACKAGES += developer/parser/bison
3817N/AREQUIRED_PACKAGES += diagnostic/wireshark/wireshark-common
3817N/AREQUIRED_PACKAGES += library/desktop/cairo
3817N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
3817N/AREQUIRED_PACKAGES += library/desktop/gtk2
3817N/AREQUIRED_PACKAGES += library/desktop/pango
3817N/AREQUIRED_PACKAGES += library/glib2
5111N/AREQUIRED_PACKAGES += library/gnutls-3
3817N/AREQUIRED_PACKAGES += library/security/libgpg-error
3817N/AREQUIRED_PACKAGES += library/zlib
3817N/AREQUIRED_PACKAGES += runtime/lua
3817N/AREQUIRED_PACKAGES += service/security/kerberos-5
3817N/AREQUIRED_PACKAGES += system/library/libpcap
3817N/AREQUIRED_PACKAGES += system/library/math
3817N/AREQUIRED_PACKAGES += system/library/security/libgcrypt
3817N/AREQUIRED_PACKAGES += x11/library/libx11
3817N/AREQUIRED_PACKAGES += x11/library/libxcursor