components/gnome/libnotify/Makefile
author Tomas Kuthan <tomas.kuthan@oracle.com>
Thu, 06 Oct 2016 07:26:21 -0700
changeset 7060 6881211a7ba8
parent 6137 f81b30a97f44
child 7687 1093e2a9adbd
permissions -rw-r--r--
24301902 Log connections dropped when exceeding MaxStartups
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6115
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS = 64_and_32
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
COMPILER=gcc
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		libnotify
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_VERSION=	0.7.6
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
	sha256:0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_BUGDB=        gnome/libraries
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
TPNO=			24758
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
# Tests do not work on Solaris yet
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
TEST_TARGET= $(SKIP_TEST)
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
6137
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6115
diff changeset
    41
# Needs gtk3, not available on S11.
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6115
diff changeset
    42
ifeq ($(BUILD_TYPE), evaluation)
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6115
diff changeset
    43
BUILD_32_and_64=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6115
diff changeset
    44
INSTALL_32_and_64=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6115
diff changeset
    45
PUBLISH_STAMP=
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6115
diff changeset
    46
endif
f81b30a97f44 23526469 do not publish several gnome libraries when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6115
diff changeset
    47
6115
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
include $(WS_MAKE_RULES)/gnome-component.mk
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --includedir=/usr/include/$(COMPONENT_NAME)-4/
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS.32 += --libdir=/usr/lib/$(COMPONENT_NAME)-4/
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS.64 += --libdir=/usr/lib/$(MACH64)/$(COMPONENT_NAME)-4/
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --disable-static
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
# Required for other components.
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --program-suffix=-4
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
CONFIGURE_OPTIONS += --enable-introspection
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --disable-docbook-docs
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --enable-shared
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
CONFIGURE_OPTIONS += --with-pic
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
# Required due to patches.
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += developer/documentation-tool/xmlto
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
55570225d8f2 23245337 Move libnotify to Userland and update to 0.7.6
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/glib2