components/desktop/telepathy-logger/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Fri, 10 Jun 2016 20:03:38 -0700
changeset 6202 9ae2de65155b
child 7685 a7ec984d7d4c
permissions -rw-r--r--
23245667 Deliver telepathy-logger 0.8.2 in Solaris PSARC/2016/368 Telepathy Logger
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6202
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 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
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
BUILD_BITS =            64_and_32
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
COMPILER =              gcc
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		telepathy-logger
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_VERSION=	0.8.2
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://telepathy.freedesktop.org
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH= \
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
	sha256:8fcad534d653b1b365132c5b158adae947810ffbae9843f72dd1797966415dae
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_BUGDB=	gnome/libraries
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
TPNO=			25836
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
# Needs telepathy-glib, not available on S11.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
ifeq ($(BUILD_TYPE), evaluation)
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
BUILD_32_and_64=
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
INSTALL_32_and_64=
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
PUBLISH_STAMP=
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
endif
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
# Not compiled as an xpg6 application, but configure defines this, so we
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
# override and undefine it to avoid feature_tests.h failures; unclear what the
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
# correct fix is.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
CFLAGS += -U_POSIX_SOURCE
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CFLAGS += $(XPG6MODE)
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
include $(WS_MAKE_RULES)/common.mk
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --disable-static
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
# Required for other components.
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --enable-introspection
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
CONFIGURE_OPTIONS += --enable-shared
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --with-pic
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
# Tell g-ir-scanner not to cache results in homedir of user running the build
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
COMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE=""
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
# Assumes GNU xgettext in PATH
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
# for the tests
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
unexport SHELLOPTS
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
COMPONENT_TEST_ARGS =   -k -i
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
COMPONENT_TEST_TRANSFORMS += \
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
        '-n ' \
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
        '-e "/TOTAL:/p" ' \
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
        '-e "/SKIP:/p" ' \
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
        '-e "/PASS:/p" ' \
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
        '-e "/FAIL:/p" ' \
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
        '-e "/ERROR:/p" '
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
REQUIRED_PACKAGES += database/sqlite-3
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += library/glib2
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += library/libxml2
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
REQUIRED_PACKAGES += library/telepathy-glib
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
REQUIRED_PACKAGES += system/library/libdbus
9ae2de65155b 23245667 Deliver telepathy-logger 0.8.2 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
REQUIRED_PACKAGES += system/library/libdbus-glib