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# See the License for the specific language governing permissions
5889N/A# and limitations under the License.
5889N/A# When distributing Covered Code, include this CDDL HEADER in each
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# Copyright (c) 2016, Oracle
and/or its affiliates. All rights reserved.
5889N/A# This file sets up the standard, default options and base requirements for
5889N/A# GNOME userland components.
5889N/ACOMPONENT_MAJOR_MINOR ?= $(basename $(COMPONENT_VERSION))
5889N/ACONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
5889N/ACONFIGURE_OPTIONS += --localstatedir="$(VARDIR)"
5889N/A# Some components require an architecture-specific directory for their
5889N/A# configuration, so these are specified per-bits.
5889N/ACONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR.$(BITS))"
5889N/A# configure generally requires GNU make explicitly.
5889N/ACONFIGURE_ENV += MAKE=$(MAKE)
5889N/ACONFIGURE_ENV += INTLTOOL_PERL="$(PERL)"
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=""