Makefile revision 1425
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews###############################################################################
04428429c4e689333e3ef8d19a2debeb20d4d15dMark Andrews# SPARC graphics utilities modules (fbconfig & VTS) Makefile
e999539fb3e45b2617571e0e3ecd651992291701Mark Andrews# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
555d01f4c02295e896a26c649d0ffc8808a0bbdcAutomatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# copy of this software and associated documentation files (the "Software"),
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# to deal in the Software without restriction, including without limitation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# the rights to use, copy, modify, merge, publish, distribute, sublicense,
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# and/or sell copies of the Software, and to permit persons to whom the
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# Software is furnished to do so, subject to the following conditions:
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrews# The above copyright notice and this permission notice (including the next
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# paragraph) shall be included in all copies or substantial portions of the
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
04eba969cb9a54bbda2896db2067c07b2ac5ba16Automatic Updater# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# DEALINGS IN THE SOFTWARE.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Package name used in tarballs
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# pkg(5) name we deliver the files in (override default)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Package metadata
f8448666aa53603696bea83de971a05007735d8fMark Andrews# Dates to show in Oracle copyright notice in fbconfig pkg license file
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Earliest & latest of the copyrights in the Oracle files in the base pkg
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Package classification (override default)
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews# No upstream sources, only local sources
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# Haven't made sure it's 64-bit clean yet, so continue building 32-bit for now
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# Man pages to apply Sun footer to & attributes to list
26a77b80bb7ee886c6fa704348d5e80a011d8811Mark Andrews# No configure script to run
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Since we don't have a configure script, pass configure flags to make
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsMODULE_CONFIG_ENV = LIB_LDFLAGS="$(LIB_LDFLAGS)"
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# Allow linker to skip linking to libm if compiler inlined all math functions
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Install metadata for fb-specific packages too
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonEXTRA_METADATA_DIRS = $(FB_MODULES:%=$(MODULE_PKG_METADATA_DIR)-fbconfig-%)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonEXTRA_ATTRDATA_FILES = $(EXTRA_METADATA_DIRS:%=%/$(ATTRDATA_FILE_NAME))
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsEXTRA_LICENSE_FILES = $(EXTRA_METADATA_DIRS:%=%/$(LICENSE_FILE_NAME))
96ea71632887c58a9d00f47eb318bf76b35903c3Mark AndrewsEXTRA_METADATA_TARGETS = $(EXTRA_METADATA_DIRS) \
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater$(EXTRA_ATTRDATA_FILES) $(EXTRA_LICENSE_FILES): $(EXTRA_METADATA_DIRS)
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews# Modules for specific frame buffers are covered only by Oracle copyright
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark AndrewsAST_LICENSE_FILE = $(MODULE_PKG_METADATA_DIR)-fbconfig-ast/$(LICENSE_FILE_NAME)
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark AndrewsEFB_LICENSE_FILE = $(MODULE_PKG_METADATA_DIR)-fbconfig-efb/$(LICENSE_FILE_NAME)
413988c8166976498250c0ebb2e3a645d0366bd3Mark AndrewsMGA_LICENSE_FILE = $(MODULE_PKG_METADATA_DIR)-fbconfig-mga/$(LICENSE_FILE_NAME)
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews# Module info to show in per-device pkg license files
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews$(EXTRA_LICENSE_FILES):= MODULE_TPNO_NAME = fbconfig-$(DEVICE_NAME)
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews$(EXTRA_LICENSE_FILES):= MODULE_TPNO_NAME_SET = YES
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews$(EXTRA_LICENSE_FILES):= MODULE_DESC = fbconfig & VTS modules for graphics devices using the $(DEVICE_NAME) driver
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# Dates to show in Oracle copyright notice in per-device pkg license files
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews$(AST_LICENSE_FILE):= ORACLE_COPYRIGHT_YEARS = 2009, 2011
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews$(EFB_LICENSE_FILE):= ORACLE_COPYRIGHT_YEARS = 2006, 2009