Makefile revision 7335
7195N/A#
7195N/A# CDDL HEADER START
7195N/A#
7195N/A# The contents of this file are subject to the terms of the
7195N/A# Common Development and Distribution License (the "License").
7195N/A# You may not use this file except in compliance with the License.
7195N/A#
7195N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7195N/A# or http://www.opensolaris.org/os/licensing.
7195N/A# See the License for the specific language governing permissions
7195N/A# and limitations under the License.
7195N/A#
7195N/A# When distributing Covered Code, include this CDDL HEADER in each
7195N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7195N/A# If applicable, add the following below this CDDL HEADER, with the
7195N/A# fields enclosed by brackets "[]" replaced with your own identifying
7195N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7195N/A#
7195N/A# CDDL HEADER END
7195N/A#
7195N/A
7195N/A#
7195N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7195N/A#
7195N/A
7195N/ABUILD_BITS = 64_and_32
7195N/A# All components using gobject-introspection must be built with gcc as
7195N/A# gobject-introspection does not produce correct results when using Studio.
7195N/ACOMPILER = gcc
7195N/Ainclude ../../../make-rules/shared-macros.mk
7195N/A
7195N/ACOMPONENT_NAME= mutter
7195N/ACOMPONENT_VERSION= 3.18.1
7195N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Mutter
7195N/ACOMPONENT_ARCHIVE_HASH= \
7195N/A sha256:4fdee7c9dc2db3a48f18723f47c3122aa5bddaddb8751701ce243e577e2a69a9
7195N/ACOMPONENT_BUGDB= gnome/window-manager
7195N/A
7195N/ATPNO= 27162
7195N/A
7195N/ATEST_TARGET = $(NO_TESTS)
7195N/A
7195N/A# Needs gobject-introspection, not available on S11.
7195N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7195N/A
7195N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7195N/A
7335N/A# Workaround build failures when /usr/include/GL points to Nvidia's headers
7335N/ACOMPONENT_PREP_ACTION += $(SYMLINK) /usr/include/mesa $(@D)/GL ;
7335N/ACPPFLAGS += -I $(SOURCE_DIR)
7335N/A
7195N/A# Requires non-standard extensions.
7195N/ACFLAGS += -std=c99 -D__EXTENSIONS__
7195N/A
7195N/ACONFIGURE_OPTIONS += --disable-schemas-compile
7195N/ACONFIGURE_OPTIONS += --disable-static
7195N/ACONFIGURE_OPTIONS += --disable-native-backend
7195N/ACONFIGURE_OPTIONS += --disable-wayland
7195N/A# Enable additional compiler warnings, but leave them as warnings, not errors
7195N/A# (upstream default if this isn't specified is =error which breaks SPARC)
7195N/ACONFIGURE_OPTIONS += --enable-compile-warnings=yes
7195N/ACONFIGURE_OPTIONS += --enable-gtk-doc
7195N/A# Required for other components.
7195N/ACONFIGURE_OPTIONS += --enable-introspection
7195N/ACONFIGURE_OPTIONS += --enable-shared
7195N/ACONFIGURE_OPTIONS += --enable-sm
7195N/ACONFIGURE_OPTIONS += --with-pic
7195N/ACONFIGURE_OPTIONS += --with-x
7195N/A
7195N/A# Needed due to patch to configure.ac.
7195N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
7195N/A
7195N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
7195N/A
7195N/A# Delete this when build servers are installed with gnome-settings-daemon
7195N/AUNINSTALLED_DEPS = gnome-settings-daemon libgweather
7195N/ADEPENDED += $(UNINSTALLED_DEPS:%=../%/build/manifest-$(MACH)-*.depend)
7195N/AREQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES += //p' $(UNINSTALLED_DEPS:%=../%/Makefile))
7195N/A#end Delete
7195N/A
7195N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
7195N/AREQUIRED_PACKAGES += gnome/gnome-settings-daemon
7195N/AREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
7195N/AREQUIRED_PACKAGES += library/desktop/cairo
7195N/AREQUIRED_PACKAGES += library/desktop/clutter
7195N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
7195N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
7195N/AREQUIRED_PACKAGES += library/desktop/gtk3
7195N/AREQUIRED_PACKAGES += library/desktop/pango
7195N/AREQUIRED_PACKAGES += library/desktop/startup-notification
7195N/AREQUIRED_PACKAGES += library/desktop/xdg/libcanberra
7195N/AREQUIRED_PACKAGES += library/glib2
7195N/AREQUIRED_PACKAGES += library/gnome/gnome-desktop
7195N/AREQUIRED_PACKAGES += library/graphics/cogl
7195N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
7195N/AREQUIRED_PACKAGES += system/library/math
7195N/AREQUIRED_PACKAGES += system/library/upower
7195N/AREQUIRED_PACKAGES += x11/library/libice
7195N/AREQUIRED_PACKAGES += x11/library/libsm
7195N/AREQUIRED_PACKAGES += x11/library/libx11
7195N/AREQUIRED_PACKAGES += x11/library/libxcb
7195N/AREQUIRED_PACKAGES += x11/library/libxcomposite
7195N/AREQUIRED_PACKAGES += x11/library/libxcursor
7195N/AREQUIRED_PACKAGES += x11/library/libxdamage
7195N/AREQUIRED_PACKAGES += x11/library/libxext
7195N/AREQUIRED_PACKAGES += x11/library/libxfixes
7195N/AREQUIRED_PACKAGES += x11/library/libxi
7195N/AREQUIRED_PACKAGES += x11/library/libxinerama
7195N/AREQUIRED_PACKAGES += x11/library/libxkbcommon
7195N/AREQUIRED_PACKAGES += x11/library/libxkbfile
7195N/AREQUIRED_PACKAGES += x11/library/libxrandr
7195N/AREQUIRED_PACKAGES += x11/library/libxrender