Makefile revision 6336
6336N/A#
6336N/A# CDDL HEADER START
6336N/A#
6336N/A# The contents of this file are subject to the terms of the
6336N/A# Common Development and Distribution License (the "License").
6336N/A# You may not use this file except in compliance with the License.
6336N/A#
6336N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6336N/A# or http://www.opensolaris.org/os/licensing.
6336N/A# See the License for the specific language governing permissions
6336N/A# and limitations under the License.
6336N/A#
6336N/A# When distributing Covered Code, include this CDDL HEADER in each
6336N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6336N/A# If applicable, add the following below this CDDL HEADER, with the
6336N/A# fields enclosed by brackets "[]" replaced with your own identifying
6336N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6336N/A#
6336N/A# CDDL HEADER END
6336N/A#
6336N/A
6336N/A#
6336N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6336N/A#
6336N/A
6336N/ABUILD_BITS = 64_and_32
6336N/A# All components using gobject-introspection must be built with gcc as
6336N/A# gobject-introspection does not produce correct results when using Studio.
6336N/ACOMPILER = gcc
6336N/Ainclude ../../../make-rules/shared-macros.mk
6336N/A
6336N/ACOMPONENT_NAME= grilo
6336N/ACOMPONENT_VERSION= 0.2.14
6336N/ACOMPONENT_ARCHIVE_HASH= \
6336N/A sha256:79c82ea1747ae7430a648aa9660e44d88d48c968bcdaeb3b2c5cb97e1c921ccd
6336N/ACOMPONENT_BUGDB= gnome/multimedia
6336N/A
6336N/ATPNO= 25361
6336N/A
6336N/A# Tests don't seem to do anything - 23712784
6336N/ATEST_TARGET = $(SKIP_TEST)
6336N/A
6336N/A# Needs gobject-introspection, not available on S11.
6336N/Aifeq ($(BUILD_TYPE), evaluation)
6336N/ABUILD_32_and_64=
6336N/AINSTALL_32_and_64=
6336N/APUBLISH_STAMP=
6336N/Aendif
6336N/A
6336N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6336N/A
6336N/A# Assumes GNU xgettext in PATH
6336N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6336N/A
6336N/ACONFIGURE_OPTIONS += --disable-debug
6336N/ACONFIGURE_OPTIONS += --disable-static
6336N/ACONFIGURE_OPTIONS += --enable-gtk-doc
6336N/A# Required for other components.
6336N/ACONFIGURE_OPTIONS += --enable-introspection
6336N/ACONFIGURE_OPTIONS += --enable-grl-net
6336N/ACONFIGURE_OPTIONS += --enable-grl-pls
6336N/ACONFIGURE_OPTIONS += --enable-shared
6336N/A# Required for other components.
6336N/ACONFIGURE_OPTIONS += --enable-vala
6336N/ACONFIGURE_OPTIONS += --with-pic
6336N/A
6336N/A# Delete when build servers are installed with an updated totem-pl-parser
6336N/ATPP_BASE = $(WS_COMPONENTS)/gnome/totem-pl-parser/build/prototype/$(MACH)
6336N/APKG_CONFIG_PATHS.32 += $(TPP_BASE)/usr/lib/pkgconfig/
6336N/APKG_CONFIG_PATHS.64 += $(TPP_BASE)/usr/lib/$(MACH64)/pkgconfig/
6336N/APKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
6336N/A
6336N/ALD_OPTIONS.32 += -L $(TPP_BASE)/usr/lib
6336N/ALD_OPTIONS.64 += -L $(TPP_BASE)/usr/lib/$(MACH64)
6336N/ALD_OPTIONS += $(LD_OPTIONS.$(BITS))
6336N/A
6336N/ACONFIGURE_ENV += TOTEM_PL_PARSER_CFLAGS="-I$(TPP_BASE)/usr/include/totem-pl-parser/1/plparser"
6336N/A
6336N/A# Work around pkgdepend bug which doesn't resolve dependencies from
6336N/A# the local workspace repo.
6336N/ADEPENDED += $(WS_TOP)/components/gnome/totem-pl-parser/build/manifest-$(MACH)-totem-pl-parser.depend
6336N/A
6336N/A# Temporary until dependencies are all on build machines
6336N/AREQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../totem-pl-parser/Makefile)
6336N/A#end Delete
6336N/A
6336N/A
6336N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6336N/AREQUIRED_PACKAGES += developer/vala
6336N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6336N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6336N/AREQUIRED_PACKAGES += library/glib2
6336N/AREQUIRED_PACKAGES += library/libsoup
6336N/AREQUIRED_PACKAGES += library/libxml2
6336N/AREQUIRED_PACKAGES += library/media-player/totem-pl-parser
6336N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime