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