components/desktop/consolekit/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 22 Nov 2016 11:54:38 -0800
changeset 7374 dbcebcd93e38
parent 7338 4811df8d9799
child 7687 1093e2a9adbd
permissions -rw-r--r--
25136464 libexecdir incorrectly specified in the consolekit Makefile
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7331
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
BUILD_BITS=		64_and_32
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
COMPONENT_NAME=		ConsoleKit
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_VERSION=	0.4.1
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_PROJECT_URL=	http://www.freedesktop.org/software/ConsoleKit
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH= \
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
    sha256:f032adc6146d745034315054c5822a7a09f30e20a40d6e802221fa977354403e
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/dist/$(COMPONENT_ARCHIVE)
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_BUGDB=	library/consolekit
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
TPNO=			7882
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TEST_TARGET = $(NO_TESTS)
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
include $(WS_MAKE_RULES)/common.mk
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
COMPONENT_PREP_ACTION = \
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
	(cd $(@D) ; \
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
	aclocal -I . ; \
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
	libtoolize --force ; \
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
	autoheader ; \
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
	automake -a -c -f ; \
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
	autoconf )
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_OPTIONS +=	--sysconfdir=/etc
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS +=	--enable-pam-module
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS.32 +=	--with-pam-module-dir=/usr/lib/security
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS.64 +=	--with-pam-module-dir=/usr/lib/security/$(MACH64)
7374
dbcebcd93e38 25136464 libexecdir incorrectly specified in the consolekit Makefile
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7338
diff changeset
    57
# The 32-bit versions of private commands are not packaged as the 64-bit
dbcebcd93e38 25136464 libexecdir incorrectly specified in the consolekit Makefile
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7338
diff changeset
    58
# versions must be used instead since they are executed directly by
dbcebcd93e38 25136464 libexecdir incorrectly specified in the consolekit Makefile
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7338
diff changeset
    59
# parts of the GNOME system and so must be delivered to the 32-bit
dbcebcd93e38 25136464 libexecdir incorrectly specified in the consolekit Makefile
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7338
diff changeset
    60
# location. 
dbcebcd93e38 25136464 libexecdir incorrectly specified in the consolekit Makefile
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7338
diff changeset
    61
CONFIGURE_OPTIONS.32 += --libexecdir="$(USRLIBDIR)/$(MACH32)"
dbcebcd93e38 25136464 libexecdir incorrectly specified in the consolekit Makefile
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7338
diff changeset
    62
CONFIGURE_OPTIONS.64 += --libexecdir="$(USRLIBDIR)" 
7331
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
CONFIGURE_OPTIONS +=	--localstatedir="$(VARDIR)"
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS +=	--enable-rbac-shutdown=solaris.system.shutdown
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += library/glib2
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += library/zlib
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += x11/library/libx11
7338
4811df8d9799 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland (fix pkg name)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7331
diff changeset
    69
REQUIRED_PACKAGES += x11/server/xorg
7331
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += shell/bash
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
REQUIRED_PACKAGES += system/core-os
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
REQUIRED_PACKAGES += system/library/dbus
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
REQUIRED_PACKAGES += system/library/libdbus
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
REQUIRED_PACKAGES += system/library/libdbus-glib
a36c61e047b0 25080962 Move consolekit and pam-consolekit 0.4.1 to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
REQUIRED_PACKAGES += system/library/polkit