Makefile revision 7180
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# or http://www.opensolaris.org/os/licensing.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterBUILD_BITS= 64
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPILER= gcc
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude ../../../make-rules/shared-macros.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_NAME= gucharmap
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_VERSION= 3.18.1
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Gucharmap
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE_HASH= \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster sha256:b286d09dcd7811e6678e3d5830970d310d5730f7be5657ec400295df0b36fa35
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_BUGDB= gnome/applications
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterTPNO= 25270
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterTEST_TARGET = $(NO_TESTS)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Needs updated glib2, not available on S11.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterifeq ($(BUILD_TYPE), evaluation)
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterBUILD_64=
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterINSTALL_64=
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterPUBLISH_STAMP=
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterendif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude $(WS_MAKE_RULES)/gnome-component.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --disable-Bsymbolic
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --disable-static
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Required for other components.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --enable-introspection
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --enable-shared
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Required for other components.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --enable-vala
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --with-gtk=3.0
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Assumes GNU msgfmt in PATH.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += desktop/xdg/desktop-file-utils
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += developer/vala
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Build time requirement for desktop-file-validate until desktop-file-utils
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# (split out of the control-center package) is installed on all build machines
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += gnome/preferences/control-center
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += library/desktop/atk
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += library/desktop/cairo
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterREQUIRED_PACKAGES += library/desktop/gtk3
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime