Makefile revision 977
791N/A###############################################################################
791N/A#
791N/A# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
791N/A#
1111N/A# Permission is hereby granted, free of charge, to any person obtaining a
791N/A# copy of this software and associated documentation files (the "Software"),
791N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
919N/A#
919N/A#
791N/A#
791N/A# Files for integration with Solaris Service Management Framework (SMF) and
791N/A# Role Based Access Control (RBAC)
791N/A
1035N/AMODULE_NAME=ogl-select
791N/A
970N/A# pkg(5) name we deliver the files in (override default)
970N/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
970N/A# No upstream sources for these files, since they're Solaris-specific
970N/AMODULE_VERSION=NONE
1033N/ASOURCE_TARBALL_NAME=NONE
970N/ASOURCE_TARBALL_NAME_SET=yes
970N/ASOURCE_TARGETS=
970N/ASOURCE_TARGETS_SET=yes
970N/A
1003N/ACONFIGURE_TARGETS=
970N/ACONFIGURE_TARGETS_SET=yes
791N/A
1033N/ABUILD_TARGETS = check
791N/ABUILD_TARGETS_SET=yes
911N/A
1033N/AINSTALL_TARGETS = install_ogl-select
1033N/AINSTALL_TARGETS_SET=yes
911N/A
791N/A### Include common rulesets
791N/Ainclude ../Makefile.inc
791N/A
791N/ASUN_SMF_MANIFEST_DIR=/var/svc/manifest/application
791N/ASUN_SMF_METHOD_DIR=/lib/svc/method
1033N/ADESTDIR=$(PROTODIR)
791N/A
791N/Acheck: ogl-select.xml
791N/A /usr/sbin/svccfg validate ogl-select.xml
1035N/A
1035N/AOGL_VENDOR_SCRIPTS_sparc=sun_vendor_select
791N/AOGL_VENDOR_SCRIPTS_i386=nvidia_vendor_select
1033N/AOGL_VENDOR_SCRIPTS=mesa_vendor_select $(OGL_VENDOR_SCRIPTS_$(MACH))
791N/A
791N/Ainstall_ogl-select:
791N/A mkdir -p $(DESTDIR)$(SUN_SMF_MANIFEST_DIR)/opengl \
1033N/A $(DESTDIR)$(SUN_SMF_METHOD_DIR) \
791N/A $(DESTDIR)$(X11_DIR)/share/man/man1 \
791N/A $(DESTDIR)/lib/opengl/ogl_select/
791N/A $(INSTALL_SCRIPT) -c -m 0444 ogl-select.xml \
791N/A $(DESTDIR)$(SUN_SMF_MANIFEST_DIR)/opengl
791N/A $(INSTALL_SCRIPT) -c -m 0555 ogl-select \
791N/A $(DESTDIR)$(SUN_SMF_METHOD_DIR)/ogl-select
1196N/A $(INSTALL_SCRIPT) -c -m 0444 ogl-select.man \
1196N/A $(DESTDIR)$(X11_DIR)/share/man/man1/ogl-select.1
1196N/A $(INSTALL_SCRIPT) -c -m 0555 $(OGL_VENDOR_SCRIPTS) \
1196N/A $(DESTDIR)/lib/opengl/ogl_select/
1033N/A