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