6116N/A#
6116N/A# CDDL HEADER START
6116N/A#
6116N/A# The contents of this file are subject to the terms of the
6116N/A# Common Development and Distribution License (the "License").
6116N/A# You may not use this file except in compliance with the License.
6116N/A#
6116N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6116N/A# or http://www.opensolaris.org/os/licensing.
6116N/A# See the License for the specific language governing permissions
6116N/A# and limitations under the License.
6116N/A#
6116N/A# When distributing Covered Code, include this CDDL HEADER in each
6116N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6116N/A# If applicable, add the following below this CDDL HEADER, with the
6116N/A# fields enclosed by brackets "[]" replaced with your own identifying
6116N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6116N/A#
6116N/A# CDDL HEADER END
6116N/A#
6116N/A
6116N/A#
6116N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6116N/A#
6116N/A
6116N/ABUILD_BITS = 32_and_64
6116N/A# All components using gobject-introspection must be built with gcc as
6116N/A# gobject-introspection does not produce correct results when using Studio.
6116N/ACOMPILER = gcc
6116N/Ainclude ../../../make-rules/shared-macros.mk
6116N/A
6116N/ACOMPONENT_NAME= libgtop
6116N/ACOMPONENT_VERSION= 2.30.0
6116N/ACOMPONENT_ARCHIVE_HASH= \
6116N/A sha256:463bcbe5737b1b93f3345ee34abf601e8eb864f507c49ff1921c2737abafc1e5
6116N/ACOMPONENT_BUGDB= gnome/libraries
6116N/A
6116N/ATPNO= 25827
6116N/A
6116N/ATEST_TARGET = $(NO_TESTS)
6116N/A
6135N/A# Needs gobject-introspection, not available on S11.
6135N/Aifeq ($(BUILD_TYPE), evaluation)
6135N/ABUILD_32_and_64=
6135N/AINSTALL_32_and_64=
6135N/APUBLISH_STAMP=
6135N/Aendif
6135N/A
6116N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6116N/A
6116N/A# Assumes GNU xgettext in PATH
6116N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6116N/A
6116N/ACONFIGURE_OPTIONS += --disable-static
6116N/A# Required for other components.
6116N/ACONFIGURE_OPTIONS += --enable-introspection
6116N/ACONFIGURE_OPTIONS += --enable-shared
6116N/ACONFIGURE_OPTIONS += --with-pic
6116N/ACONFIGURE_OPTIONS += --with-x
6116N/ACONFIGURE_OPTIONS += --enable-gtk-doc
6116N/A
6116N/A# Required due to patches.
6116N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6116N/A
6116N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6116N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6116N/AREQUIRED_PACKAGES += library/glib2
6116N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6116N/AREQUIRED_PACKAGES += x11/library/libxau