components/gnome/glib-networking/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 7687 1093e2a9adbd
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6110
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
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: 7527
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
6110
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS = 64_and_32
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
COMPILER=gcc
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		glib-networking
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_VERSION=	2.46.0
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Projects/GLib
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
    sha256:3655526d6dbfc697c22cd9b279e14599f8449f5802b12d84485bdc52d96482f0
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_BUGDB=	gnome/glib
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7527
diff changeset
    36
COMPONENT_ANITYA_ID=	10024
6110
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TPNO=			25285
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
6142
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    40
# Needs updated glib2, not available on S11.
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    41
ifeq ($(BUILD_TYPE), evaluation)
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    42
BUILD_32_and_64=
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    43
INSTALL_32_and_64=
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    44
PUBLISH_STAMP=
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    45
endif
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    46
6110
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
include $(WS_MAKE_RULES)/gnome-component.mk
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
# Force use of gnutls-3 pkgconfig during 2.x->3.x transition
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
PKG_CONFIG_PATHS.32 += /usr/lib/pkgconfig/gnutls-3
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
PKG_CONFIG_PATHS.64 += /usr/lib/$(MACH64)/pkgconfig/gnutls-3
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
LD_OPTIONS.32 += -L /usr/lib/gnutls-3 -R /usr/lib/gnutls-3
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
LD_OPTIONS.64 += -L /usr/lib/$(MACH64)/gnutls-3 -R /usr/lib/$(MACH64)/gnutls-3
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
# Assumes GNU xgettext in PATH
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
CONFIGURE_OPTIONS += --with-ca-certificates=/etc/certs/ca-certificates.crt
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --with-pkcs11=no
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
# for the tests
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
unexport SHELLOPTS
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
COMPONENT_TEST_ARGS =   -k -i
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
COMPONENT_TEST_TRANSFORMS += \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
        '-n ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
        '-e "/TOTAL:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
        '-e "/SKIP:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
        '-e "/PASS:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
        '-e "/FAIL:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
        '-e "/ERROR:/p" '
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
7527
352b7a456c30 25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6609
diff changeset
    76
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
352b7a456c30 25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6609
diff changeset
    77
REQUIRED_PACKAGES += developer/intltool
6609
489da5c0d3c5 24429749 improve gnome3 settings dependency tracking
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 6142
diff changeset
    78
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
6110
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += library/glib2
7527
352b7a456c30 25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6609
diff changeset
    80
REQUIRED_PACKAGES += library/gnome/gnome-common
6110
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += library/gnutls-3
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += library/libproxy
7527
352b7a456c30 25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6609
diff changeset
    83
REQUIRED_PACKAGES += text/gnu-gettext