components/gnome/libgee/Makefile
author zihao.zhu@oracle.com <zihao.zhu@oracle.com>
Tue, 18 Oct 2016 14:50:09 -0700
changeset 7123 b650e07ff9f6
parent 6137 f81b30a97f44
child 7687 1093e2a9adbd
permissions -rw-r--r--
24750381 python-ldap missing dependencies on pyasn1, pyasn1-modules
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6116
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            64_and_32
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		libgee
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	0.18.0
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
	sha256:4ad99ef937d071b4883c061df40bfe233f7649d50c354cf81235f180b4244399
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=        gnome/libraries
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TPNO=			24755
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
6137
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6116
diff changeset
    40
# Needs updated glib2, not available on S11.
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6116
diff changeset
    41
ifeq ($(BUILD_TYPE), evaluation)
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6116
diff changeset
    42
BUILD_32_and_64=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6116
diff changeset
    43
INSTALL_32_and_64=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6116
diff changeset
    44
PUBLISH_STAMP=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6116
diff changeset
    45
endif
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6116
diff changeset
    46
6116
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
include $(WS_MAKE_RULES)/gnome-component.mk
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --disable-static
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
# Required for other components.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --enable-introspection
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --enable-shared
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
# Required for other components.
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --enable-vala
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --with-pic
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
COMPONENT_TEST_ARGS =   -k -i
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
COMPONENT_TEST_TRANSFORMS += \
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
        '-n ' \
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
        '-e "/TOTAL:/p" ' \
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
        '-e "/SKIP:/p" ' \
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
        '-e "/PASS:/p" ' \
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
        '-e "/OK/p" ' \
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
        '-e "/FAIL:/p" '
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += developer/vala
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
50b34e598bb1 23245331 Move libgee to Userland and update to 0.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += library/glib2