Makefile revision 970
1068N/A###############################################################################
1068N/A#
1068N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
1068N/A#
486N/A# Permission is hereby granted, free of charge, to any person obtaining a
486N/A# copy of this software and associated documentation files (the "Software"),
486N/A# to deal in the Software without restriction, including without limitation
486N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
486N/A# and/or sell copies of the Software, and to permit persons to whom the
486N/A# Software is furnished to do so, subject to the following conditions:
486N/A#
486N/A# The above copyright notice and this permission notice (including the next
486N/A# paragraph) shall be included in all copies or substantial portions of the
1068N/A# Software.
1068N/A#
1068N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
486N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
486N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
486N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
486N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
486N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
486N/A# DEALINGS IN THE SOFTWARE.
486N/A#
486N/A###############################################################################
486N/A#
486N/A# Files for integration with Solaris Service Management Framework (SMF) and
486N/A# Role Based Access Control (RBAC) shared by all the X server variants
486N/A
486N/AMODULE_NAME = xserver-common
486N/A
486N/A# ARC cases that covered this module
486N/A# PSARC/2004/752 X Consolidation conversion to SMF
486N/AMODULE_ARC_CASES = PSARC/2004/752
486N/A
486N/A# No upstream sources for these files, since they're Solaris-specific
486N/AMODULE_VERSION=$(XORGSERVER_VERS)
486N/ASOURCE_TARBALL_NAME=NONE
486N/ASOURCE_TARBALL_NAME_SET=yes
486N/ASOURCE_TARGETS=
486N/ASOURCE_TARGETS_SET=yes
486N/A
486N/ACONFIGURE_TARGETS=
486N/ACONFIGURE_TARGETS_SET=yes
486N/A
486N/ABUILD_TARGETS = check
486N/ABUILD_TARGETS_SET=yes
486N/A
486N/AINSTALL_TARGETS = install_common
486N/AINSTALL_TARGETS_SET=yes
486N/A
486N/A# Compatibility links from /usr/X11/bin to /usr/bin
486N/AMODULE_X11_BINCOMPAT_LINKS = X Xserver
486N/A
486N/A### Include common rulesets
486N/Ainclude ../Makefile.inc
486N/A
486N/AX11_SMF_MANIFEST_DIR=/var/svc/manifest/application/x11
1068N/ASMF_METHOD_DIR=/lib/svc/method
486N/ADESTDIR=$(PROTODIR)
486N/A
486N/Acheck: x11-server.xml
486N/A /usr/sbin/svccfg validate x11-server.xml
486N/A
486N/ARBAC_AUTH_HELP=X11States.html
486N/ARBAC_PROFILE_HELP=RtDesktopConfiguration.html
486N/A
486N/Ainstall_common: $(BUILD_TARGETS)
486N/A mkdir -p \
486N/A $(DESTDIR)$(X11_SMF_MANIFEST_DIR) \
486N/A $(DESTDIR)$(SMF_METHOD_DIR) \
486N/A $(DESTDIR)$(X11_DIR)/bin \
486N/A $(DESTDIR)$(X11_DIR)/share/man/man1 \
486N/A $(DESTDIR)/etc/security/auth_attr.d \
486N/A $(DESTDIR)/etc/security/prof_attr.d \
486N/A $(DESTDIR)/usr/lib/help/auths/locale/C \
486N/A $(DESTDIR)/usr/lib/help/profiles/locale/C
486N/A $(INSTALL_SCRIPT) -c -m 0444 x11-server.xml \
486N/A $(DESTDIR)$(X11_SMF_MANIFEST_DIR)/
1068N/A $(INSTALL_SCRIPT) -c -m 0755 x11-server $(DESTDIR)$(SMF_METHOD_DIR)/
486N/A $(INSTALL_SCRIPT) -c -m 0755 Xserver $(DESTDIR)$(X11_DIR)/bin/
486N/A $(INSTALL_SCRIPT) -c -m 0444 auth_attr \
486N/A $(DESTDIR)/etc/security/auth_attr.d/$(MODULE_NAME)
486N/A $(INSTALL_SCRIPT) -c -m 0444 prof_attr \
1068N/A $(DESTDIR)/etc/security/prof_attr.d/$(MODULE_NAME)
486N/A $(INSTALL_SCRIPT) -c -m 0444 X11States.html \
486N/A $(DESTDIR)/usr/lib/help/auths/locale/C/
1068N/A $(INSTALL_SCRIPT) -c -m 0444 RtDesktopConfiguration.html \
486N/A $(DESTDIR)/usr/lib/help/profiles/locale/C/
486N/A $(INSTALL_SCRIPT) -c -m 0444 Xnest.1 $(DESTDIR)$(X11_MAN_DIR)/man1/
486N/A