Makefile revision 7336
7329N/A#
7329N/A# CDDL HEADER START
7329N/A#
7329N/A# The contents of this file are subject to the terms of the
7329N/A# Common Development and Distribution License (the "License").
7329N/A# You may not use this file except in compliance with the License.
7329N/A#
7329N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7329N/A# or http://www.opensolaris.org/os/licensing.
7329N/A# See the License for the specific language governing permissions
7329N/A# and limitations under the License.
7329N/A#
7329N/A# When distributing Covered Code, include this CDDL HEADER in each
7329N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7329N/A# If applicable, add the following below this CDDL HEADER, with the
7329N/A# fields enclosed by brackets "[]" replaced with your own identifying
7329N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7329N/A#
7329N/A# CDDL HEADER END
7329N/A#
7329N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
7329N/A#
7329N/A
7329N/ABUILD_BITS= 64_and_32
7329N/Ainclude ../../../make-rules/shared-macros.mk
7329N/A
7329N/ACOMPONENT_NAME= ConsoleKit
7329N/ACOMPONENT_VERSION= 0.4.1
7329N/ACOMPONENT_PROJECT_URL= http://www.freedesktop.org/software/ConsoleKit
7329N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
7329N/ACOMPONENT_ARCHIVE_HASH= \
7329N/A sha256:f032adc6146d745034315054c5822a7a09f30e20a40d6e802221fa977354403e
7329N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/dist/$(COMPONENT_ARCHIVE)
7329N/ACOMPONENT_BUGDB= library/consolekit
7329N/A
7329N/ATPNO= 7882
7329N/A
7329N/ATEST_TARGET = $(NO_TESTS)
7329N/A
7329N/Ainclude $(WS_MAKE_RULES)/common.mk
7329N/A
7329N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
7329N/A
7329N/ACOMPONENT_PREP_ACTION = \
7329N/A (cd $(@D) ; \
7329N/A aclocal -I . ; \
7329N/A libtoolize --force ; \
7329N/A autoheader ; \
7329N/A automake -a -c -f ; \
7329N/A autoconf )
7329N/A
7329N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
7329N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
7329N/ACONFIGURE_OPTIONS += --enable-pam-module
7329N/ACONFIGURE_OPTIONS.32 += --with-pam-module-dir=/usr/lib/security
7329N/ACONFIGURE_OPTIONS.64 += --with-pam-module-dir=/usr/lib/security/$(MACH64)
7329N/ACONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
7329N/ACONFIGURE_OPTIONS += --localstatedir="$(VARDIR)"
7329N/ACONFIGURE_OPTIONS += --enable-rbac-shutdown=solaris.system.shutdown
7329N/A
7329N/AREQUIRED_PACKAGES += library/glib2
7329N/AREQUIRED_PACKAGES += library/zlib
7329N/AREQUIRED_PACKAGES += x11/library/libx11
7336N/AREQUIRED_PACKAGES += x11/server/xorg
7329N/AREQUIRED_PACKAGES += shell/bash
7329N/AREQUIRED_PACKAGES += system/core-os
7329N/AREQUIRED_PACKAGES += system/library/dbus
7329N/AREQUIRED_PACKAGES += system/library/libdbus
7329N/AREQUIRED_PACKAGES += system/library/libdbus-glib
7329N/AREQUIRED_PACKAGES += system/library/polkit