components/gnome/libgtop/Makefile
author Laszlo Peter <laszlo.peter@oracle.com>
Thu, 08 Sep 2016 17:49:01 -0700
changeset 6869 63619dbf968d
parent 6137 f81b30a97f44
child 7687 1093e2a9adbd
permissions -rw-r--r--
24611050 warning from prep-patch.mk when running gmake clobber for neutron merge
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
6137
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6118
diff changeset
    42
# Needs gobject-introspection, not available on S11.
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6118
diff changeset
    43
ifeq ($(BUILD_TYPE), evaluation)
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6118
diff changeset
    44
BUILD_32_and_64=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6118
diff changeset
    45
INSTALL_32_and_64=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6118
diff changeset
    46
PUBLISH_STAMP=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6118
diff changeset
    47
endif
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6118
diff changeset
    48
6118
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
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
    50
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
# 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
    52
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
    53
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
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
    55
# 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
    56
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
    57
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
    58
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
    59
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
    60
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
    61
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
# 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
    63
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
    64
f0288987e55a 23245333 Move libgtop to Userland and update to 2.32.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
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
    66
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
    67
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
    68
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
    69
REQUIRED_PACKAGES += x11/library/libxau