Makefile revision 1402
970N/A###############################################################################
970N/A#
1339N/A# ogl-select - Solaris SMF service to choose between OpenGL implementations
1339N/A#
1339N/A# Copyright (c) 2004, 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)
970N/A
970N/AMODULE_NAME=ogl-select
970N/A
970N/A# pkg(5) name we deliver the files in (override default)
977N/AMODULE_PKGNAME=service/opengl/ogl-select
970N/AMODULE_PKGNAME_SET=yes
970N/A
970N/A# ARC cases that covered this module
970N/A# LSARC 2005/700 OpenGL boot time selection of libraries and headers
970N/AMODULE_ARC_CASES = LSARC/2005/700
970N/A
1003N/A# Package metadata
1339N/AMODULE_DESC = the ogl-select service
1003N/AMODULE_LICENSE = Oracle
1003N/AMODULE_LICENSE_SET = yes
1003N/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, 2010
1339N/A
970N/A# No upstream sources for these files, since they're Solaris-specific
1339N/AMODULE_VERSION=src
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_ogl-select
970N/AINSTALL_TARGETS_SET=yes
970N/A
970N/A### Include common rulesets
970N/Ainclude ../Makefile.inc
970N/A
980N/AOGL_SMF_MANIFEST_DIR=$(SMF_MANIFEST_DIR)/application/opengl
970N/ADESTDIR=$(PROTODIR)
970N/A
970N/Acheck: ogl-select.xml
970N/A /usr/sbin/svccfg validate ogl-select.xml
970N/A
970N/AOGL_VENDOR_SCRIPTS_sparc=sun_vendor_select
970N/AOGL_VENDOR_SCRIPTS_i386=nvidia_vendor_select
970N/AOGL_VENDOR_SCRIPTS=mesa_vendor_select $(OGL_VENDOR_SCRIPTS_$(MACH))
970N/A
970N/Ainstall_ogl-select:
980N/A mkdir -p $(DESTDIR)$(OGL_SMF_MANIFEST_DIR) \
980N/A $(DESTDIR)$(SMF_METHOD_DIR) \
970N/A $(DESTDIR)$(X11_DIR)/share/man/man1 \
970N/A $(DESTDIR)/lib/opengl/ogl_select/
970N/A $(INSTALL_SCRIPT) -c -m 0444 ogl-select.xml \
980N/A $(DESTDIR)$(OGL_SMF_MANIFEST_DIR)
970N/A $(INSTALL_SCRIPT) -c -m 0555 ogl-select \
980N/A $(DESTDIR)$(SMF_METHOD_DIR)/ogl-select
970N/A $(INSTALL_SCRIPT) -c -m 0444 ogl-select.man \
970N/A $(DESTDIR)$(X11_DIR)/share/man/man1/ogl-select.1
970N/A $(INSTALL_SCRIPT) -c -m 0555 $(OGL_VENDOR_SCRIPTS) \
970N/A $(DESTDIR)/lib/opengl/ogl_select/