Makefile revision 935
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync###############################################################################
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# libpciaccess Makefile
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
c58f1213e628a545081c70e26c6b67a841cff880vboxsync# Permission is hereby granted, free of charge, to any person obtaining a
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# copy of this software and associated documentation files (the "Software"),
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# to deal in the Software without restriction, including without limitation
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# the rights to use, copy, modify, merge, publish, distribute, sublicense,
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# and/or sell copies of the Software, and to permit persons to whom the
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# Software is furnished to do so, subject to the following conditions:
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# The above copyright notice and this permission notice (including the next
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# paragraph) shall be included in all copies or substantial portions of the
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# DEALINGS IN THE SOFTWARE.
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# Package name used in tarballs
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# Version number (used in path names)
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# Checksums for upstream tarball
73a09eff0b2f00d13f925433019d7356867dedb0vboxsyncTARBALL_SHA1 = 491e137f34a22f7208a6b0f68cbe51d929923591
aeb7d3465f6e399a9719a21364e9a483302102dfvboxsync# Patches to apply to source after unpacking, in order
5cf075f1173d07b89c26db295070415dffc6109dvboxsync# Library name
0101ab99add5fd3e67c0de447d54bf2cbff5a58fvboxsync# Where to install libpciaccess files
2e6dc32bcc9c3a3e70c957764c033b1f402bc617vboxsync# Man pages to apply Sun footer to & attributes to list
0c0e78bbdcbeec81f856e8aa1097a9504c16bb1cvboxsync#SUNTOUCHED_MANPAGES=man/*.man
73a09eff0b2f00d13f925433019d7356867dedb0vboxsync# pkg-config files that need to have -R added
aeb7d3465f6e399a9719a21364e9a483302102dfvboxsync# Activate additional debugging code in debug builds
b00d03e0e887eac29f9df3fe33c05c6bbeda2ba1vboxsync# Additional targets for scanpci
0c0e78bbdcbeec81f856e8aa1097a9504c16bb1cvboxsyncMODULE_ADD_INSTALL_TARGETS = $(MODULE_ADD_INSTALL_TARGETS_$(BUILD_TYPE))
9ca6b5869be6c269085ef2294ac0863be7749346vboxsync# Update scanpci.man with program man page flags instead of library ones
9ca6b5869be6c269085ef2294ac0863be7749346vboxsync sed -e 's/__xorgversion__/"$(MODULE_NAME) $(MODULE_VERSION)"/' \
9ca6b5869be6c269085ef2294ac0863be7749346vboxsync# We want to install scanpci, even though the upstream Makefile doesn't
9ca6b5869be6c269085ef2294ac0863be7749346vboxsync mkdir -p $(PROTODIR)$(MODULE_PREFIX)/bin$(ARCHLIBSUBDIR) \
9ca6b5869be6c269085ef2294ac0863be7749346vboxsync $(INSTALL_SCRIPT) -m 755 $(SOURCE_DIR)/src/scanpci \
9ca6b5869be6c269085ef2294ac0863be7749346vboxsync $(PROTODIR)$(MODULE_PREFIX)/bin$(ARCHLIBSUBDIR)/scanpci
ddd5bf03356cc0515b0f42ed9048a6364e7eb1e2vboxsync $(INSTALL_SCRIPT) -m 444 $(SOURCE_DIR)/src/scanpci.1 \