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