Makefile revision 1450
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Permission is hereby granted, free of charge, to any person obtaining a
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# copy of this software and associated documentation files (the "Software"),
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# to deal in the Software without restriction, including without limitation
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# the rights to use, copy, modify, merge, publish, distribute, sublicense,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and/or sell copies of the Software, and to permit persons to whom the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Software is furnished to do so, subject to the following conditions:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The above copyright notice and this permission notice (including the next
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# paragraph) shall be included in all copies or substantial portions of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# DEALINGS IN THE SOFTWARE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes###############################################################################
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This Makefile drives the production of the DRM (Direct Rendering
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Manager) common misc module.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes###############################################################################
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# X-consolidation defines:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# include $(TOP)/open-src/kernel/Makefile.init
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Module core info
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# MODULE_NAME - the package this module is installed in
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This is the package this module should be installed into
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Where are the local sources relative to the build dir
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Where do we install the driver.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# No upstream sources for these files, since they're Solaris-specific
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# No configure script, so pass usual environment to build/install instead
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_LDFLAGS = -r -dy -Nmisc/agpmaster -Nmisc/gfx_private
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# License info
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Include kernel rules.