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