|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 |
|
22 # |
|
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 BUILD_BITS = 64_and_32 |
|
27 COMPILER=gcc |
|
28 include ../../../make-rules/shared-macros.mk |
|
29 |
|
30 COMPONENT_NAME= glib-networking |
|
31 COMPONENT_VERSION= 2.46.0 |
|
32 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/GLib |
|
33 COMPONENT_ARCHIVE_HASH= \ |
|
34 sha256:3655526d6dbfc697c22cd9b279e14599f8449f5802b12d84485bdc52d96482f0 |
|
35 COMPONENT_BUGDB= gnome/glib |
|
36 |
|
37 TPNO= 25285 |
|
38 |
|
39 include $(WS_MAKE_RULES)/gnome-component.mk |
|
40 |
|
41 # Force use of gnutls-3 pkgconfig during 2.x->3.x transition |
|
42 PKG_CONFIG_PATHS.32 += /usr/lib/pkgconfig/gnutls-3 |
|
43 PKG_CONFIG_PATHS.64 += /usr/lib/$(MACH64)/pkgconfig/gnutls-3 |
|
44 PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS)) |
|
45 LD_OPTIONS.32 += -L /usr/lib/gnutls-3 -R /usr/lib/gnutls-3 |
|
46 LD_OPTIONS.64 += -L /usr/lib/$(MACH64)/gnutls-3 -R /usr/lib/$(MACH64)/gnutls-3 |
|
47 LD_OPTIONS += $(LD_OPTIONS.$(BITS)) |
|
48 |
|
49 # Assumes GNU xgettext in PATH |
|
50 CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH) |
|
51 |
|
52 # Delete this when build servers are installed with gsettings-desktop-schemas |
|
53 SCHEMAS_ROOT = $(WS_COMPONENTS)/gnome/gsettings-desktop-schemas/build/prototype/$(MACH) |
|
54 PKG_CONFIG_PATHS += $(SCHEMAS_ROOT)/usr/share/pkgconfig/ |
|
55 CONFIGURE_ENV += GSETTINGS_DESKTOP_SCHEMAS_CFLAGS="-I$(SCHEMAS_ROOT)/usr/include/gsettings-desktop-schemas" |
|
56 |
|
57 # special targets due to dependency on gsettings-desktop-schemas |
|
58 ../gsettings-desktop-schemas/build/%/.installed: |
|
59 (cd ../gsettings-desktop-schemas && $(GMAKE) install) |
|
60 |
|
61 $(CONFIGURE_32): ../gsettings-desktop-schemas/build/$(MACH32)/.installed |
|
62 $(CONFIGURE_64): ../gsettings-desktop-schemas/build/$(MACH64)/.installed |
|
63 # end of Delete |
|
64 |
|
65 CONFIGURE_OPTIONS += --with-ca-certificates=/etc/certs/ca-certificates.crt |
|
66 CONFIGURE_OPTIONS += --with-pkcs11=no |
|
67 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS)) |
|
68 |
|
69 # for the tests |
|
70 unexport SHELLOPTS |
|
71 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
|
72 COMPONENT_TEST_ARGS = -k -i |
|
73 COMPONENT_TEST_TRANSFORMS += \ |
|
74 '-n ' \ |
|
75 '-e "/TOTAL:/p" ' \ |
|
76 '-e "/SKIP:/p" ' \ |
|
77 '-e "/PASS:/p" ' \ |
|
78 '-e "/FAIL:/p" ' \ |
|
79 '-e "/ERROR:/p" ' |
|
80 |
|
81 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
|
82 REQUIRED_PACKAGES += developer/gnome/gettext |
|
83 REQUIRED_PACKAGES += library/glib2 |
|
84 REQUIRED_PACKAGES += library/gnutls-3 |
|
85 REQUIRED_PACKAGES += library/libproxy |