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