components/gnome/geocode-glib/Makefile
author Jesse Butler <jesse.butler@oracle.com>
Mon, 17 Oct 2016 16:13:44 -0700
changeset 7119 2f82d964b8be
parent 6207 fb66cc7fe0b0
child 7293 a449e2e641be
permissions -rw-r--r--
24830297 drop unneeded metadata layers from base image
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6207
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            64_and_32
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		geocode-glib
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	3.18.0
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
	sha256:8fb7f0d569e3e6696aaa1fdf275cb3094527ec5e9fa36fd88dd633dfec63495d
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=        gnome/libraries
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TPNO=			25283
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
# Test require libsoup
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
TEST_TARGET = $(SKIP_TEST)
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
# Needs gobject-introspection, not available on S11.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
ifeq ($(BUILD_TYPE), evaluation)
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
BUILD_32_and_64=
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
INSTALL_32_and_64=
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
PUBLISH_STAMP=
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
endif
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
include $(WS_MAKE_RULES)/gnome-component.mk
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
# Delete this when build servers are installed with an updated libsoup
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
LIBSOUP_ROOT = $(WS_COMPONENTS)/gnome/libsoup/build/prototype/$(MACH)
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CPPFLAGS += -I$(LIBSOUP_ROOT)/usr/include/libsoup-2.4
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
LD_OPTIONS.32 += -L $(LIBSOUP_ROOT)/usr/lib 
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
LD_OPTIONS.64 += -L $(LIBSOUP_ROOT)/usr/lib/$(MACH64)
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
# end Delete
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --disable-static
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
# Required for other components.
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
CONFIGURE_OPTIONS += --enable-introspection
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --enable-shared
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
CONFIGURE_OPTIONS += --with-pic
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/json-glib
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += library/libsoup
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
REQUIRED_PACKAGES += library/glib2
fb66cc7fe0b0 23245625 Deliver geocode-glib 3.18.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
REQUIRED_PACKAGES += system/library/math