Makefile revision 7191
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync#
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# CDDL HEADER START
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync#
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# The contents of this file are subject to the terms of the
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# Common Development and Distribution License (the "License").
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# You may not use this file except in compliance with the License.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync#
cfeb51c88f60cb31c8862f0fa325d7d1c4d22f8avboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# or http://www.opensolaris.org/os/licensing.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# See the License for the specific language governing permissions
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# and limitations under the License.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync#
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# When distributing Covered Code, include this CDDL HEADER in each
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# If applicable, add the following below this CDDL HEADER, with the
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync#
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# CDDL HEADER END
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync#
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync
26ab5559e05ae622734a4047cee975670da3b0e8vboxsync#
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync#
26ab5559e05ae622734a4047cee975670da3b0e8vboxsync
79a32911c902685a8fafa06c4b9fd7f277994d93vboxsyncBUILD_BITS = 64_and_32
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# All components using gobject-introspection must be built with gcc as
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# gobject-introspection does not produce correct results when using Studio.
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCOMPILER = gcc
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncinclude ../../../make-rules/shared-macros.mk
26ab5559e05ae622734a4047cee975670da3b0e8vboxsync
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncCOMPONENT_NAME= nautilus
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncCOMPONENT_VERSION= 3.18.2
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncCOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Nautilus
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCOMPONENT_ARCHIVE_HASH= \
65ba0abe3ecfd47b318d49a3c37a9b48d1f6904evboxsync sha256:68dcf668e2ca93126a899d2e236ef37af2aea93e3fc25eee23ccd7ba911d424a
79a32911c902685a8fafa06c4b9fd7f277994d93vboxsyncCOMPONENT_BUGDB= gnome/nautilus
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsyncTPNO= 25412
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsync
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsync# Needs gobject-introspection, not available on S11.
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsyncinclude $(WS_MAKE_RULES)/no-evaluation.mk
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsync
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsyncinclude $(WS_MAKE_RULES)/gnome-component.mk
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsync
5a062c1c10e75283bed9bd16145610874ec5bacdvboxsync# Uses c99 language types (bool, etc.).
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCFLAGS += -std=gnu99
26ab5559e05ae622734a4047cee975670da3b0e8vboxsync
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# 32-bit gcc builds cause segfaults in Nautilus; see bug 21393975.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncgcc_OPT.i386.32 = -O2
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# Not yet available for Solaris.
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --disable-packagekit
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# Not desired for production builds.
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --disable-profiling
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --disable-static
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# See --enable-tracker below.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncCONFIGURE_OPTIONS += --disable-tracker
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --enable-gtk-doc
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncCONFIGURE_OPTIONS += --enable-introspection
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --enable-libexif
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --enable-nst-extension
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --enable-shared
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# Cyclic dependency; must build nautilus first, then build tracker, then build
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# nautilus again.
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync# CONFIGURE_OPTIONS += --enable-tracker
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncCONFIGURE_OPTIONS += --enable-xmp
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsync
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncREQUIRED_PACKAGES += image/library/libexif
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncREQUIRED_PACKAGES += library/desktop/atk
026a45b961439e27215ecef27f81bc115857609evboxsyncREQUIRED_PACKAGES += library/desktop/cairo
b4e89d495c2988c10068923397d31fd27112b9ebvboxsyncREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncREQUIRED_PACKAGES += library/desktop/gtk3
0623012e80c8f7252d781d1f51cb6836afd4d3eevboxsyncREQUIRED_PACKAGES += library/desktop/pango
026a45b961439e27215ecef27f81bc115857609evboxsyncREQUIRED_PACKAGES += library/exempi
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncREQUIRED_PACKAGES += library/glib2
8230e6f6671b538d39c7ef6d8484cf516a983ef4vboxsyncREQUIRED_PACKAGES += library/gnome/gnome-desktop
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncREQUIRED_PACKAGES += library/libxml2
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncREQUIRED_PACKAGES += system/library/math
26ab5559e05ae622734a4047cee975670da3b0e8vboxsyncREQUIRED_PACKAGES += x11/library/libx11
26ab5559e05ae622734a4047cee975670da3b0e8vboxsync