components/gnome/libgweather/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7181 90120fcfd012
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7181
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
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: 7181
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
7181
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            32_and_64
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		libgweather
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	3.18.0
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
	sha256:8f4fda67f48c776f2bf955d384de4cc842aacb8d9b2ad87b42d83d0dc5a1cb1f
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7181
diff changeset
    36
COMPONENT_ANITYA_ID=	13147
7181
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TPNO=			24863
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
TEST_TARGET= $(NO_TESTS)
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
# Need gobject-introspection, not available on S11
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/no-evaluation.mk
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/gnome-component.mk
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
CPPFLAGS += -std=gnu99 -D_XOPEN_SOURCE=700 -D__EXTENSIONS__
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --disable-static
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
# Required for other components.
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --enable-introspection
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --enable-shared
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
# Required for other components.
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --enable-vala
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --with-pic
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
REQUIRED_PACKAGES += developer/vala
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
REQUIRED_PACKAGES += library/desktop/gtk3
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
REQUIRED_PACKAGES += library/glib2
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
REQUIRED_PACKAGES += library/desktop/geocode-glib
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
REQUIRED_PACKAGES += library/libsoup
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
REQUIRED_PACKAGES += library/libxml2
90120fcfd012 23245334 Move libgweather to Userland and update to 3.18.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += system/library/math