make-rules/gnome-component.mk
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Fri, 01 Jul 2016 13:27:44 +0000
changeset 6325 a5e9063beb26
parent 5891 196a7310cc4d
child 6389 dd5e724e80ac
permissions -rw-r--r--
23245486 Move pygtk2 2.24.0 to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5891
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
# This file sets up the standard, default options and base requirements for
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
# GNOME userland components.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
#
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL ?=	https://www.gnome.org/
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_MAJOR_MINOR ?=	$(basename $(COMPONENT_VERSION))
6325
a5e9063beb26 23245486 Move pygtk2 2.24.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5891
diff changeset
    32
ifndef COMPONENT_ARCHIVE_OVERRIDE
5891
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE      =	$(COMPONENT_SRC).tar.xz
6325
a5e9063beb26 23245486 Move pygtk2 2.24.0 to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5891
diff changeset
    34
endif
5891
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL ?=	https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MAJOR_MINOR)/$(COMPONENT_ARCHIVE)
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB       ?=	gnome/libraries
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
PKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/gnome-incorporation
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
include $(WS_MAKE_RULES)/common.mk
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    41
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    42
CONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    43
CONFIGURE_OPTIONS += --localstatedir="$(VARDIR)"
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
# Some components require an architecture-specific directory for their
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
# configuration, so these are specified per-bits.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    47
ETCDIR.32 ?= $(ETCDIR)
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
ETCDIR.64 ?= $(ETCDIR)
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR.$(BITS))"
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
# configure generally requires GNU make explicitly.
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_ENV += MAKE=$(MAKE)
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_ENV += INTLTOOL_PERL="$(PERL)"
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
# Tell g-ir-scanner not to cache results in homedir of user running the build
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    57
COMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE=""
196a7310cc4d 23169139 Move glib to Userland and update to 2.46.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    58