5889N/A#
5889N/A# CDDL HEADER START
5889N/A#
5889N/A# The contents of this file are subject to the terms of the
5889N/A# Common Development and Distribution License (the "License").
5889N/A# You may not use this file except in compliance with the License.
5889N/A#
5889N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5889N/A# or http://www.opensolaris.org/os/licensing.
5889N/A# See the License for the specific language governing permissions
5889N/A# and limitations under the License.
5889N/A#
5889N/A# When distributing Covered Code, include this CDDL HEADER in each
5889N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5889N/A# If applicable, add the following below this CDDL HEADER, with the
5889N/A# fields enclosed by brackets "[]" replaced with your own identifying
5889N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5889N/A#
5889N/A# CDDL HEADER END
5889N/A#
5889N/A
5889N/A#
5889N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5889N/A#
5889N/A
5889N/A#
5889N/A# This file sets up the standard, default options and base requirements for
5889N/A# GNOME userland components.
5889N/A#
5889N/ACOMPONENT_PROJECT_URL ?= https://www.gnome.org/
5889N/ACOMPONENT_MAJOR_MINOR ?= $(basename $(COMPONENT_VERSION))
6909N/ACOMPONENT_ARCHIVE ?= $(COMPONENT_SRC).tar.xz
5889N/ACOMPONENT_ARCHIVE_URL ?= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MAJOR_MINOR)/$(COMPONENT_ARCHIVE)
5889N/A
5889N/APKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/gnome-incorporation
5889N/A
5889N/Ainclude $(WS_MAKE_RULES)/common.mk
5889N/A
5889N/ACONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
5889N/ACONFIGURE_OPTIONS += --localstatedir="$(VARDIR)"
5889N/A
5889N/A# Some components require an architecture-specific directory for their
5889N/A# configuration, so these are specified per-bits.
5889N/AETCDIR.32 ?= $(ETCDIR)
5889N/AETCDIR.64 ?= $(ETCDIR)
5889N/ACONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR.$(BITS))"
5889N/A
5889N/A# configure generally requires GNU make explicitly.
5889N/ACONFIGURE_ENV += MAKE=$(MAKE)
5889N/A
5889N/ACONFIGURE_ENV += INTLTOOL_PERL="$(PERL)"
5889N/A
5889N/A# Tell g-ir-scanner not to cache results in homedir of user running the build
5889N/ACOMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE=""
5889N/A