components/gnome/glibmm/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6576 99e71636f56d
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6576
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6576
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
6576
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            32_and_64
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# For now, all things built for C++11 require gcc.
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
COMPILER =              gcc
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
include ../../../make-rules/shared-macros.mk
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_NAME=		glibmm
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_VERSION=	2.46.2
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_PROJECT_URL=	https://developer.gnome.org/glibmm/stable/
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH= \
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
    sha256:7221a01a768c1cce2bb994cb6ebfe634246dba4788f910484d04e3b0d903a3c8
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=	gnome/libraries
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6576
diff changeset
    37
COMPONENT_ANITYA_ID=	7960
6576
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
TPNO=			25778
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
# Needs updated glib2, not available on S11.
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
ifeq ($(BUILD_TYPE), evaluation)
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
BUILD_32_and_64=
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
INSTALL_32_and_64=
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
PUBLISH_STAMP=
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
endif
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
include $(WS_MAKE_RULES)/gnome-component.mk
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CXXFLAGS += -std=c++11
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
# for the tests
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
unexport SHELLOPTS
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
COMPONENT_TEST_ARGS =   -k -i
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
COMPONENT_TEST_TRANSFORMS += \
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
        '-n ' \
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
        '-e "/TOTAL:/p" ' \
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
        '-e "/SKIP:/p" ' \
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
        '-e "/PASS:/p" ' \
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
        '-e "/FAIL:/p" ' \
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
        '-e "/ERROR:/p" '
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
REQUIRED_PACKAGES += developer/documentation-tool/doxygen
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
REQUIRED_PACKAGES += image/graphviz
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += library/c++/sigcpp
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += library/glib2
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += library/libxslt
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += $(PERL_PKG) 
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
99e71636f56d 23245297 Move glibmm to Userland and update to 2.46.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime