Makefile revision 1360
1117N/A###############################################################################
1117N/A#
1117N/A# SPARC graphics utilities modules (fbconfig & VTS) Makefile
1117N/A#
1360N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
1117N/A#
1117N/A# Permission is hereby granted, free of charge, to any person obtaining a
1117N/A# copy of this software and associated documentation files (the "Software"),
1117N/A# to deal in the Software without restriction, including without limitation
1117N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1117N/A# and/or sell copies of the Software, and to permit persons to whom the
1117N/A# Software is furnished to do so, subject to the following conditions:
1117N/A#
1117N/A# The above copyright notice and this permission notice (including the next
1117N/A# paragraph) shall be included in all copies or substantial portions of the
1117N/A# Software.
1117N/A#
1117N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1117N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1117N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1117N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1117N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1117N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1117N/A# DEALINGS IN THE SOFTWARE.
1117N/A#
1117N/A#
1117N/A
1117N/A# Package name used in tarballs
1117N/AMODULE_NAME=fbconfig
1117N/A
1117N/A# pkg(5) name we deliver the files in (override default)
1117N/AMODULE_PKGNAME=system/graphics/fbconfig
1117N/AMODULE_PKGNAME_SET=yes
1117N/A
1360N/A# Package metadata
1360N/AMODULE_LICENSE = Oracle
1360N/AMODULE_LICENSE_SET = yes
1360N/A
1360N/A# Dates to show in Oracle copyright notice in fbconfig pkg license file
1360N/A# Earliest & latest of the copyrights in the Oracle files in the base pkg
1360N/AORACLE_COPYRIGHT_YEARS = 1999, 2011
1360N/A
1117N/A# Package classification (override default)
1117N/AMODULE_PKGCLASS=Drivers/Display
1117N/AMODULE_PKGCLASS_SET=yes
1117N/A
1117N/A# No upstream sources, only local sources
1117N/AMODULE_VERSION=src
1117N/ASOURCE_TARBALL_NAME=NONE
1117N/ASOURCE_TARBALL_NAME_SET=yes
1117N/AADDITIONAL_SOURCE_DIR=sun-src
1117N/A
1117N/A# Haven't made sure it's 64-bit clean yet, so continue building 32-bit for now
1117N/ABUILD_TYPES_SET=yes
1117N/ABUILD_TYPES=32
1117N/A
1117N/A# Man pages to apply Sun footer to & attributes to list
1117N/ASUNTOUCHED_MANPAGES= # None
1117N/AMODULE_STABILITY=Committed
1117N/A
1117N/A# No configure script to run
1117N/ACONFIGURE_TARGETS=
1117N/ACONFIGURE_TARGETS_SET=yes
1117N/A
1117N/A# Since we don't have a configure script, pass configure flags to make
1196N/AMODULE_CONFIG_ENV = LIB_LDFLAGS="$(LIB_LDFLAGS)"
1196N/AMODULE_BUILD_MAKEFLAGS = $(CONFIG_ENV)
1196N/AMODULE_INSTALL_MAKEFLAGS= $(CONFIG_ENV)
1117N/A
1117N/Ainclude ../Makefile.inc
1117N/A
1117N/A# Install metadata for fb-specific packages too
1269N/AFB_MODULES = ast efb mga
1117N/A
1117N/AEXTRA_METADATA_DIRS = $(FB_MODULES:%=$(MODULE_PKG_METADATA_DIR)-fbconfig-%)
1117N/A
1117N/AEXTRA_ATTRDATA_FILES = $(EXTRA_METADATA_DIRS:%=%/$(ATTRDATA_FILE_NAME))
1117N/AEXTRA_LICENSE_FILES = $(EXTRA_METADATA_DIRS:%=%/$(LICENSE_FILE_NAME))
1117N/AEXTRA_METADATA_TARGETS = $(EXTRA_METADATA_DIRS) \
1117N/A $(EXTRA_ATTRDATA_FILES) \
1117N/A $(EXTRA_LICENSE_FILES)
1117N/A
1117N/Ainstall_metadata: $(EXTRA_METADATA_TARGETS)
1117N/A
1117N/A$(EXTRA_ATTRDATA_FILES) $(EXTRA_LICENSE_FILES): $(EXTRA_METADATA_DIRS)
1117N/A
1117N/A$(EXTRA_METADATA_DIRS):
1117N/A mkdir -p $@
1117N/A
1117N/A# Modules for specific frame buffers are covered only by Oracle copyright
1117N/AAST_LICENSE_FILE = $(MODULE_PKG_METADATA_DIR)-fbconfig-ast/$(LICENSE_FILE_NAME)
1117N/AEFB_LICENSE_FILE = $(MODULE_PKG_METADATA_DIR)-fbconfig-efb/$(LICENSE_FILE_NAME)
1269N/AMGA_LICENSE_FILE = $(MODULE_PKG_METADATA_DIR)-fbconfig-mga/$(LICENSE_FILE_NAME)
1117N/A
1360N/A$(AST_LICENSE_FILE):= DEVICE_NAME = ast
1360N/A$(EFB_LICENSE_FILE):= DEVICE_NAME = efb
1360N/A$(MGA_LICENSE_FILE):= DEVICE_NAME = mga
1117N/A
1360N/A# Module info to show in per-device pkg license files
1360N/A$(EXTRA_LICENSE_FILES):= MODULE_TPNO_NAME = fbconfig-$(DEVICE_NAME)
1360N/A$(EXTRA_LICENSE_FILES):= MODULE_TPNO_NAME_SET = YES
1360N/A$(EXTRA_LICENSE_FILES):= MODULE_DESC = fbconfig & VTS modules for graphics devices using the $(DEVICE_NAME) driver
1360N/A
1360N/A# Dates to show in Oracle copyright notice in per-device pkg license files
1360N/A$(AST_LICENSE_FILE):= ORACLE_COPYRIGHT_YEARS = 2009, 2011
1360N/A$(EFB_LICENSE_FILE):= ORACLE_COPYRIGHT_YEARS = 2006, 2009
1360N/A$(MGA_LICENSE_FILE):= ORACLE_COPYRIGHT_YEARS = 2006, 2012
1360N/A