components/gnome/libgtop/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 31 May 2016 12:38:42 -0700
changeset 6118 f0288987e55a
child 6137 f81b30a97f44
permissions -rw-r--r--
23245333 Move libgtop to Userland and update to 2.32.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6118
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            32_and_64
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		libgtop
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	2.30.0
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
	sha256:463bcbe5737b1b93f3345ee34abf601e8eb864f507c49ff1921c2737abafc1e5
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=        gnome/libraries
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TPNO=			25827
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
TEST_TARGET = $(NO_TESTS)
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/gnome-component.mk
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
# Assumes GNU xgettext in PATH
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS += --disable-static
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
# Required for other components.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --enable-introspection
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --enable-shared
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --with-pic
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --with-x
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_OPTIONS += --enable-gtk-doc
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
# Required due to patches.
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
REQUIRED_PACKAGES += library/glib2
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
REQUIRED_PACKAGES += x11/library/libxau