Makefile revision 6670
72N/A#
72N/A# CDDL HEADER START
72N/A#
72N/A# The contents of this file are subject to the terms of the
72N/A# Common Development and Distribution License (the "License").
72N/A# You may not use this file except in compliance with the License.
72N/A#
72N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
72N/A# or http://www.opensolaris.org/os/licensing.
72N/A# See the License for the specific language governing permissions
72N/A# and limitations under the License.
72N/A#
72N/A# When distributing Covered Code, include this CDDL HEADER in each
72N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
72N/A# If applicable, add the following below this CDDL HEADER, with the
72N/A# fields enclosed by brackets "[]" replaced with your own identifying
72N/A# information: Portions Copyright [yyyy] [name of copyright owner]
72N/A#
72N/A# CDDL HEADER END
72N/A#
5680N/A
72N/A#
5680N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/A
4552N/ABUILD_BITS = 64
4552N/A# All components using gobject-introspection must be built with gcc as
72N/A# gobject-introspection does not produce correct results when using Studio.
72N/ACOMPILER=gcc
72N/Ainclude ../../../make-rules/shared-macros.mk
4546N/A
72N/ACOMPONENT_NAME= libgdata
844N/ACOMPONENT_VERSION= 0.17.3
4546N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/libgdata
1258N/ACOMPONENT_ARCHIVE_HASH= \
72N/A sha256:ff280b031c50a99ed735c3fa18fbea9ae3e4cc5e3d7dd58ebae09994b01b513b
4546N/ACOMPONENT_BUGDB= gnome/libraries
2899N/A
5680N/ATPNO= 25082
5680N/A
72N/A# Needs gobject-introspection, not available on S11.
4546N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
4546N/A
4546N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
4546N/A
4546N/A# Documentation XML is malformed; skip building.
574N/ACONFIGURE_OPTIONS += --disable-gtk-doc
574N/ACONFIGURE_OPTIONS += --disable-static
574N/A# Required for other components.
5680N/ACONFIGURE_OPTIONS += --enable-gnome
5680N/ACONFIGURE_OPTIONS += --enable-goa
5680N/A# Required for other components.
5680N/ACONFIGURE_OPTIONS += --enable-introspection
5680N/A# Required for other components.
72N/ACONFIGURE_OPTIONS += --enable-vala
4546N/ACONFIGURE_OPTIONS += --with-pic
4546N/A
72N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
4546N/A
4546N/A# Delete once builds servers have goa installed
4546N/AGOA_BASE = $(WS_COMPONENTS)/gnome/gnome-online-accounts/build/prototype/$(MACH)
4546N/APKG_CONFIG_PATHS += $(GOA_BASE)/usr/lib/$(MACH64)/pkgconfig
4038N/A
3817N/ALD_OPTIONS += -L $(GOA_BASE)$(USRLIB.$(BITS))
3817N/A
3817N/ACONFIGURE_ENV += GNOME_CFLAGS="-D_REENTRANT -I$(GOA_BASE)/usr/include/goa-1.0 -I$(GOA_BASE)/usr/lib/$(MACH64)/goa-1.0/include -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/$(MACH64)/glib-2.0/include"
4037N/A
3817N/ACOMPONENT_BUILD_ENV += \
XDG_DATA_DIRS="$(GOA_BASE)/usr/share/:/usr/share/"
COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_64="$(GOA_BASE)$(USRLIB.$(BITS)):$(BUILD_DIR_64)/gdata/.libs"
# The dependency isn't installed, so add it manually since pkgdepend
# can't resolve them yet: 15708323
DEPENDED += $(WS_TOP)/components/gnome/gnome-online-accounts/build/manifest-$(MACH)-gnome-online-accounts.depend
# Temporary until dependencies are all on build machines
REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../gnome-online-accounts/Makefile)
#end Delete
# for the tests
unexport SHELLOPTS
COMPONENT_TEST_ARGS = -k -i
COMPONENT_TEST_TRANSFORMS += \
'-n ' \
'-e "/TOTAL:/p" ' \
'-e "/SKIP:/p" ' \
'-e "/PASS:/p" ' \
'-e "/FAIL:/p" ' \
'-e "/ERROR:/p" '
REQUIRED_PACKAGES += developer/vala
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/gnome/gcr
REQUIRED_PACKAGES += library/gnome/gnome-online-accounts
REQUIRED_PACKAGES += library/json-glib
REQUIRED_PACKAGES += library/liboauth
REQUIRED_PACKAGES += library/libsoup
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += library/uhttpmock
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime