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