components/gnome/glib-networking/Makefile
author John Beck <John.Beck@Oracle.COM>
Fri, 03 Jun 2016 07:52:56 -0700
changeset 6142 cd002d58f339
parent 6110 b24ce21531e2
child 6609 489da5c0d3c5
permissions -rw-r--r--
23526655 do not publish glib-networking when BUILD_TYPE=evaluation
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
#
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
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
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
TPNO=			25285
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
6142
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    39
# 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
    40
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
    41
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
    42
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
    43
PUBLISH_STAMP=
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    44
endif
cd002d58f339 23526655 do not publish glib-networking when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6110
diff changeset
    45
6110
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
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
    47
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
# 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
    49
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
    50
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
    51
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
    52
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
    53
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
    54
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
# Assumes GNU xgettext in PATH
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
# Delete this when build servers are installed with gsettings-desktop-schemas
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
SCHEMAS_ROOT = $(WS_COMPONENTS)/gnome/gsettings-desktop-schemas/build/prototype/$(MACH)
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
PKG_CONFIG_PATHS += $(SCHEMAS_ROOT)/usr/share/pkgconfig/
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
CONFIGURE_ENV += GSETTINGS_DESKTOP_SCHEMAS_CFLAGS="-I$(SCHEMAS_ROOT)/usr/include/gsettings-desktop-schemas" 
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
# special targets due to dependency on gsettings-desktop-schemas
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
../gsettings-desktop-schemas/build/%/.installed:
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
	(cd ../gsettings-desktop-schemas && $(GMAKE) install)
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
$(CONFIGURE_32):       ../gsettings-desktop-schemas/build/$(MACH32)/.installed
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
$(CONFIGURE_64):       ../gsettings-desktop-schemas/build/$(MACH64)/.installed
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
# end of Delete
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
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
    73
CONFIGURE_OPTIONS += --with-pkcs11=no
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
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
    75
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
# for the tests
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
unexport SHELLOPTS
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
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
    79
COMPONENT_TEST_ARGS =   -k -i
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
COMPONENT_TEST_TRANSFORMS += \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
        '-n ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
        '-e "/TOTAL:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
        '-e "/SKIP:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
        '-e "/PASS:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
        '-e "/FAIL:/p" ' \
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
        '-e "/ERROR:/p" '
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    87
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    88
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    89
REQUIRED_PACKAGES += developer/gnome/gettext
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    90
REQUIRED_PACKAGES += library/glib2
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    91
REQUIRED_PACKAGES += library/gnutls-3
b24ce21531e2 23245627 Deliver glib-networking 2.46.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    92
REQUIRED_PACKAGES += library/libproxy