components/gnome/vte/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6341 44ad5ceb1432
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6341
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6341
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
6341
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            64_and_32
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		vte
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	0.42.1
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Apps/Terminal/VTE
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH= \
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
	sha256:9e00e2e9e94f4202b979c871f407a8815890bc0f4a8448a08534f76ab0fc9d34
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=        gnome/terminal
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6341
diff changeset
    38
COMPONENT_ANITYA_ID=	10895
6341
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
TPNO=			25406
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
TEST_TARGET = $(NO_TESTS)
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
# Needs gobject-introspection, not available on S11.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
ifeq ($(BUILD_TYPE), evaluation)
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
BUILD_32_and_64=
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
INSTALL_32_and_64=
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
PUBLISH_STAMP=
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
endif
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
include $(WS_MAKE_RULES)/gnome-component.mk
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
# Assumes GNU xgettext in PATH
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
# Force use of gnutls-3 pkgconfig during 2.x->3.x transition
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
PKG_CONFIG_PATHS.32 += /usr/lib/pkgconfig/gnutls-3
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
PKG_CONFIG_PATHS.64 += /usr/lib/$(MACH64)/pkgconfig/gnutls-3
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
LD_OPTIONS.32 += -L /usr/lib/gnutls-3 -R /usr/lib/gnutls-3
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
LD_OPTIONS.64 += -L /usr/lib/$(MACH64)/gnutls-3 -R /usr/lib/$(MACH64)/gnutls-3
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --disable-static
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
CONFIGURE_OPTIONS += --disable-Bsymbolic
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
# Needed to ensure we can log which users use which applications (setuid).
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
CONFIGURE_OPTIONS += --enable-gnome-pty-helper
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
# Required for other components.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
CONFIGURE_OPTIONS += --enable-introspection
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
CONFIGURE_OPTIONS += --enable-shared
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
# Required for other components.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
CONFIGURE_OPTIONS += --enable-vala
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
# Needed due to patch to configure.ac.
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
REQUIRED_PACKAGES += developer/vala
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += library/desktop/atk
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
REQUIRED_PACKAGES += library/desktop/cairo
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += library/desktop/gtk3
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
REQUIRED_PACKAGES += library/desktop/pango
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
REQUIRED_PACKAGES += library/glib2
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
REQUIRED_PACKAGES += library/gnutls-3
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
REQUIRED_PACKAGES += library/zlib
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    87
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
44ad5ceb1432 23245361 Move vte to Userland and update to 0.42.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    88
REQUIRED_PACKAGES += system/library/math