Makefile revision 1265
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater###############################################################################
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater# libpciaccess Makefile
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater# copy of this software and associated documentation files (the "Software"),
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# to deal in the Software without restriction, including without limitation
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# the rights to use, copy, modify, merge, publish, distribute, sublicense,
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater# and/or sell copies of the Software, and to permit persons to whom the
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Software is furnished to do so, subject to the following conditions:
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# The above copyright notice and this permission notice (including the next
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# paragraph) shall be included in all copies or substantial portions of the
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# DEALINGS IN THE SOFTWARE.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Package name used in tarballs
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Version number (used in path names)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Checksums for upstream tarball
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterTARBALL_MD5 = 2604307ba43c76ee8aec11ea137ae1e8
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterTARBALL_SHA1 = 7ddd8e1de27326f6f4a3ac6b4d2241fe77ef5353
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterTARBALL_SHA256= 24368520b0947487ec73729e3c97c95f3d9bf83704a910bb0abe1d5a63df32fd
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Patches to apply to source after unpacking, in order
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Where to install libpciaccess files
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# pkg(5) name we deliver the files in (override default)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Package classification (override default)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# ARC cases that covered this module
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# PSARC/2008/638 libpciaccess & scanpci
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Man pages to apply Sun footer to & attributes to list
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Update scanpci.man with program man page flags instead of library ones
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterSUNTOUCH_MAN_FLAGS = $(COMMON_SUNTOUCH_MAN_FLAGS)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterSUNTOUCH_MAN_FLAGS +=-p $(MODULE_PREFIX)/bin/
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# pkg-config files that need to have -R added
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Activate additional debugging code in debug builds
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Override linker flags for scanpci program
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterPCIACCESS_PROG_LDFLAGS = $(MAPFILES_FOR_PROGS) ../src/libpciaccess.so.0
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterPROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(PCIACCESS_PROG_LDFLAGS)")
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Additional targets for scanpci
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterMODULE_ADD_INSTALL_TARGETS_64 = install_scanpci
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterMODULE_ADD_INSTALL_TARGETS = $(MODULE_ADD_INSTALL_TARGETS_$(BUILD_TYPE))
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Compatibility links from /usr/X11/bin to /usr/bin