diff --git a/MODULES b/MODULES index 0ed553a6..ce651548 100644 --- a/MODULES +++ b/MODULES @@ -1,4 +1,4 @@ -# $OpenBSD: MODULES,v 1.520 2024/05/04 10:29:47 matthieu Exp $ +# $OpenBSD: MODULES,v 1.521 2024/05/13 19:45:45 matthieu Exp $ # # X.Org maintained modules # @@ -176,7 +176,7 @@ lib/libXvMC 1.0.14 lib/libXxf86dga 1.1.6 lib/libXxf86vm 1.1.5 lib/libfontenc 1.1.8 -lib/libpciaccess 0.18.1 needs-update +lib/libpciaccess 0.18.1 lib/libxcb 1.17.0 needs-update lib/libxcvt 0.1.2 lib/libxkbfile 1.1.3 diff --git a/distrib/sets/lists/xbase/mi b/distrib/sets/lists/xbase/mi index 90a4cdcb..9cd6600a 100644 --- a/distrib/sets/lists/xbase/mi +++ b/distrib/sets/lists/xbase/mi @@ -310,7 +310,6 @@ ./usr/X11R6/lib/libfreetype.a ./usr/X11R6/lib/libfreetype.so.30.3 ./usr/X11R6/lib/libpciaccess.a -./usr/X11R6/lib/libpciaccess.la ./usr/X11R6/lib/libpciaccess.so.2.1 ./usr/X11R6/lib/libpixman-1.a ./usr/X11R6/lib/libpixman-1.la diff --git a/lib/libpciaccess/.gitignore b/lib/libpciaccess/.gitignore new file mode 100644 index 00000000..01b0143e --- /dev/null +++ b/lib/libpciaccess/.gitignore @@ -0,0 +1,78 @@ +# +# X.Org module default exclusion patterns +# The next section if for module specific patterns +# +# Do not edit the following section +# GNU Build System (Autotools) +aclocal.m4 +autom4te.cache/ +autoscan.log +ChangeLog +compile +config.guess +config.h +config.h.in +config.log +config-ml.in +config.py +config.status +config.status.lineno +config.sub +configure +configure.scan +depcomp +.deps/ +INSTALL +install-sh +.libs/ +libtool +libtool.m4 +ltmain.sh +lt~obsolete.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +Makefile +Makefile.in +mdate-sh +missing +mkinstalldirs +*.pc +py-compile +stamp-h? +symlink-tree +texinfo.tex +ylwrap + +# Do not edit the following section +# Edit Compile Debug Document Distribute +*~ +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +*.dll +*.exe +*-ISO*.bdf +*-JIS*.bdf +*-KOI8*.bdf +*.kld +*.ko +*.ko.cmd +*.lai +*.l[oa] +*.[oa] +*.obj +*.patch +*.so +*.pcf.gz +*.pdb +*.tar.bz2 +*.tar.gz +# +# Add & Override patterns for libpciaccess +# +# Edit the following section as needed +# For example, !report.pc overrides *.pc. See 'man gitignore' +# diff --git a/lib/libpciaccess/COPYING b/lib/libpciaccess/COPYING index 2c39a67c..01d624d6 100644 --- a/lib/libpciaccess/COPYING +++ b/lib/libpciaccess/COPYING @@ -2,7 +2,7 @@ (C) Copyright Eric Anholt 2006 (C) Copyright Mark Kettenis 2011 (C) Copyright Robert Millan 2012 -Copyright (c) 2007, 2008, 2009, 2011, 2012, 2013 Oracle and/or its affiliates. +Copyright (c) 2007, 2008, 2009, 2011, 2012, 2016 Oracle and/or its affiliates. Copyright 2009, 2012 Red Hat, Inc. All Rights Reserved. diff --git a/lib/libpciaccess/ChangeLog b/lib/libpciaccess/ChangeLog deleted file mode 100644 index dbaf08f0..00000000 --- a/lib/libpciaccess/ChangeLog +++ /dev/null @@ -1,3486 +0,0 @@ -commit 935f0b4d6983f77c4f35e6d492f9f2c2d1ed57f9 -Author: Alan Coopersmith -Date: Mon Oct 17 18:41:02 2022 -0700 - - libpciaccess 0.17 - - Signed-off-by: Alan Coopersmith - -commit d193fa690415333420b435edb5782789a6f3ea57 -Author: Samuel Thibault -Date: Tue Aug 23 19:27:27 2022 +0200 - - hurd: Fix pci_device_hurd_map_legacy - - It was not passing a proper region number to pci_device_hurd_map_range, - and that would not make sense anyway since the rom is not a region for - instance, and the video memory, interrupt vector etc. aren't a region or - the rom. - - So this uses pci_device_hurd_map_range for the rom, and - pci_system_x86_map_dev_mem for non-rom. Unfortunately pci-arbiter - currently cannot get the rom_base from libpciaccess, so we can only - guess that we are trying to map a rom. - -commit 361356b08003f5e3c606e16eeb6a17fe02ff2726 -Author: Moritz Fischer -Date: Mon Mar 8 12:02:33 2021 -0800 - - Add pci_device_disable() function - - This implements a pci_device_disable() function, currently only for - the linux_sysfs() backend. - - This mirrors the implementation for pci_device_enable() - - Signed-off-by: Moritz Fischer - -commit a8abf913ad6b60492ef7b6ae512c4f879604a6a7 -Author: zhanghongtao -Date: Mon Aug 1 16:20:28 2022 +0800 - - Delete redundant symbols ';' - - Signed-off-by: zhanghongtao - -commit ab475c645ff9fc40e18af739eb4b81a5eb7f783c -Author: zhanghongtao -Date: Mon Aug 1 16:13:40 2022 +0800 - - Add header protection macro in linux_devmem.h - - Signed-off-by: zhanghongtao - -commit b8de959615449fdf5b58ef08d881a77d397e86e2 -Author: zhanghongtao -Date: Mon Aug 1 15:53:57 2022 +0800 - - pci_sys set NULL after free - - Signed-off-by: zhanghongtao - -commit f93c0dae5a837404a48ea7f3609c6c5c30691a7b -Author: zhanghongtao -Date: Mon Aug 1 15:28:14 2022 +0800 - - Add parentheses to the macro definition - - Signed-off-by: zhanghongtao - -commit 1fa5d4bdfcc6fea44f9abf353d25f3a5d013f5d7 -Author: Satadru Pramanik -Date: Tue Jun 21 20:44:30 2022 +0000 - - Add support for building on macOS w/o X11, using endian code from "portable_endian.h"... - -commit 22a93f8b9b4a79eefbdd0b2c412526f6141ac7a8 -Author: Alan Coopersmith -Date: Wed Apr 6 11:46:45 2022 -0700 - - configure.ac: Use pkg-config to find zlib dependency info - - Matches what we already do in meson.build - - Signed-off-by: Alan Coopersmith - -commit 0ae62706c34e4abc581d4c42ce9807e2898fac1d -Author: Alan Coopersmith -Date: Wed Apr 6 16:30:51 2022 -0700 - - gitlab CI: stop requiring Signed-off-by in commits - - Signed-off-by: Alan Coopersmith - -commit 831b467b2e3876c4e0c307d1e3eae2746ce805a7 -Author: Chester Gillon -Date: Sun Sep 5 13:37:56 2021 +0100 - - Obtain correct value of is_64 and is_prefetchable PCI device fields - - Correct setting of the is_64 and is_prefetchable pci_device fields in - pci_device_linux_sysfs_probe(). - The pci_device struct defines is_64 and is_prefetchable as single bits, - but the previous code was attempting to store the result of a bit-masked - field in a single bit which always resulted in is_64 and is_prefetchable - being zero regardless of the actual capabilities of the PCI device. - - Fixes: #15 - - Signed-off-by: Chester Gillon - -commit 28d6dd72e5d6fa907dbccd310cc516e7012a60bd -Author: Alan Coopersmith -Date: Sat Apr 2 16:00:56 2022 -0700 - - gitlab CI: add a basic build test for both autotools and meson - - Signed-off-by: Alan Coopersmith - -commit 465aecdce47040a211fddc29186a4b1aa2ad5648 -Author: Alan Coopersmith -Date: Sat Apr 2 15:27:10 2022 -0700 - - meson: install man page in mandir/man1/, not mandir/1/ - - But don't install it by default, since neither meson nor autotools - installs the scanpci program by default - - Signed-off-by: Alan Coopersmith - -commit 5cf85c28ad5f0811d53e5d70eac384dfe8e86cd6 -Author: Alan Coopersmith -Date: Sat Apr 2 14:54:06 2022 -0700 - - Fix spelling/wording issues - - Found by using: - codespell --builtin clear,rare,usage,informal,code,names - - Signed-off-by: Alan Coopersmith - -commit 9ad16d4da14905abfac50e41105dd1ceba877b07 -Author: Alan Coopersmith -Date: Sat Apr 2 14:44:13 2022 -0700 - - Build xz tarballs instead of bzip2 - - Signed-off-by: Alan Coopersmith - -commit 21aa2bf6edda711cc4a883e89fd4d3c337c76d6b -Author: Joan Lledó -Date: Sat Mar 12 19:28:04 2022 +0100 - - Hurd: Fix initialization order - - This allows non-root programs to to rely on /servers/bus/pci - - Message-Id: <20220312182804.9318-2-jlledom@mailfence.com> - - Reviewed-by: Samuel Thibault - -commit 4ef1660667425c0f171949aacae9d07b10a40d7f -Author: Damien Zammit -Date: Tue Feb 15 06:44:23 2022 +0000 - - hurd: Don't necessarily look up _SERVERS_BUS_PCI - - This allows the fallback mechanism in the hurd create method to be - used in the map range method by reusing the mach port that - corresponds to the root of the pci filesystem. - - Message-Id: <20220215064411.68671-1-damien@zamaudio.com> - - Reviewed-by: Samuel Thibault - -commit 740d2f29700af38b01ca68e3e834db164cc1b789 -Author: Samuel Thibault -Date: Sun Jan 9 01:09:04 2022 +0100 - - hurd: Restore initialization order - - 3e0d1cde0187 ("hurd: Implement device memory mapping") was making - root-running processes insist on using the pci device, and never try the - fs-provided translator. This reverts back to trying the pci device - first, but completely, and then revert to the fs-provided translator. - -commit 3e0d1cde01872d605c267c61094e44315a3e7467 -Author: Joan Lledó -Date: Wed Jan 5 13:08:01 2022 +0100 - - hurd: Implement device memory mapping - - * src/hurd_pci.c: - * Implement device memory mapping functions - * pci_device_hurd_map_range - * pci_device_hurd_unmap_range - * pci_device_hurd_map_legacy - * pci_device_hurd_unmap_legacy - * src/x86_pci.h: - * Remove unused declarations - * pci_device_x86_map_range() - * pci_device_x86_unmap_range() - * pci_device_x86_map_legacy() - * pci_device_x86_unmap_legacy() - * src/x86_pci.c: - * Fix port leaks - * Make mapping function static again - * map_dev_mem(): use device_map() support for offsets - Message-Id: <20220105120802.14008-2-jlledom@mailfence.com> - - Reviewed-by: Samuel Thibault - -commit 9c01fdd7c02d8b9b5003e659ebca0b3643bd47c4 -Author: Damien Zammit -Date: Wed Apr 7 18:29:13 2021 +1000 - - x86: Sort devices by B/D/F due to recursive scan - -commit 50e7de7a81be35bb4e5799cb5562d18683c05ade -Author: Damien Zammit -Date: Sun Mar 7 10:32:33 2021 +1100 - - hurd: device_open(pci), /servers/bus/pci fallback - - Reviewed-by: Samuel Thibault - -commit b4bde8fe4e2872be8d0c527f5c9e155603f5d01f -Author: Petr Ovtchenkov -Date: Wed Dec 2 10:52:28 2020 +0300 - - missed library installation in meson - - Signed-off-by: Petr Ovtchenkov - Reviewed-by: Dylan Baker - -commit f51e2f1e96db2acd426ac3f6bb066f314a7eee46 -Author: Dylan Baker -Date: Sun Oct 25 11:14:56 2020 -0700 - - autoconf: Add meson files to dist tarball - - Reviewed-by: Eric Anholt - -commit 89fcd717a60e7a6440b56ff7c82b5eeb80b92a2f -Author: Dylan Baker -Date: Wed Sep 19 16:15:41 2018 -0700 - - Add a meson build system - - I believe this is correct and complete, but I could have missed - something on non-linux OSes. - - Reviewed-by: Eric Anholt - -commit 1ebcfe918a0da46a5b7ab44fc3ec0e6c65f98043 -Author: Samuel Thibault -Date: Thu Sep 10 00:20:33 2020 +0200 - - hurd: Fix map_dev_mem from non-zero address - - device_map needs to create a big-enough object so it can then be mapped. - - Signed-off-by: Samuel Thibault - -commit b82b779247b2adb164afed85a7e06cf3ca0d8ade -Author: Samuel Thibault -Date: Thu Sep 10 00:19:41 2020 +0200 - - hurd: Fix letting map_dev_mem map anywhere - - Signed-off-by: Samuel Thibault - -commit 790ef9888a23fc257a66e742baf3b162b8c1f7c5 -Author: Samuel Thibault -Date: Thu Sep 10 00:18:12 2020 +0200 - - hurd: Add missing round up size in map_dev_mem - - Signed-off-by: Samuel Thibault - -commit 3e5ae795a265b8843c09cba310a5582c909f97a4 -Author: Damien Zammit -Date: Sat Aug 22 22:31:11 2020 +1000 - - x86: Remove probe during create, other backends don't do this - -commit 9effa77676207d547dc869ecb8c342869e14ef70 -Author: Damien Zammit -Date: Fri May 8 10:22:34 2020 +1000 - - x86: Remove mapping of regions during probe - otherwise remapping later fails - -commit b37ffbd94b4a270e62b752bdced882ce12b7610c -Author: Damien Zammit -Date: Fri May 8 10:19:23 2020 +1000 - - x86: Use gnumach device instead of /dev/mem on GNU systems && factorise ifdefs - -commit 6c0eebdf3a72d372de9aa1226ce889bdf56440b0 -Author: Damien Zammit -Date: Sun Mar 15 12:42:51 2020 +1100 - - hurd_pci: Use __pci_conf_ variants of pci_conf_ - -commit 1a7dab7b7c36b73d2a2d7e8b5c288c71542de11e -Author: Fabrice Fontaine -Date: Fri Oct 25 19:03:32 2019 +0200 - - pciaccess.pc.in: add Libs.Private - - Add Libs.Private in pciaccess.pc.in so applications that wants to link - statically with pciaccess will know that they have to link with its - dependencies such as -lz - - Signed-off-by: Fabrice Fontaine - -commit 73901e7f7c03a5cdea317fd3d36feb978ef34a02 -Author: Joan Lledó -Date: Sun Nov 24 11:17:30 2019 +0100 - - Hurd: avoid using the deprecated RPC pci_get_ndevs() - -commit fbd1f0fe79ba25b72635f8e36a6c33d7e0ca19f6 -Author: Adam Jackson -Date: Wed Jul 17 12:24:48 2019 -0400 - - libpciaccess 0.16 - -commit f834c15afb49aa340c44374c6e00ef303b076ace -Author: Damien Zammit -Date: Sun May 19 20:33:21 2019 +1000 - - x86: Use MAP_SHARED for memory/rom region mmap && fix mode - -commit 1d71669e577f5f2eb02542851696d3bcb722a80b -Author: Adam Jackson -Date: Thu Jul 11 12:56:40 2019 -0400 - - linux: Don't try to include on arm - - It no longer exists in newer glibc, and didn't work like you'd have - hoped on anything but strongarm anyway. - -commit 726e27bedf163597b5c948b66daeacf9b76f441a -Author: Adam Jackson -Date: Thu Jul 11 12:27:36 2019 -0400 - - libpciaccess 0.15 - -commit 53e53b09eb80e4e2b3e1fad3f4886bf9290a61e0 -Author: Lichao Mu -Date: Thu Jul 11 12:19:34 2019 -0400 - - Fix pci_device_get_bridge_info() for multifunction bridges - - Fixes: xorg/lib/libpciaccess#9 - -commit 640f114e3bf195f77a2151fc6cbdfed8ace8b6ae -Author: Damien Zammit -Date: Sat Nov 10 06:48:42 2018 -0500 - - Use recursive scan bus - - Switch over to the new recursive scan bus routine for x86 - - Signed-off-by: Damien Zammit - -commit 95fbfeeacfd054de1037d6a10dee03b2b2cbc290 -Author: Damien Zammit -Date: Sat Nov 10 06:23:40 2018 -0500 - - Add better probe cmds for non-VGA roms and regions on x86 - - Also add a recursive scan-bus routine that uses the new probe cmds. - - Signed-off-by: Damien Zammit - -commit 048fe0613847e3a9b39bbc3ea3e6db0f54517191 -Author: Damien Zammit -Date: Sat Nov 10 06:11:19 2018 -0500 - - New module for the Hurd - - This new module uses Hurd's RPCs for accessing the PCI configuration space. - Direct access as in {read_write}_{8,16,32} functions is done by the old x86 - module. - - Some x86 function prototypes are now declared in a new header for the Hurd - module to use them, in order to duplicate as little code as possible. - - Author: Joan Lledó - Also-by: Damien Zammit - Signed-off-by: Damien Zammit - -commit 6e3837284372d70a9427918f622bf1dc7e2a3db6 -Author: Niclas Zeising -Date: Sat Jun 15 11:12:51 2019 +0200 - - freebsd_pci: remove old probe method - - Remove the old probe method. The PCIOCGETBAR ioctl has been in FreeBSD - since 8.0 release, if not earlier. Remove the old way of doing it. - This is done using unifdef -DPCIOCGETBAR and cleaning up whitespace. - - Signed-off-by: Niclas Zeising - -commit e8c7e461e43e96f7cf8b121d20d83dc6d8997f91 -Author: Niclas Zeising -Date: Sat Jun 15 11:02:07 2019 +0200 - - freebsd_pci: format freebsd_pci_methods - - Format freebsd_pci_methods a bit, adding some whitespace and assigning - NULL to methods not implemented. This makes it easier to see the names - of various methods, as well as which methods are not implemented. - Idea from src/linux_sysfs.c - - Signed-off-by: Niclas Zeising - -commit b40f387048a5c7b280d0c83d3af9d34ceca7f4f8 -Author: Niclas Zeising -Date: Sat Jun 15 10:59:00 2019 +0200 - - freebsd_pci: Add has_kernel_driver function - - Add a has_kernel_driver function to the FreeBSD libpciaccess functions. - This uses the PCIOCATTACHED ioctl to check if a driver is attached to a - specific PCI device. - Idea taken from the FreeBSD system utility pciconf. - - Signed-off-by: Niclas Zeising - -commit baa4084474665e34a8d6a9bba0e97d9aa5dcd88a -Author: Niclas Zeising -Date: Sun Jun 16 10:42:08 2019 +0200 - - freebsd_pci: Remove unused variable - - Remove unused variable, it's written to, but never used. - - Signed-off-by: Niclas Zeising - -commit 976e661ee193941f9928353db365f14654a934db -Author: Niclas Zeising -Date: Sun Jun 16 10:41:03 2019 +0200 - - freebsd_pci: Make this work on sparc64 - - Make the FreeBSD libpciaccess routines work on FreeBSD. The FreeBSD - sparc64 architecture needs special treatment, similar to the - PCI_MAGIC_IO_RANGE code. However, PCI_MAGIC_IO_RANGE has been gone for - some time. Give this a chance to work on sparc64 anyway. - - This code has been in the FreeBSD ports tree for some time. - -commit a1b528c4ae00972640d7a24f049c3fe9055ffe3b -Author: Niclas Zeising -Date: Fri Jun 14 23:40:33 2019 +0200 - - freebsd_pci: update legacy I/O for new architectures - - Update FreeBSD legacy I/O routines for new architectures. When we're - not on amd64 or i386, and PCI_MAGIC_IO_RANGE is not defined, use IOCTLs - to handle reads and writes through /dev/io. - This is accomplished by opening /dev/io and using IOCTLs from - dev/io/iodev.h, an interface that exists on most FreeBSD architectures. - - This change has been in the FreeBSD ports tree for quite some time. - -commit b6de3c42cdc8fdb3acdd0b0a119e8848f1339950 -Author: Niclas Zeising -Date: Sat Jun 15 00:06:54 2019 +0200 - - freebsd_pci: Fix types in write functions - - Fix the type used in write functions to match the size of the write. - - Signed-off-by: Niclas Zeising - -commit 735c8a5f6649d1b13fdc932f1b0b1e9e94512949 -Author: Niclas Zeising -Date: Thu Jun 13 17:36:35 2019 +0200 - - Don't check for struct pci_io.pi_sel.pc_domain - - Autoconf has a check that pci_io.pi_sel.pc_domain exists. This is only - used on FreeBSD. pc_domain was added to pci_io.pi_sel on FreeBSD many - many releases ago, and exists on all current FreeBSD releases. - - Remove the check, and the corresponding HAVE_PCI_IO_PC_DOMAIN, and - update the code to take into account that #ifdef HAVE_PCI_IO_PC_DOMAIN - is now always true. - - Signed-off-by: Niclas Zeising - -commit 4fef4d2978619e9f198a17176afc88ba27ff6ab7 -Author: Niclas Zeising -Date: Thu Jun 13 17:14:53 2019 +0200 - - freebsd_pci: Try to conform to uniform style - - Try to make freebsd_pci.c conform to a more uniform style. - This change is whitespace only, no functional change intended. - - Signed-off-by: Niclas Zeising - -commit 404f6aadaeeef03fedca52a822871675a652692f -Author: Conrad Meyer -Date: Sun Jun 16 02:30:41 2019 -0700 - - freebsd: Add !legacy open_device_io implementation - - Some drivers, such as QXL, rely on this method and do not check for errors - when it is unavailable. FreeBSD's legacy method can enumerate any d/b/s/f - just fine, so it should be adequate for the !legacy API, as far as I can - tell. - - With this change, QXL doesn't crash on startup on FreeBSD. - - Signed-off-by: Conrad Meyer - -commit fbed5d2b478cd33870c8eb6f0a12893193d7e32c -Author: Alan Coopersmith -Date: Fri Dec 7 19:31:52 2018 -0800 - - Update configure.ac bug URL for gitlab migration - - Signed-off-by: Alan Coopersmith - -commit d30934ee6e0ee48cc10c141d5681be847e28e974 -Author: Alan Coopersmith -Date: Mon Nov 19 23:03:36 2018 -0800 - - Update README for gitlab migration - - Signed-off-by: Alan Coopersmith - -commit 44f3dd08f99ba67e967980daaea2b800c68e2659 -Author: Olivier Fourdan -Date: Wed Oct 24 10:11:49 2018 +0200 - - linux: Set number of devices to 0 in case of error - - pci_sys is a global variable which is populated on init, and in case of - error reading sysfs on Linux, the devices are NULL, but the number of - devices is left unchanged. - - As a result, we may crash in `pci_device_next()` which relies on the - number of devices. - - To fix the issue, simply reset the number of devices to zero in case of - error so we don't try to access indices of a NULL array later on. - - Signed-off-by: Olivier Fourdan - -commit 13854f603f720c45caf51d785a874d3c7e8c5f58 -Author: Adam Jackson -Date: Mon Oct 23 11:44:32 2017 -0400 - - libpciaccess 0.14 - - Signed-off-by: Adam Jackson - -commit a167bd6474522a709ff3cbb00476c0e4309cb66f -Author: Stephen Hemminger -Date: Mon Sep 18 13:17:23 2017 -0400 - - linux: support 32 bit PCI domains (v3) - - The PCI domain may be larger than 16 bits on Microsoft Azure and other - virtual environments. PCI busses reported by ACPI are limited to 16 - bits, but in Azure the domain value for pass through devices is - intentionally larger than 16 bits to avoid clashing with local devices. - This is needed to support pass through of GPU devices. - - v3: (ajax) - Update FreeBSD and Solaris backends to preserve the full 32-bit domain - number, since on those OSes it stands a chance of working already. - Update NetBSD and OpenBSD backends to initialize domain_16 compatibly - with older libpciaccess; neither backend appears to support more than a - handful of domains to begin with though. Trivially update the generic - x86 backend for source compatibility, though it still only supports one - domain and will never be better. - - Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=101744 - Signed-off-by: Stephen Hemminger - Reviewed-by: Eric Anholt - -commit 4f1ac52e828eed1c410ee66304fcb7a17f25da40 -Author: Emil Velikov -Date: Tue Apr 4 14:40:41 2017 +0100 - - libpciaccess 0.13.5 - - Signed-off-by: Emil Velikov - -commit 9b9d26ce7646713e148c7ee0f461c2bcccdd5201 -Author: Emil Velikov -Date: Tue Apr 4 13:48:46 2017 +0100 - - configure.ac: set AC_CONFIG_AUX_DIR - - If not set, libtool will search directories up to ../.. for an install-sh and - then dump the aux files there. This caused a couple of problems with the xorg - release.sh script that now uses worktrees but is generally bad behaviour - because we can't guarantee that we're not inside some other repository. - - Set AC_CONFIG_AUX_DIR to avoid this behavior. - - See https://lists.freedesktop.org/archives/xorg-devel/2017-March/053006.html - - Note: the commit and above message are shamelessly copied from libinput. - - Signed-off-by: Peter Hutterer - Signed-off-by: Emil Velikov - -commit 504a65a732ea070dce907fce827a15d6b61e0c4d -Author: Emil Velikov -Date: Tue Apr 4 13:33:29 2017 +0100 - - configure.ac: remove AC_CONFIG_SRCDIR macro - - It is used to guide people who incorrectly set configure --srcdir. - - To be actually useful the macro should point to a rather unique file - - which in our current case is a false premise. We have five Makefile.am - in-tree and chances are that $libpciaccess/.. may also contain such a - file. - - Let's not pretend that its useful and leave the user to what they're - asking for. - - Signed-off-by: Emil Velikov - -commit fe556c48dad96717b0ba71d489575c6b90b46448 -Author: Henry Zhao -Date: Wed May 25 14:06:49 2016 -0700 - - use cached devinfo snapshots, remove unnecessary di_init() - - Use cached devinfo (DINFOCACHE) in di_init(). - Remove unnecessary di_init() on nexus nodes. - - Signed-off-by: Henry Zhao - Signed-off-by: Emil Velikov - -commit 0bd248f852f1f2a37396c98519eee6f50c434848 -Author: Henry Zhao -Date: Wed May 25 14:04:40 2016 -0700 - - probe should not hold pci nexus drivers open - - Probe should not hold pci nexus drivers open - close after use. - - Signed-off-by: Henry Zhao - Signed-off-by: Emil Velikov - -commit 85a484b94d5cdcad31c3caf8b0fa52e6f50dec96 -Author: Emil Velikov -Date: Thu Dec 1 18:14:40 2016 +0000 - - Revert "linux_sysfs: include for PATH_MAX" - - This reverts commit 8ea3af620a2d4ad5648917b4a0ef2b23ff566774. - - The include was added with 6bd2f7f92eae713663f4e13f6e2cb23526607b8c - - Cc: Adam Jackson - -commit e787ec28e433a24195f37012dad23bce468b330a -Author: Mihail Konev -Date: Thu Jan 26 13:52:49 2017 +1000 - - autogen: add default patch prefix - - Signed-off-by: Mihail Konev - -commit cdb2bfc9668895431e73335fc0490c4cbfa3023a -Author: Emil Velikov -Date: Thu Jan 26 12:04:14 2017 +1000 - - autogen.sh: use quoted string variables - - Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent - fall-outs, when they contain space. - - Signed-off-by: Emil Velikov - Reviewed-by: Peter Hutterer - Signed-off-by: Peter Hutterer - -commit f46a7a83e42fcd0601b21e361ea7fbf056d11fce -Author: Peter Hutterer -Date: Thu Jan 26 12:03:12 2017 +1000 - - autogen.sh: use exec instead of waiting for configure to finish - - Syncs the invocation of configure with the one from the server. - - Signed-off-by: Peter Hutterer - Reviewed-by: Emil Velikov - -commit 73db249c4b1eb91e0df27a1045bea344371dd2ca -Author: Emil Velikov -Date: Thu Dec 1 18:17:35 2016 +0000 - - linux sysfs: retrieve vendor, device... info via separate sysfs files - - Currently the kernel does not expose the revision file. With that about - to change (due in 4.10) we can read all the information required from - separate files and avoid opening the config one. - - The latter has the [negative] side effect of waking up the device, which - in some cases can be quite costly. - - Reviewed-by: Adam Jackson - Signed-off-by: Emil Velikov - -commit 099489b7917da44de57f3214425ea9b4a8f36482 -Author: Keith Busch -Date: Wed Aug 10 17:05:23 2016 -0600 - - Ignore 32-bit domains - - A pci "domain" need not be limited to the 16-bits. The Linux kernel - currently supports 32-bit domains which cause startx to segfault. Updating - libpciaccess to support 32-bit domains breaks the library's ABI, and - domains requiring 32-bits are not necessary for startx anyway, so this - patch ignores them. - - Reported-by: Pawel Baldysiak - Signed-off-by: Keith Busch - Reviewed-by: Eric Anholt - -commit 201d1a7623c83f611761f67d4411c3c266f8f37a -Author: arsharma -Date: Mon Feb 23 21:31:07 2015 +0000 - - device-name: handle calloc failure in insert() - - Issue was spotted by Klocwork, and fixed by arsharma as part of - Android-ia. - - Just bail out if memory allocation fails. All the callers of insert() - already handle the case. - - [Emil Velikov: Split from larger patch, write commit message] - Signed-off-by: Emil Velikov - -commit af2fdf1bdc4532410f49fc0854ae4c0f9086cce9 -Author: arsharma -Date: Mon Feb 23 21:31:06 2015 +0000 - - vgaarb: add a the trailing NULL character on read(vgaarb_fd) - - Issue was spotted by Klocwork, and fixed by arsharma as part of - Android-ia. Not 100% sure if the data read from /dev/vga_arbiter is not - already null terminated, but making sure won't hurt either. - - [Emil Velikov: Split from larger patch, write commit message] - Signed-off-by: Emil Velikov - -commit c1de5dc0541e58372dcddc5120e1e68e03f4f619 -Author: Chuck Tuffli -Date: Thu Feb 6 18:09:35 2014 -0800 - - libpciaccess: Fix incorrect format specification - - Building libpciaccess generates a warning on versions of Linux in which - the definition of the struct mtrr_sentry has changed to __u64. - - Since sentry.base is assigned from a pciaddr_t, always cast sentry.base - to be type pciaddr_t and modify the formatting string to use PRIx64 - instead of %08lx - - Verified on Ubuntu 10.04 and 14.04 - - Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=74643 - - Signed-off-by: Chuck Tuffli - -commit 8ea3af620a2d4ad5648917b4a0ef2b23ff566774 -Author: Felix Janda -Date: Thu Dec 4 23:52:22 2014 +0100 - - linux_sysfs: include for PATH_MAX - - Signed-off-by: Felix Janda - Tested-by: Bernd Kuhls - -commit 42240dcbbce8ec744401d4a464f71c3fbd3fca1b -Author: Emil Velikov -Date: Mon Mar 9 11:57:40 2015 +0000 - - autogen.sh: pass --force to autoreconf, quote string variables - - By passing --force autoreconf will update all the aux files, which would - otherwise be ignored if one updates autoconf/automake. - - Quote the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when - it contains space. - - v2: Also handle $srcdir and $0. - - Signed-off-by: Emil Velikov - -commit e99c005d623a74287bbfafffc0c7040c31cdb01f -Author: Adam Jackson -Date: Tue Sep 22 08:38:56 2015 -0400 - - chmod a-x README.cygwin - - Signed-off-by: Adam Jackson - -commit 6bd2f7f92eae713663f4e13f6e2cb23526607b8c -Author: Felix Janda -Date: Fri May 1 16:36:50 2015 +0200 - - linux_sysfs.c: Include for PATH_MAX - - Fixes compilation with musl libc. - - Tested-by: Bernd Kuhls - Signed-off-by: Felix Janda - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit 765e0a38cb8c40f8865af5cb356ffe6039ffb08f -Author: Thomas Klausner -Date: Sun Mar 22 21:38:23 2015 +0100 - - Fix quoting issue. - - m4 has '[]' as quoting characters, so if we want '[]' to - end up in the configure script, we need to quote them again. - - Reported by Greg Troxel . - - Signed-off-by: Thomas Klausner - Reviewed-by: Alan Coopersmith - -commit b14696a55796e739624bbda4f772427032efff2a -Author: Julien Cristau -Date: Sun Apr 26 15:20:57 2015 +0200 - - Include config.h before anything else in *.c - - Debian bug#749008 - - Reported-by: Michael Tautschnig - Signed-off-by: Julien Cristau - Reviewed-by: Alan Coopersmith - -commit bbd1acdd1d25b9a68f4b7913a4094af20d7cf78f -Author: Alan Coopersmith -Date: Thu Apr 30 21:44:41 2015 -0700 - - libpciaccess 0.13.4 - - Signed-off-by: Alan Coopersmith - -commit d0c53bdc0b35a5416fc30a610b7401978871a5f1 -Author: Tobias Nygren -Date: Mon Feb 16 10:22:35 2015 +0100 - - Bug 89151: Fix build on NetBSD/alpha and NetBSD/sparc64. - - This patch is required for building on NetBSD/alpha (needs platform - specific -lalpha) and NetBSD/sparc64 (no platform specific library, - just -lpci). The patch also generalizes to support all NetBSD - platforms with pci bus. - - https://bugs.freedesktop.org/show_bug.cgi?id=89151 - - Reviewed-by: Alan Coopersmith - Signed-off-by: Thomas Klausner - -commit 1972e9223764618aedc5adc32b64b2c043d1b826 -Author: Eero Tamminen -Date: Tue Feb 10 14:55:22 2015 +0000 - - Check for __linux__ instead of linux during compilation - - "__linux__" is the POSIX define for checking for Linux OS, "linux" is - deprecated and apparently not supported by Android. - - Besides correcting the define, patch adds error for the case OS isn't - recognized. - - Signed-off-by: Eero Tamminen - - v2: Drop double negative from commit msg. Spotted by Mateusz Jończyk. - [Emil Velikov: Remove irrelevant Android details from commit msg.] - Signed-off-by: Emil Velikov - Reviewed-by: Jasper St. Pierre - Signed-off-by: Alan Coopersmith - -commit ed340abc37b07cb9fc788ae77d837088c54cd16a -Author: Emil Velikov -Date: Tue Feb 10 14:55:21 2015 +0000 - - Include config.h before any other headers. - - The former has a series of defines which in some cases are crusial to be - set before including any system headers. - - Signed-off-by: Emil Velikov - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit 6329ef9e5d6f36ca3f7258279f6640037b71926a -Author: Chih-Wei Huang -Date: Tue Feb 10 14:55:20 2015 +0000 - - Add missing guards around config.h inclusion - - In some cases the header may not exist, leading to compilation issues. - Add the ifdef HAVE_CONFIG_H, as it is those in other parts of the - project. - - [Emil Velikov: Split out from a larger commit, rework commit message] - Signed-off-by: Emil Velikov - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit e42ee2a075a8b7c62b190815be42ea26c9d8c03f -Author: Emil Velikov -Date: Tue Feb 10 14:55:19 2015 +0000 - - Include the POSIX fcntl.h instead of sys/fcntl.h - - The former is part of the POSIX standard, and (unlike the latter) is - more widely available. - - v2: Drop gracious d in header name. Spotted by Alan. - - Cc: Adam Jackson - Signed-off-by: Emil Velikov - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit f99c2e4199ce37f6f94428df504427f67c3ec543 -Author: Alan Coopersmith -Date: Tue Feb 3 15:59:10 2015 -0800 - - libpciaccess 0.13.3 - - Signed-off-by: Alan Coopersmith - -commit 9b1bf11c81881c9cc6e6145011cf229978f109f4 -Author: Mark Kettenis -Date: Mon Sep 29 22:34:25 2014 +0200 - - Use PCIOCREADMASK on OpenBSD. - - If the machdep.allowaperture sysctl(8) variable is set to 0, writing to PCI - config space is not allowed. So instead of writing 0xffffffff to the BARs - in order to determine their size, use the PCIOCREADMASK ioctl(2) which - returns the mask of changeable bits that was saved by the kernel when the - devices was initially probed. - - Reviewed-by: Matthieu Herrb - Signed-off-by: Mark Kettenis - -commit b7e42643d2ee6521cf23e6dfe49a8369ba4bf9bb -Author: Matthew Green -Date: Sat Jul 26 22:09:30 2014 +0200 - - Implement the kernel_has_driver() method for NetBSD. - - This has the benefit of stopping the "vesa" driver from loading on - hardware that has been claimed by a kernel driver and thus shouldn't - be using "vesa". - - Reviewed-by: Matthieu Herrb - Signed-off-by: Thomas Klausner - -commit 1654a0462723b3b75d7a4a20bedfc653cc3e1f1a -Author: Alan Coopersmith -Date: Wed Jul 2 16:41:10 2014 -0700 - - Solaris: Fix fd leak in pci_device_solx_devfs_map_range() - - Caching fd's for reuse is most effective when you actually stick the - newly opened fd in the cache, instead of letting it leak at the end - of the function. - - Regression introduced by yours truly in commit 9f2d95e61896f41adb. - - Signed-off-by: Alan Coopersmith - Reviewed-by: Randy Fishel - -commit ee4e253a3f1a62e2f3f89f5339590fd4e6cde7c4 -Author: Alan Coopersmith -Date: Fri May 9 19:25:10 2014 -0700 - - Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compiler - - Support for this attribute is added in the 12.4 beta release. - - Signed-off-by: Alan Coopersmith - -commit b9c068896914b4132a24839c9ef7f9fcd6282d88 -Author: Marcin Ko?cielnicki -Date: Wed Feb 5 09:01:25 2014 +0100 - - Fix IO access functions on linux+sysfs. - - The offsets on the resourceX files are relative to BAR base - don't add - the base address ourselves. - - Reviewed-by: Adam Jackson - -commit b29e9be9aff5c5a9ec5e2bcfc48044081b82742b -Author: Samuel Pitoiset -Date: Wed Jan 29 18:44:40 2014 +0100 - - Fix a compilation error on GNU Hurd platforms. - - This fixes a typo (unAMp instead of unMAp) introduced in the Windows/Cygwin - support patch. - - Reviewed-by: Jon TURNEY - -commit 6bfccc7ec4f0705595385f6684b6849663f781b4 -Author: Samuel Pitoiset -Date: Sat Jan 18 17:19:14 2014 +0100 - - Windows/Cygwin: Add support through the WinIo library - - V2: - - Add support for unmapping - - Add a README.cygwin - - Reviewed-by: Martin Peres - Reviewed-by: Jon TURNEY - -commit 06f562584a885eff7366dca82caf746e62b5a21f -Author: Thomas Klausner -Date: Wed Aug 14 19:45:46 2013 +0200 - - Improve NetBSD i386 detection. - - Sometimes, other values are reported for the CPU part, like - "i486--netbsdelf"). - - From: Mark Davies - Signed-off-by: Thomas Klausner - Reviewed-By: Matt Dew - Signed-off-by: Alan Coopersmith - -commit 4427be3de93f359ab106a649a43e41319625e1e7 -Author: Thomas Klausner -Date: Sun Jul 21 11:44:14 2013 +0200 - - Fix zlib handling on NetBSD. - - Signed-off-by: Thomas Klausner - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit aa7925c4a798b9ed2cd43bd3c99c2df2a1824311 -Author: Alan Coopersmith -Date: Sat Jul 20 15:53:42 2013 -0700 - - libpciaccess 0.13.2 - - Signed-off-by: Alan Coopersmith - -commit bdcb46d33c6514278d2209fd00ed58c580da5ff3 -Author: John Martin -Date: Sat Jul 20 15:49:05 2013 -0700 - - Fix Sun bug #7035791: scanpci should report 64 bit registers - - On a system which has allocated 64-bit device addresses scanpci -v - will show entries such as: - [...] - BASE0 0xce000000 SIZE 16777216 MEM - BASE1 0x00000fc1f8000000 SIZE 134217728 MEM64 PREFETCHABLE - BASE3 0x00000fc1f6000000 SIZE 33554432 MEM64 PREFETCHABLE - [...] - instead of: - [...] - BASE0 0xce000000 SIZE 16777216 MEM - BASE1 0xf8000000 SIZE 134217728 MEM PREFETCHABLE - BASE3 0xf6000000 SIZE 33554432 MEM PREFETCHABLE - [...] - - Signed-off-by: Alan Coopersmith - -commit f806b95d029d36c977befed4096734f6461efa08 -Author: Alan Coopersmith -Date: Sat Jul 20 15:00:40 2013 -0700 - - Resync COPYING file with copyrights/licenses from code - - Signed-off-by: Alan Coopersmith - -commit 3bf035fcfd0ad55220f484f7fb5d5f18690bdb10 -Author: Alan Coopersmith -Date: Sat Jul 6 10:09:31 2013 -0700 - - pci_device_solx_devfs_probe: implicit conversion changes signedness warnings - - solx_devfs.c:615:32: warning: implicit conversion changes signedness: - 'unsigned long' to 'int' [-Wsign-conversion] - for (i = 0; i < len; i = i + CELL_NUMS_1275) { - ~ ~~^~~~~~~~~~~~~~~~ - solx_devfs.c:615:30: warning: implicit conversion changes signedness: - 'int' to 'unsigned long' [-Wsign-conversion] - for (i = 0; i < len; i = i + CELL_NUMS_1275) { - ^ ~ - - Signed-off-by: Alan Coopersmith - -commit 883acb4bf30735c7d8f3147341345fa9e3bc76b2 -Author: Alan Coopersmith -Date: Sat Jul 6 10:00:44 2013 -0700 - - Solaris: Remove #defines for Ultra 45 southbridge device ids - - Workaround for these chipsets was removed in commit d76fb36d9c28be0f7c - with the switch of probing methods from the PCI address poking that upset - them to using the already collected data from the kernel via devinfo, - but the #define to identify them was left behind unused - remove it too. - - Signed-off-by: Alan Coopersmith - -commit 3773eea8d4e22aaedf675051e5e96af53b925152 -Author: Alan Coopersmith -Date: Sat Jul 6 09:56:46 2013 -0700 - - pci_device_solx_devfs_read: fix sign conversion/comparison warnings - - Fixes: - solx_devfs.c:824:19: warning: comparison of integers of different signs: 'int' and 'pciaddr_t' (aka 'unsigned long') [-Wsign-compare] - for (i = 0; i < size; i += PCITOOL_ACC_ATTR_SIZE(PCITOOL_ACC_ATTR_SIZE_1)) - ~ ^ ~~~~ - solx_devfs.c:826:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] - cfg_prg.offset = offset + i; - ~ ^ - solx_devfs.c:844:19: warning: implicit conversion changes signedness: 'int' to 'pciaddr_t' (aka 'unsigned long') [-Wsign-conversion] - *bytes_read = i; - ~ ^ - - Signed-off-by: Alan Coopersmith - -commit 22f4b45056587f5700b87d09e9fe91bbb0eda4c5 -Author: Thomas Klausner -Date: Sat Jun 29 20:49:54 2013 +0200 - - Support more pci functions on NetBSD. - - Signed-off-by: Thomas Klausner - Signed-off-by: Alan Coopersmith - -commit 9a13ecb8f1462efaf741fed293e29ba38757ff70 -Author: Thomas Klausner -Date: Sat Jun 29 20:49:53 2013 +0200 - - Fix build on NetBSD-4. - - Signed-off-by: Thomas Klausner - Reviewed-by: Matthieu Herrb - Signed-off-by: Alan Coopersmith - -commit 1d364cb2f5b5cb1b18601735f42bada7a521be19 -Author: Thomas Klausner -Date: Sat Jun 29 20:49:52 2013 +0200 - - Enable boot_vga support only if WSDISPLAYIO_GET_BUSID is defined. - - Fixes build on NetBSD-5. - - Signed-off-by: Thomas Klausner - Reviewed-by: Matthieu Herrb - Signed-off-by: Alan Coopersmith - -commit 7f388e466bd7fbb7f9eba531e494e7efbd3a65dc -Author: Alan Coopersmith -Date: Mon Jun 24 21:20:27 2013 -0700 - - pci_id_file_open: move variable inside the #ifndef that uses it - - Clears up gcc warning on Solaris: - common_device_name.c: In function 'pci_id_file_open': - common_device_name.c:83:17: warning: unused variable 'result' [-Wunused-variable] - - Signed-off-by: Alan Coopersmith - -commit a39f054649e773a4b33bf8f52152f7c5139bb90e -Author: Alan Coopersmith -Date: Mon Jun 24 21:09:52 2013 -0700 - - Define PCI_MATCH_ANY as an unsigned int - - Clears a bunch of clang warnings of the forms: - - common_device_name.c:345:23: warning: comparison of integers of different signs: - 'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare] - if ( m->vendor_id == PCI_MATCH_ANY ) { - ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ - - common_device_name.c:498:19: warning: implicit conversion changes signedness: - 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] - m.device_id = PCI_MATCH_ANY; - ~ ^~~~~~~~~~~~~ - - Signed-off-by: Alan Coopersmith - -commit 5aff35d1ef659babd71f44f7963e4e908dcd86c4 -Author: Thomas Klausner -Date: Tue Jun 11 11:46:26 2013 +0200 - - Update NetBSD support. - - Signed-off-by: Michael Lorenz - Signed-off-by: Thomas Klausner - Reviewed-by: Matthieu Herrb - Signed-off-by: Alan Coopersmith - -commit c10c86e5856596778cb8322aec8ce663b1f1bea5 -Author: Thomas Klausner -Date: Tue Jun 11 11:45:50 2013 +0200 - - Move 'const' to correct place, so it has meaning. - - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit 719888a9ec5ef5a45698dea8a9642091c433ff29 -Author: Thomas Klausner -Date: Sun Jun 2 22:38:39 2013 +0200 - - Protect config.h like usual. - - Signed-off-by: Alan Coopersmith - -commit 434cd73d23cf5dc60d2047047378b59cadb0d5bb -Author: Alan Coopersmith -Date: Fri Jun 7 20:31:37 2013 -0700 - - Bug 63583 - add legacy IO routines for FreeBSD - - https://bugs.freedesktop.org/show_bug.cgi?id=63583 - - Reviewed-by: Mark Kettenis - Signed-off-by: Jung-uk Kim - Signed-off-by: Alan Coopersmith - -commit d76fb36d9c28be0f7c43e0ca1e961c30a7781bd4 -Author: Henry Zhao -Date: Thu Jan 10 17:53:09 2013 -0800 - - Solaris: probe improvement - - Remove pcitool dependency in probing phase. Use the data - collected from devinfo tree instead in creating pci file - system. - - Signed-off-by: Henry Zhao - Signed-off-by: Alan Coopersmith - -commit 3e17f069682a226c14bb29c802e776c6e39f7e8f -Author: Henry Zhao -Date: Tue Dec 18 15:10:46 2012 -0800 - - Solaris: Add domain support for sparc platform - - As a result the code of finding nexus node for a device in sparc is - simplified and made the same as x86. - - Signed-off-by: Henry Zhao - Signed-off-by: Alan Coopersmith - -commit 897cad2620ffbd6ecbbaea2a67fb973ec7990198 -Author: Colin Walters -Date: Wed Jan 4 17:37:06 2012 -0500 - - autogen.sh: Implement GNOME Build API - - http://people.gnome.org/~walters/docs/build-api.txt - - Signed-off-by: Adam Jackson - -commit d69019c5b744348d6e5032ef87f4a743f68cb112 -Author: Adam Jackson -Date: Tue Jan 15 14:28:48 2013 -0500 - - configure: Remove AM_MAINTAINER_MODE - - Signed-off-by: Adam Jackson - -commit 0ad7b5c548ecf409a1fdd835bde52a8cf5371b7a -Author: Egbert Eich -Date: Mon Jul 4 07:38:33 2011 +0200 - - PCI: set correct mask value when matching for bridges. - - The mask must not be zero otherwise the matching condition will never - be true: ((val & mask) == set). - - Signed-off-by: Egbert Eich - Reviewed-by: Guillem Jover - -commit 72e0c0b4d4680b7a7b4b42be525d406635dae40f -Author: Henry Zhao -Date: Fri Apr 6 17:26:59 2012 -0700 - - scanpci: print meaningful info on BASEROM - - Signed-off-by: Henry Zhao - Signed-off-by: Alan Coopersmith - -commit ba53031899611a1653656034a1a3de9b71e5bc85 -Author: Henry Zhao -Date: Fri Apr 6 16:52:42 2012 -0700 - - libpciaccess: sparc rom read fix - - Get rom address and size from device's "assigned-addresses" property - if they exist. - - Signed-off-by: Henry Zhao - Signed-off-by: Alan Coopersmith - -commit 2edddd4c4eb4258f4347c40e76bf0d5f1bcf51a7 -Author: Henry Zhao -Date: Fri Oct 5 12:41:36 2012 -0700 - - libpciaccess: implementation of boot_vga in Solaris - - Signed-off-by: Henry Zhao - Signed-off-by: Alan Coopersmith - -commit 630b00a0847df9acf53391e6415bdfcd13fdae68 -Author: Mark Logan -Date: Tue Sep 18 13:28:18 2012 -0700 - - libpciaccess: fix memory usage errors - - This patch fixes memory usage errors that only occur on large SPARC - machines with more than 256 PCI devices. In this case, memory is being - used after it has been freed by calls to both free() and realloc(). - This error was introduced by a previous patch: - 2011-03-30 Solaris support for multiple PCI segments (domains) - - Signed-off-by: Mark Logan - Signed-off-by: Alan Coopersmith - -commit 09f5b48f559888339450bb4a79d178c94da34638 -Author: Samuel Thibault -Date: Thu May 31 20:00:34 2012 +0200 - - Implement legacy io & map for x86 backend - - Add the legacy io and map methods for the x86 backend, using ioperm, - in/out, and the existing mmap method. - - Signed-off-by: Samuel Thibault - -commit 9f2d95e61896f41adb8087fb805eb37899cce55f -Author: Alan Coopersmith -Date: Wed Apr 18 22:17:54 2012 -0700 - - Solaris: refactor pci_device_solx_devfs_map_range to reduce code duplication - - The sparc & x86 cases were doing essentially the same things with - different paths, so make the path setup be inside the platform - specific #ifdefs, make the open, mmap, & error handling common code. - - Signed-off-by: Alan Coopersmith - -commit d50292ca8cbbaa5e0c92627f3d7813194c7c83ac -Author: Alan Coopersmith -Date: Wed Apr 18 15:30:30 2012 -0700 - - Solaris: Implement map_legacy & legacy_io functions - - Signed-off-by: Alan Coopersmith - Reviewed-by: Jay Cotton - -commit 2ff2996dcb4cfd83da6df4504b68b492b983204b -Author: Julien Cristau -Date: Mon Apr 9 19:05:27 2012 +0200 - - Bump to 0.13.1 - - Signed-off-by: Julien Cristau - -commit 6f9d9f1e1b093939bc459be606fba72f1d6dfc76 -Author: Matthieu Herrb -Date: Mon Apr 2 08:22:23 2012 +0200 - - Fix pci_io_handle allocation routines. - - The previous version of new_io_handle() would invalidate all previous - allocations when realloc moves the base pointer of the ios array. - Since I cannot figure out where this array is useful, just get rid of - it, providing sound stable memory allocation. - - Fixes vgaHWSaveFonts() in 1.12 xserver on OpenBSD, but other - sub-systems relaying on pci_io could be affected too. - - Signed-off-by: Matthieu Herrb - Tested-by: Tormod Volden - -commit 725f5669bc03ed9a766e2c51c465e082172e6dae -Author: Thordur Bjornsson -Date: Wed Mar 14 14:45:52 2012 +0100 - - Fix openbsd_pci.c:pci_device_vgaarb_set_target(); - - A return (0) got lost, add it back. - - Signed-off-by: Matthieu Herrb - Reviewed-by: Mark Kettenis - -commit b16336c0b389ace07f7418f5a021bfbc68fec2b6 -Author: Adam Jackson -Date: Mon Mar 5 11:01:01 2012 -0500 - - linux: Fix out[bwl] macros on non-I/O architectures - - Signed-off-by: Adam Jackson - -commit fa15fbcdbcfed09ea269ca3fb5f0e3dc2446e66f -Merge: d2dc9f9 bf70556 -Author: Adam Jackson -Date: Mon Mar 5 11:00:14 2012 -0500 - - Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libpciaccess - -commit bf705561d347bc5459bc0af033595c66541cac3e -Author: Jeremy Huddleston -Date: Sat Mar 3 18:19:11 2012 -0800 - - configure.ac: Bump to 0.13 - - Signed-off-by: Jeremy Huddleston - -commit d2dc9f9daa45504f035b169aba94d0b154fd29f0 -Author: Adam Jackson -Date: Mon Feb 27 11:19:50 2012 -0500 - - Use O_CLOEXEC for internal file descriptors - - Well, almost all of them. zlib doesn't support "e" in the mode string - in gzopen() though it will silently accept and ignore it, and Solaris appears - not to support "e" in the mode string at all. - - Signed-off-by: Adam Jackson - -commit f550c1347d3518874fe1c1d417a57322ee6b52db -Author: Adam Jackson -Date: Mon Feb 27 10:43:20 2012 -0500 - - linux: Don't use /dev/port - - Reviewed-by: Jeremy Huddleston - Signed-off-by: Adam Jackson - -commit 2a58cd13c3d14cd2ea57826b56e9906ecfc5648a -Author: Mathias Krause -Date: Fri Feb 24 09:39:31 2012 +0100 - - Use correct type for pci_id file accessor functions - - This fixes the compiler warning of using the wrong type for gzgets() and - gzclose() as they want a gzFile argument, not a pointer to gzFile. The - abstraction layer pci_id_file should just abstract the full type. - - Signed-off-by: Mathias Krause - Reviewed-by: Jeremy Huddleston - -commit 167ffb1c4e431763e30c894131e704bb3599c7c1 -Author: Alan Coopersmith -Date: Wed Feb 8 22:14:08 2012 -0800 - - solx_devfs.c: fix gcc warnings about casting away const when reading data - - solx_devfs.c: In function `pci_device_solx_devfs_write': - solx_devfs.c:1085: warning: cast discards qualifiers from pointer target type - solx_devfs.c:1089: warning: cast discards qualifiers from pointer target type - solx_devfs.c:1093: warning: cast discards qualifiers from pointer target type - solx_devfs.c:1097: warning: cast discards qualifiers from pointer target type - - Signed-off-by: Alan Coopersmith - -commit 573b25ecd34dd69ee14c58f752bffdb5709654b9 -Author: Alan Coopersmith -Date: Wed Feb 8 22:08:08 2012 -0800 - - Close pci.ids file when bailing out because realloc failed - - Error: File Leak - Leaked File f - at line 272 of src/common_device_name.c in function 'populate_vendor'. - f initialized at line 204 with fopen("/usr/share/hwdata/pci.ids", "r"). - - [ This bug was found by the Parfait 0.5.0 bug checking tool. - For more information see http://labs.oracle.com/projects/parfait/ ] - - Signed-off-by: Alan Coopersmith - -commit ed6c6157bc94283ce0a8526eeff668094cf3992d -Author: Alan Coopersmith -Date: Wed Feb 8 21:40:54 2012 -0800 - - Solaris: reorder functions to remove need for lots of static prototypes - - Signed-off-by: Alan Coopersmith - -commit b56f9a84f3dff995a6901ffec6bcc161ec0245ad -Author: Mark Kettenis -Date: Thu Dec 29 21:14:44 2011 +0100 - - OpenBSD: Implement map_legacy and legacy_io - - Signed-off-by: Mark Kettenis - Reviewed-by: Matthieu Herrb - Reviewed-by: Jeremy Huddleston - Tested-by: Matthieu Herrb - -commit a798395a1bfd9d06d40e2d8d14377a156c94429a -Author: Daniel Drake -Date: Fri Nov 25 12:28:48 2011 -0600 - - delete_io_handle: fix deletion of last handle - - When num_ios goes from 1 to 0, a realloc(ios, 0); call is made. - This is equivalent to free(ios) and NULL is returned. - - However, the previous logic in the code incorrectly discards this NULL - return value. When we next call new_io_handle(), realloc(ios, X) is - called with "ios" pointing to freed memory. This causes glibc to abort. - - Correct this logic to detect the 1-to-0 case and handle it correctly. - Other cases are unchanged; there is still value in checking the - return value from realloc() as it also returns NULL on error. - - Signed-off-by: Daniel Drake - Reviewed-by: Alan Coopersmith - -commit 2601ddd02d608c16b0022fe342e0a3f4bf6cadeb -Author: Mark Kettenis -Date: Sun Nov 6 17:34:29 2011 +0000 - - Add VGA Arbiter support for OpenBSD. - - Signed-off-by: Matthieu Herrb - -commit e64ee4ee2b23dba147d144aacead3cb61c744854 -Author: Mark Kettenis -Date: Sun Nov 6 17:32:51 2011 +0000 - - OpenBSD: Indicate that devices need access to legacy VGA resources. - - Makes sure xserver disables DRI if the VGA arbiter is in use. - - Signed-off-by: Matthieu Herrb - -commit cfae4096835fe569edb03cd12d4580fc912a0e61 -Author: Henry Zhao -Date: Mon Nov 14 18:53:21 2011 -0800 - - Solaris: improve support for sparc platform - - (1) added prom property retrieval on sparc - (2) added multiple domain support on sparc - (3) use kernel device as mapping device - (4) performance improvements by removing redundant ioctl - - Signed-off-by: Henry Zhao - Reviewed-by: Alan Coopersmith - Signed-off-by: Alan Coopersmith - -commit 78eed07d599ff9e30c075aa7c8d1795e125ffc4b -Author: Jeremy Huddleston -Date: Wed Nov 9 09:27:49 2011 -0800 - - configure.ac: Bump to 0.12.902 - - Signed-off-by: Jeremy Huddleston - -commit cbb3c63affc1792ade0433691aa67f0edad52b0b -Author: Jeremy Huddleston -Date: Wed Nov 9 09:46:30 2011 -0800 - - Fix some -Wformat errors in scanpci - - Signed-off-by: Jeremy Huddleston - -commit a0a53a67c91c698007dcac3e7aba27c999c4f6ed -Author: Nithin Nayak Sujir -Date: Mon Oct 24 12:15:15 2011 -0700 - - libpciaccess: close mtrr fd on pci_cleanup - - Since the fd is not closed, calling pci_system_init and - pci_system_cleanup more than 1024 times results in "too many files open" - error. - - Signed-off-by: Nithin Nayak Sujir - Reviewed-by: Jeremy Huddleston - -commit 803bf3aa28de0f1260e479e2036159d4fead0a87 -Author: Alan Coopersmith -Date: Tue Oct 4 21:46:05 2011 -0700 - - Solaris: Give better error on realloc failure - - commit a18460b385ae03 converted from a fixed maximum number of devices - to dynamically growing the list via realloc, but didn't update the - error message shown on failure. - - Signed-off-by: Alan Coopersmith - Reviewed-by: Dirk Wallenstein - Reviewed-by: Mark Kettenis - -commit af4478c52c960bee08209293aa14b784ac30dc05 -Author: Jeremy Huddleston -Date: Tue Oct 11 10:22:49 2011 -0700 - - linux sysfs: Fix read-write access in map_legacy - - O_RDONLY | O_WRONLY != O_RDWR - - >< - - Reported-by: Javier Pello - Signed-off-by: Jeremy Huddleston - -commit b9c5ce8083be53ea017bd15a63b173b4476fff23 -Author: Jeremy Huddleston -Date: Sun Oct 9 03:53:05 2011 -0700 - - scanpci: Build fix for systems without - - https://bugs.freedesktop.org/show_bug.cgi?id=31133 - - Signed-off-by: Jeremy Huddleston - -commit 30e9ec91107791835d722f99498d659dec048922 -Author: Jeremy Huddleston -Date: Fri Oct 7 11:57:26 2011 -0700 - - configure.ac: Bump version to 0.12.901 - - Signed-off-by: Jeremy Huddleston - -commit 12dbf6d2d346cfe7ba8b2a1697c56af3f9876be7 -Author: Jeremy Huddleston -Date: Fri Oct 7 11:56:06 2011 -0700 - - Update library version to reflect new API - - Signed-off-by: Jeremy Huddleston - -commit 58e87933b3286f33cdeedd3a6b21f4ea795bea47 -Author: Adam Jackson -Date: Tue May 10 17:56:35 2011 -0400 - - linux: Implement map_legacy - - Signed-off-by: Adam Jackson - Reviewed-by: Jeremy Huddleston - -commit 8cc9a8fe57adfb52abaa90a8a2ac2316de8eb898 -Author: Adam Jackson -Date: Tue May 10 17:56:34 2011 -0400 - - Add map_legacy interface - - This allows platforms to hand back mmaps of the low 1M (ISA) address - space on a per-domain basis. - - Signed-off-by: Adam Jackson - Reviewed-by: Jeremy Huddleston - -commit e1a0240a3d6840b497845680c2bf6753415ba20f -Author: Alan Coopersmith -Date: Fri Sep 16 22:11:38 2011 -0700 - - Strip trailing whitespace - - Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' - git diff -w & git diff -b show no diffs from this change - - Signed-off-by: Alan Coopersmith - -commit 7bfc4f806d51b85e7ae069dd6deaf0b48326ed22 -Author: Adam Jackson -Date: Wed Aug 3 18:35:11 2011 -0400 - - linux: Fix a crash in populate_devices - - If scandir returns -1, the 'devices' array won't be initialized, and - attempting to free() it will crash. - - Signed-off-by: Adam Jackson - -commit f9159b97834ba4b4e42a07953a33866e7ac90dbd -Author: Chris Wilson -Date: Sat Jun 4 12:30:06 2011 +0100 - - linux: Only set errno after an error - - errno is only valid after an error, and was being filled with a garbage - value upon eof. - - Signed-off-by: Chris Wilson - -commit a18460b385ae034830e4efbaaed7e0665c53ad9f -Author: John Martin -Date: Mon Mar 28 17:51:19 2011 -0700 - - Solaris support for multiple PCI segments (domains) - - 1. Removed hardcoded maximum size of 256 PCI devices, which is - too small for large systems. The number of devices is dynamically - resized as needed. - - 2. pci_device_solx_devfs_probe() no longer walks the device tree - from the very top ("/") but instead starts at the nexus which - owns the bus. Performance optimization for systems with multiple - bus nodes (including systems with just one segment/domain). - - 3. Added support for multiple domains/segments. Code tested - on kernels with and without multiple segment support so it should - be safe to integrate independent of the kernel version. - - Signed-off-by: John Martin - Signed-off-by: Alan Coopersmith - Reviewed-by: Adam Jackson - -commit f3e283a25f5fca4f750bb9538d69c4f36641cca5 -Author: Gaetan Nadon -Date: Thu Feb 3 17:38:32 2011 -0500 - - config: comment, minor upgrade, quote and layout configure.ac - - Group statements per section as per Autoconf standard layout - Quote statements where appropriate. - Autoconf recommends not using dnl instead of # for comments - - Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. - Add AC_CONFIG_SRCDIR([Makefile.am]) - Update X.Org util-macros to version 1.8 - - This helps automated maintenance and release activities. - Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines - - Signed-off-by: Gaetan Nadon - -commit d05ed57216726811388f17d7e87d7b6c7b8580ee -Author: Alan Coopersmith -Date: Wed Feb 2 20:50:17 2011 -0800 - - libpciaccess 0.12.1 - - Signed-off-by: Alan Coopersmith - -commit 7b4bd8222579b60bec6ab9dbf834d61b1fc7cc74 -Author: Gaetan Nadon -Date: Fri Jan 28 16:07:07 2011 -0500 - - config: replace deprecated AC_HELP_STRING with AS_HELP_STRING - - This silences an Automake warning. - - Signed-off-by: Gaetan Nadon - -commit 5fdae72cc62f4341ae5fa0b7696809d4ccd1bd32 -Author: Alan Coopersmith -Date: Thu Jan 13 22:05:02 2011 -0800 - - config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 - - XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls - AC_PROG_C_C99. This sets gcc with -std=gnu99. - If AC_PROG_CC macro is called afterwards, it resets CC to gcc. - - Signed-off-by: Gaetan Nadon - Signed-off-by: Alan Coopersmith - -commit 48d08f09e36d4aa8e02812874794937d7c778b43 -Author: Alan Coopersmith -Date: Thu Jan 13 21:58:02 2011 -0800 - - config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS - - Regroup AC statements under the Autoconf initialization section. - Regroup AM statements under the Automake initialization section. - Add missing AC_CONFIG_SRCDIR - Replace obsolete argument to AC_OUTPUT with AC_CONFIG_FILES - - Signed-off-by: Alan Coopersmith - -commit 066032e08407311cfc24dbc1db3245cf8133ad94 -Author: Bryce Harrington -Date: Tue Dec 14 12:03:48 2010 -0500 - - Fix detection of multi-function cards - - Bit 7 of the pci device header type is an indicator of multi-function - devices, so needs to be masked when examining the bridge type. - Thanks go to Chih-Pin Wu for finding the bug and its fix. - - https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/681207 - - Reviewed-by: Adam Jackson - Signed-off-by: Bryce Harrington - -commit 6220537628fb5e55c94d7dbe1ec190bf38d3b01b -Author: Jesse Barnes -Date: Mon Dec 6 12:18:19 2010 -0800 - - Revert "Don't try to use bogus bridge data" - - This reverts commit 2bda5b733bb12854760750c08138db95e77aea0c. - - It actually conflicts with 9ba94caf57e3a8c3e9c6f3f5f068f4a7a7b3ff9d - which came earlier, but I didn't catch it probably because I did a blind - rebase before pushing. - - When reading bridge bus info, we may need to read out the current bridge - info if the PCI bridge private is uninitialized, so remove the check at - the top that would always short circuit the case where the priv was - still 0. - - References: - https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/681207. - - Reported-by: Bryce Harrington - Signed-off-by: Jesse Barnes - -commit 30bfd795557cada4a3c2ce36329ceb22160acff8 -Author: Alan Coopersmith -Date: Sun Nov 21 11:14:05 2010 -0800 - - Sun's copyrights belong to Oracle now - - Signed-off-by: Alan Coopersmith - -commit e29e477ff84ab16938e58ae2719358c14c86a500 -Author: Gaetan Nadon -Date: Fri Oct 15 17:34:16 2010 -0400 - - config: use LDADD to obtain appropriate dependencies - - In generated scanpci/Makefile, this line is added: - scanpci_DEPENDENCIES = $(top_builddir)/src/libpciaccess.la - - If the content of the library changes, the tool will rebuild. - When scanpci was in the same directory as the library, the .la file was used. - This will also ensure the "installed" pciaccess library is not used. - - Signed-off-by: Gaetan Nadon - -commit fd476deabb97d08086ad465c4d0e913c9437a6bb -Author: Gaetan Nadon -Date: Sun Sep 26 14:57:19 2010 -0400 - - include: add a Makefile to install and distribute header file - - Makefiles are simpler when they only handle what is in their - directory. - - Reviewed-by: Rémi Cardona - Signed-off-by: Gaetan Nadon - -commit 2b5c81c2d8c643e58ac69d1d7f7a626fc392b1ea -Author: Gaetan Nadon -Date: Sun Sep 26 14:42:50 2010 -0400 - - config: replace INCLUDES, which is deprecated, with AM_CPPFLAGS - - Fixes an Automake warning. - - Reviewed-by: Rémi Cardona - Signed-off-by: Gaetan Nadon - -commit b4ee1ccfcd9e9d41033db7b6b5e0a771ae5939d2 -Author: Gaetan Nadon -Date: Sun Aug 22 08:10:23 2010 -0400 - - config: provide a makefile for scanpci man pages - - Reviewed-by: Rémi Cardona - Signed-off-by: Gaetan Nadon - -commit 8daa135ae9eae0a0ed48cc68d6abce16141cd426 -Author: Gaetan Nadon -Date: Sun Sep 26 08:39:57 2010 -0400 - - scanpci.c: remove offending whitespace as reported by git diff - - Reviewed-by: Rémi Cardona - Signed-off-by: Gaetan Nadon - -commit dcb79a20cba1eaaa83158b80bb538d50b003bd79 -Author: Gaetan Nadon -Date: Sun Aug 22 08:10:23 2010 -0400 - - config: provide a makefile for scanpci dev tool - - No function changes. - - Note that automake generates a wrapper script if libpciaccess - is not installed at configuration time, which is the most common case. - - If it is installed at configuration time, you get an executable. - - The makefile build order ensures the lib is build before scanpci. - - Reviewed-by: Rémi Cardona - Signed-off-by: Gaetan Nadon - -commit 555772964820d88f9481eb48d0431dddd8ba7aa5 -Author: Gaetan Nadon -Date: Sat Aug 21 19:54:04 2010 -0400 - - config: upgrade AC_DEFINE_DIR to AX_DEFINE_DIR - - Use the latest version now hosted by GNU. - The renaming protects Autoconf namespace. - There is no functional change in the macro. - - Signed-off-by: Gaetan Nadon - -commit fa3f1c1ea8ce4b45976e11520856cfa164f8b92d -Author: Dave Airlie -Date: Wed Jul 21 09:39:26 2010 +1000 - - libpciaccess 0.12.0 - bump version for release - -commit 2f98724d1e603268360d704b3c8823b93d5fecb4 -Author: Thomas Hellstrom -Date: Tue Jul 20 22:14:22 2010 +0200 - - Fix long standing MTRR bug. - - Add an include that makes the file common_vgaarb.c see the same - struct pci_system as the file linux_sysfs.c. - - Without this fix, on a MTRR system, the vgaarb_fd member - would overwrite the mtrr_fd member and cause the MTRR_IOC_ADD_ENTRY call - to be issued to the incorrect device causing the infamous - "Inappropriate ioctl for device (25)" error. - - This error would cause MTRR setup to fail on all systems relying on it - and is severe enough to warrant a new release. - - Signed-off-by: Thomas Hellstrom - Signed-off-by: Dave Airlie - -commit e5159771bd0a013201dcef760e9320071c6df59e -Author: Dave Airlie -Date: Mon Jul 12 13:09:33 2010 +1000 - - pciaccess: fix use after free. - - Using the pointer passed to realloc earlier isn't a recipe for success. - - Signed-off-by: Dave Airlie - -commit 3f59728ddc6f7d2cb17d434e81ac76c9288d0aef -Author: Alan Coopersmith -Date: Sat Jun 19 10:36:24 2010 -0700 - - Let libtool handle library flags for scanpci on Solaris - - Stop hardcoding -ldevinfo since configure/libtool already know to add it - for static linking, and ELF dependencies handle it for dynamic linking - - Signed-off-by: Alan Coopersmith - -commit e0ae5251cd030b201c14f5888a539aa40f17abfb -Author: Tiago Vignatti -Date: Sat May 22 18:23:33 2010 +0300 - - vgaarb: read back vga count when setting new decoding - - Decode kernel operation can also change vga refcount, so we need to read back - the information when calling it. - - Signed-off-by: Tiago Vignatti - -commit 0f153de858032c95ea5844aa6e0f1c8dad7531da -Author: Tiago Vignatti -Date: Wed May 12 13:12:47 2010 +0300 - - vgaarb: decode should send new information to the kernel - - This was introduced in e360c11c. - - Signed-off-by: Tiago Vignatti - -commit fa7cca617583eb93a862c5ebbb5a56843210e5a8 -Author: Alan Coopersmith -Date: Fri Jun 4 16:58:56 2010 -0700 - - Delay allocation of agp_info so we don't leak it on prior errors - - Memory leak of pointer 'agp_info' - at line 119 of src/common_capability.c in function 'pci_fill_capabilities_generic'. - 'agp_info' allocated at line 107 with calloc(1, 12). - 'agp_info' leaks when err != 0 at line 118. - at line 124 of src/common_capability.c in function 'pci_fill_capabilities_generic'. - 'agp_info' allocated at line 107 with calloc(1, 12). - 'agp_info' leaks when err != 0 at line 123. - - [ This bug was found by the Parfait bug checking tool. - For more information see http://research.sun.com/projects/parfait ] - - Signed-off-by: Alan Coopersmith - -commit b8295f4776912d4c3cef836eb0f158e07b432a25 -Author: Gaetan Nadon -Date: Mon Mar 29 16:50:34 2010 -0400 - - config: update AC_PREREQ statement to 2.60 - - Unrelated to the previous patches, the new value simply reflects - the reality that the minimum level for autoconf to configure - all x.org modules is 2.60 dated June 2006. - - ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz - - Signed-off-by: Gaetan Nadon - -commit a624de7af1d4c0956ecd485e3ae193f93bd78c57 -Author: Gaetan Nadon -Date: Mon Mar 29 14:53:49 2010 -0400 - - config: remove the pkgconfig pc.in file from EXTRA_DIST - - Automake always includes it in the tarball. - - Signed-off-by: Gaetan Nadon - -commit af2be74979aeab9a2fc4c933462e97ce70f816b6 -Author: Samuel Thibault -Date: Tue Jan 19 18:37:43 2010 +0100 - - libpciaccess x86 backend - - This adds support on x86 for OSes that do not have a PCI interface, - tinkering with I/O ports, and makes use of it on GNU/Hurd. - - Signed-off-by: Julien Cristau - -commit ebb3c6b69f4e8a844ff95d4e880dde9ede3de347 -Author: Julien Cristau -Date: Sun Jan 17 14:33:13 2010 +0000 - - COPYING: add Red Hat's copyright notice - -commit b775e6fa006d78cac21bbfe52f1f721947ddc6ca -Author: Alan Coopersmith -Date: Thu Jan 14 20:48:20 2010 -0800 - - Update Sun license notices to current X.Org standard form - - Signed-off-by: Alan Coopersmith - -commit fac83b8116e19d4efbf8438d1cc485656cca5c60 -Author: Adam Jackson -Date: Mon Dec 14 17:27:12 2009 -0500 - - libpciaccess 0.11.0 - - Signed-off-by: Adam Jackson - -commit 947ab16f2938e8883503ef679a40684dfe2a90e5 -Author: Adam Jackson -Date: Mon Dec 14 16:26:31 2009 -0500 - - Fix I/O handle array allocator to work for devices past the first - - Signed-off-by: Adam Jackson - -commit d4e008eeb9af7773edadd259cf55da43411f1a7f -Author: Adam Jackson -Date: Mon Dec 14 16:19:35 2009 -0500 - - Fix pci_device_open_io() to actually return something useful - - Remember, code review just means we're all inept. - - Signed-off-by: Adam Jackson - -commit 5e8d4c19b4f618e22b6e8e1ad3294d8708067474 -Author: Adam Jackson -Date: Wed Nov 18 13:53:49 2009 -0500 - - I/O port access routines - - Acked-by: Tiago Vignatti - Acked-by: Matt Turner - Signed-off-by: Adam Jackson - -commit b2fbe63bdf3522c5d3df5eda2ca3c3b8770c02c9 -Author: Adam Jackson -Date: Wed Nov 18 14:12:57 2009 -0500 - - Add pci_device_get_parent_bridge() - - Copied from linuxPci.c in the X server. - - Acked-by: Tiago Vignatti - Signed-off-by: Adam Jackson - -commit b2b3c3bfdac23c1c8e33f47b28f22c1d4a78cc71 -Author: Gaetan Nadon -Date: Fri Nov 27 20:56:05 2009 -0500 - - Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES - - Now that the INSTALL file is generated. - Allows running make maintainer-clean. - -commit 57f4d11fef7021e77549a70cbf40ca43e60ea55f -Author: Gaetan Nadon -Date: Wed Oct 28 14:09:10 2009 -0400 - - INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 - - Add missing INSTALL file. Use standard GNU file on building tarball - README may have been updated - Remove AUTHORS file as it is empty and no content available yet. - Remove NEWS file as it is empty and no content available yet. - -commit caa398b5305cb4c5299e283b9833ed2251698893 -Author: Gaetan Nadon -Date: Tue Oct 27 15:07:25 2009 -0400 - - Deploy the new XORG_DEFAULT_OPTIONS #24242 - - This macro aggregate a number of existing macros that sets commmon - X.Org components configuration options. It shields the configuration file from - future changes. - -commit b8284cb2097601d5934773ab75db388b9fa5a9db -Author: Gaetan Nadon -Date: Mon Oct 26 22:08:43 2009 -0400 - - Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 - - ChangeLog filename is known to Automake and requires no further - coding in the makefile. - -commit 28830993636cc5820842345b511d301af33d9c49 -Author: Gaetan Nadon -Date: Thu Oct 22 12:34:20 2009 -0400 - - .gitignore: use common defaults with custom section # 24239 - - Using common defaults will reduce errors and maintenance. - Only the very small or inexistent custom section need periodic maintenance - when the structure of the component changes. Do not edit defaults. - -commit 97d677746cd70ec9eb1f33483cc829a0063953bc -Author: Dave Airlie -Date: Fri Sep 25 10:25:56 2009 +1000 - - shutup stupid gcc warning, strtok_r ignores the first parameter - -commit 2a10d510d24c7c0aebb03914dd887f9e92cfa754 -Author: Dave Airlie -Date: Fri Sep 25 10:19:07 2009 +1000 - - libpciaccess 0.10.9 - -commit 1714046ef08ef685bcf1d6c154e64809b12e8d7f -Author: Tiago Vignatti -Date: Fri Sep 18 15:21:19 2009 +0300 - - vgaarb: fix newbie typo - - Eh, we don't need to check for the fd anyway. Kudos jcristau for reporting. - - Signed-off-by: Tiago Vignatti - -commit 13c7e6c8f100882718f995f5bf1d478a012cdbdd -Author: Tiago Vignatti -Date: Wed Sep 16 12:56:53 2009 +0300 - - vgaarb: check for fd before close it - - Signed-off-by: Tiago Vignatti - -commit cdbdfaf61c05d0d18eae6815b10666f93162148f -Author: Keith Packard -Date: Thu Sep 17 17:38:56 2009 -0700 - - Free return value from scandir instead of leaking it. - - Scandir is defined to return pointers to malloc'd storage, so make - sure that memory is nicely freed. - - Signed-off-by: Keith Packard - -commit 42b879a203c1c16daa9d0c610c6a217ead7a5829 -Author: Dave Airlie -Date: Wed Sep 2 19:03:11 2009 +1000 - - vgaarb: check pci_sys exists before initing vga arb - -commit 312cde3c2f3530b031134cfb53a8a54731f02b1b -Author: Dave Airlie -Date: Mon Aug 31 09:14:16 2009 +1000 - - pciaccess: bump to 0.10.8 - -commit 566a67767e9fea463c24421d99dc12db590a7b5f -Author: Thomas Klausner -Date: Mon Aug 31 09:13:27 2009 +1000 - - pciaccess: fix vga arb stubs - -commit d062dd78baeb28ef2cc59f4fb4a7d82ecd5adf60 -Author: Dave Airlie -Date: Fri Aug 28 11:29:00 2009 +1000 - - libpciaccess: bump to 0.10.7 for vga arb interface addition - -commit 81b4705525bdf82d75f5b3c740c53fa4a866d9c3 -Merge: f514852 2f997f9 -Author: Dave Airlie -Date: Fri Aug 28 11:25:15 2009 +1000 - - Merge branch 'vga' - -commit 2f997f90c8d0b54baab85285703550e8df28325e -Author: Dave Airlie -Date: Fri Aug 28 11:24:53 2009 +1000 - - vgaarb: update stub interface - -commit b229acdfd10fd61f46d8e711910b5c1bdb727857 -Author: Dave Airlie -Date: Fri Aug 28 11:21:11 2009 +1000 - - Revert "vgaarb: delete stub functions" - - This reverts commit b7fd4d06890d801aae93fe1a1af7ab110fd388fd. - -commit e70767cb2e574f8544a04903eea3afee33345eea -Author: Tiago Vignatti -Date: Wed Aug 26 11:14:03 2009 +0300 - - Revert "vgaarb: fix pci_device_vgaarb_get_info() return value." - - This reverts commit ef8aca5da46155e9ea0d1227215921ad9ce59150. - -commit f5148525d546015c12b703a768b5e6c3726446a3 -Merge: 7636348 ef8aca5 -Author: Dave Airlie -Date: Fri Aug 21 13:27:11 2009 +1000 - - Merge remote branch 'origin/vga-arbiter' - -commit ef8aca5da46155e9ea0d1227215921ad9ce59150 -Author: Tiago Vignatti -Date: Sun Aug 16 19:11:15 2009 +0300 - - vgaarb: fix pci_device_vgaarb_get_info() return value. - - Signed-off-by: Tiago Vignatti - -commit 25be96885671d22ee3f932769d72cf3a31f355ee -Author: Tiago Vignatti -Date: Sun Aug 16 19:09:35 2009 +0300 - - vgaarb: fix indentation and remove trailing white spaces - - Signed-off-by: Tiago Vignatti - -commit b7fd4d06890d801aae93fe1a1af7ab110fd388fd -Author: Tiago Vignatti -Date: Sun Aug 16 18:59:21 2009 +0300 - - vgaarb: delete stub functions - - Such stub functions is already with API outdated. Moreover, if some operating - system doesn't have arbiter's implementation then the app can set some - autoconf tricks like "ifdef HAVE_PCI_DEVICE_VGAARB_INIT". - - Signed-off-by: Tiago Vignatti - -commit 76363486864b325b8f156ece35736ddb64c4e697 -Author: Julien Cristau -Date: Sun Aug 9 11:28:38 2009 +0200 - - Silence compiler warning about pci_id_file_open definition - - src/common_device_name.c:59: warning: function declaration isn't a prototype - src/common_device_name.c: In function 'pci_id_file_open': - src/common_device_name.c:59: warning: old-style function definition - -commit 4eac0173588ab9ef67fcadb47b531abb114aa0a7 -Author: Julien Cristau -Date: Sat Aug 8 18:12:08 2009 +0200 - - configure.ac: fix help text for the linux-rom-fallback option - - LINUX_ROM defaults to no, fix the help text to reflect that - - Signed-off-by: Julien Cristau - -commit e9f2db8b867cba8d91a040a0db9be56099fba680 -Merge: 706201e dedd31b -Author: Dave Airlie -Date: Thu Aug 6 09:43:08 2009 +1000 - - Merge branch 'master' into vga-arbiter - -commit dedd31b3bcdeea12955bf565b8e3f2a9d3c66057 -Author: Dave Airlie -Date: Thu Aug 6 09:39:01 2009 +1000 - - pciaccess: make linux rom reading fallback optional - - On kernels which have ROM files, the boot VGA rom file - will contain the 0xc0000 file anyways. If another card - is missing a rom file there is no need for this. - - This is fallback is disabled by default, on the premise - that distro shipping this new a pciaccess will be running - on kernels with working rom support which is been upstream - for a long time - -commit 706201e900b5664ea35ec498784590275b98c23a -Merge: 57cf6f1 8aa06cf -Author: Dave Airlie -Date: Thu Aug 6 09:42:06 2009 +1000 - - Merge branch 'master' into vga-arbiter - -commit 8aa06cf7ef5e88c53bf6778336ba1a6036b16cc0 -Author: Dave Airlie -Date: Thu Aug 6 09:39:01 2009 +1000 - - pciaccess: make linux rom reading fallback optional - - On kernels which have ROM files, the boot VGA rom file - will contain the 0xc0000 file anyways. If another card - is missing a rom file there is no need for this. - - This is fallback is disabled by default, on the premise - that distro shipping this new a pciaccess will be running - on kernels with working rom support which is been upstream - for a long time - -commit 57cf6f1f428ab73fb2a88c39c694e7d14c2c96c6 -Author: Dave Airlie -Date: Thu Aug 6 09:39:01 2009 +1000 - - pciaccess: make linux rom reading fallback optional - - On kernels which have ROM files, the boot VGA rom file - will contain the 0xc0000 file anyways. If another card - is missing a rom file there is no need for this. - - This is fallback is disabled by default, on the premise - that distro shipping this new a pciaccess will be running - on kernels with working rom support which is been upstream - for a long time - -commit 7b7999a302c70f1ad9a5c8fc7517e24ab95c3a95 -Author: Dave Airlie -Date: Mon Aug 3 12:43:26 2009 +1000 - - vgaarb: add vga count + resource accessor - -commit 3a6c1be79c05517cfddbce88157bb352237058ab -Author: Dave Airlie -Date: Mon Aug 3 09:39:22 2009 +1000 - - vgaarb: more api changes + cleanup - - add a comma for ease of parsing, - use hex on the interface in both directions instead of hex on one - and decimal on the other - -commit e5127339c6c48ae6f63f9dc841a94fe960d11496 -Author: Dave Airlie -Date: Fri Jul 31 16:15:55 2009 +1000 - - vgaarb: change API to target taking a device + lock/unlock not taking one - - working on the target device - a target device of NULL - reselects the target that existed when we started. - - this is mainly to allow a udev posting tool to return to the - state of what happened before it ran. - -commit 0596c559af5ca277a069b04a6402d21724464cda -Author: Dave Airlie -Date: Fri Jul 31 15:34:32 2009 +1000 - - vgaarb: add support for targetting default device - -commit 453928b8485bc7beff69996abe12628efc09405f -Author: Dave Airlie -Date: Fri Jul 31 11:17:21 2009 +1000 - - vgaarb: clean up debug output - -commit d22d7c0d5e48d130c89282514e378819e0b98636 -Merge: e360c11 2bda5b7 -Author: Dave Airlie -Date: Fri Jul 31 11:16:16 2009 +1000 - - Merge remote branch 'main/master' into vga-arbiter - -commit e360c11c37a219534bfd7266caf163870dddced0 -Author: Dave Airlie -Date: Mon Jul 20 13:26:41 2009 +1000 - - vgaarb: fixup api for new count reporting + decodes interface was wrong. - - decodes is a information setting interface so it takes new decodes - and sends them to the kernel - -commit 5d1bdf0cb51c19efd6e2b2c0a463ace9443c48d9 -Author: Dave Airlie -Date: Thu Jul 16 15:36:30 2009 +1000 - - add support for finding if something has a kernel driver - -commit 2bda5b733bb12854760750c08138db95e77aea0c -Author: Jesse Barnes -Date: Tue Jun 30 15:24:45 2009 -0700 - - Don't try to use bogus bridge data - - If, for whatever reason, we weren't able to read bridge data (therefore - leaving bridge.pci or bridge.pcmcia empty), we shouldn't try to look at - the bus data inside the pci/pcmcia struct. - -commit 9ae22c87743c624bda593a1ef4bd4eca01c65655 -Author: Dave Airlie -Date: Fri Jun 5 09:32:10 2009 +1000 - - vgaarb: fixup api and decode rsrc. - - This fixes up the API and stores the vga arb fd in the sys_pci structure, - instead of hiding it in a random dev struct. - - It also reads back after setting the target and works out the decodes. - - Signed-off-by: Dave Airlie - -commit 9ae66143550a6aee25d9a9620c5bebf93fa196e5 -Author: Tiago Vignatti -Date: Thu May 14 17:30:17 2009 -0300 - - Comment typo. - -commit 6ae00a992714639fd725efd8817dca69b28276c8 -Author: Tiago Vignatti -Date: Thu May 14 17:28:05 2009 -0300 - - Reorganize the code. - -commit 6ef4e7aebfd2b83e2346e9f8f4ef3c890a6ea73d -Author: Tiago Vignatti -Date: Thu May 14 03:42:56 2009 -0300 - - Fix typo in vgaarb stubs. - -commit 18a186804bc4e496a392cb31003cef25798f6c7b -Author: Tiago Vignatti -Date: Thu May 14 03:40:25 2009 -0300 - - Delete vga_arb_rec. - -commit 812ad80018d49f6e4f1be8256d86488690c3ba52 -Author: Tiago Vignatti -Date: Wed May 13 18:31:09 2009 -0300 - - vgaarb: a bunch of clean ups to fit in libpciaccess style. - -commit b77b0fc3fbacc46d55998889f09326d1233339fc -Author: Tiago Vignatti -Date: Wed May 13 17:55:31 2009 -0300 - - vgaarb: make it compile. - -commit 67af888bcc5667eadf1e9e9bf15305f742416daf -Author: Tiago Vignatti -Date: Wed May 13 17:44:46 2009 -0300 - - Import libvgaaccess (VGA Arbiter) implementation from C3SL repository: - http://git.c3sl.ufpr.br/ - -commit 8ba6b02ecfa5b03bbf2807e8262bb1253a026493 -Author: Aaron Plattner -Date: Fri May 1 15:04:19 2009 -0700 - - Don't try to write boot_vga since that fails with EACCES - -commit b2838fb61c3542f107014b285cbda097acae1e12 -Author: Dave Airlie -Date: Wed Mar 4 15:55:11 2009 +1000 - - pciaccess: provide a method to detect if a device is boot VGA - - When the linux kernel exposes this information, we can use this interface - in the X server to detect whether the kernel believes the device we - are looking at is the boot VGA device. - - Signed-off-by: Dave Airlie - -commit f14c6cd626273bd2f8b102ff661d11926619a99b -Author: Alan Coopersmith -Date: Fri Apr 24 16:32:12 2009 -0700 - - Version bump: 0.10.6 - - Signed-off-by: Alan Coopersmith - -commit 6df3387173c3ab25e8a618d9ccf628682d8336d5 -Author: Alan Coopersmith -Date: Fri Apr 24 16:19:34 2009 -0700 - - Resync COPYING file with code copyright notices - - Signed-off-by: Alan Coopersmith - -commit 7f08a1e19b49c9ffdc62e1dff340b392ac7c42d1 -Author: Alan Coopersmith -Date: Fri Apr 17 22:05:03 2009 -0700 - - Fix unused variable warnings in Solaris code - - solx_devfs.c: In function `find_target_node': - solx_devfs.c:672: warning: unused variable `prop' - solx_devfs.c:673: warning: unused variable `i' - - Signed-off-by: Alan Coopersmith - -commit 0edb2392ede59cadd75915873b52baa188bfa273 -Author: Alan Coopersmith -Date: Fri Apr 17 21:59:25 2009 -0700 - - Fix $CWARNFLAGS addition - - Original addition to configure.ac had typo (missing N) - moving to - Makefile.am allows easier override at build time - - Signed-off-by: Alan Coopersmith - -commit 146dc2f4ac232bb9d63225c8e72b214dc3120ea6 -Author: Alan Coopersmith -Date: Fri Apr 17 21:56:31 2009 -0700 - - Move included m4 to a subdir so we can more easily update from upstream - - Signed-off-by: Alan Coopersmith - -commit a7f8e58d44716a01f4a8dc9826996a0fa78e4196 -Author: Owain Ainsworth -Date: Sat Apr 18 06:38:46 2009 +0200 - - openbsd_pci.c: use the correct size when mapping the legacy vga rom. - - fixes errors (and probably bugs) on intel hardware (at the least). - - Signed-off-by: Matthieu Herrb - -commit be748a7b512bf5597e162694a3b1769132938fe1 -Author: Alan Coopersmith -Date: Wed Apr 15 10:06:49 2009 -0700 - - Sun bug 6811468: pci_device_solx_devfs_probe accesses freed memory - - di_fini() is being called in pci_device_solx_devfs_probe() - The di_fini (3DEVINFO) man page says "All handles associated with this - snapshot become invalid after the call to di_fini()". But after that, - eight lines down, the subroutine was calling di_prop_lookup_ints with - a handle args.node which was stored from walking the device tree, and - then using the pointers that returned even further down. - - Signed-off-by: Alan Coopersmith - -commit c56da48ee806f73c8ed81afb4a251b24de304620 -Author: Alan Coopersmith -Date: Tue Apr 14 17:29:10 2009 -0700 - - Fix const mismatch compiler warnings in Solaris backend - - Signed-off-by: Alan Coopersmith - -commit f6084593c275c5dc1d6154f292991b20bffd68c2 -Author: edward shu -Date: Tue Apr 14 17:19:09 2009 -0700 - - Sun bug 6785726: libpciaccess needs to use the correct BAR index on solaris - - - - Signed-off-by: Alan Coopersmith - -commit 2355e720ef3c285a44c88f914ebdc163a1c591a7 -Author: Mark Kettenis -Date: Tue Apr 14 21:53:26 2009 +0200 - - Make libpciaccess on OpenBSD domain-aware. - - Makes X capable of discovering PCI devices - in other domains (on macppc or sparc64 for example). - -commit 9ba94caf57e3a8c3e9c6f3f5f068f4a7a7b3ff9d -Author: Darren Smith -Date: Tue Apr 14 10:46:26 2009 -0400 - - Be more paranoid about reading bridge info (#20786) - -commit 72e75b00e4f3f7df3badb10c916126253204ae45 -Author: Robert Noland -Date: Fri Feb 27 00:34:28 2009 -0600 - - FreeBSD: Incorporate several fixes that have accumulated. - - -Don't frob the BARs while they are enabled - -Find proper pci bios address / length - -Use the new PCIOCGETBAR ioctl if it exists - rather than frob the BARs ourself - -Write must also be a power of two - -commit 5855cf5a2cc7ee920b42052372ab734003799d00 -Author: Alan Coopersmith -Date: Mon Feb 2 20:34:38 2009 -0800 - - Add README with pointers to mailing list, bugzilla & git repos - - Signed-off-by: Alan Coopersmith - -commit 42b493490e90e1c5461d36beb3f2dc2580c7d25e -Author: Paulo Cesar Pereira de Andrade -Date: Wed Jan 28 18:03:21 2009 -0200 - - Janitor: Correct make distcheck and compiler warnings. - -commit 5bf4b32c2b3844c50e720be5820f2ce657ddea12 -Author: Alan Coopersmith -Date: Thu Jan 22 16:14:22 2009 -0800 - - Solaris: Use bus-range properties to limit busses scanned on each node - - Based on code provided by Dan.Mick@sun.com - -commit 0488a2830a6a0d27d9be032607eda954a8c99801 -Author: Matthieu Herrb -Date: Sun Dec 7 19:18:29 2008 +0100 - - Fix a logic error in pci_device_netbsd_write() - - This is the same error as in pci_device_openbsd_write() that actually - prevented it to write anything. - -commit 565c8fcbf39a56319cee4f77f689dfc79e0c6614 -Author: Matthieu Herrb -Date: Sun Dec 7 19:00:22 2008 +0100 - - Sync with OpenBSD code. - - - implement pci_read_rom() - - only set MTRR on x86 cpus - - failure to set non-cacheable attributes is not fatal - - fix a logic error in pci_write() - -commit 8222fb8534cf09e433f0f3d68c35d6c390fbba5e -Author: Matthieu Herrb -Date: Tue Nov 25 12:42:15 2008 +0100 - - Fix a logic error in pci_device_openbsd_write(). - -commit 613c1e6d09930bab47f2c6983f220df002c2e2ce -Author: Alan Coopersmith -Date: Wed Nov 19 09:37:49 2008 -0800 - - Add AC_SYS_LARGEFILE to configure.ac - -commit 0821f3b4eae5428cf1af5c4c056240f8991758f6 -Author: Alan Coopersmith -Date: Wed Nov 19 08:22:22 2008 -0800 - - Don't open/gzopen pci.ids if we're not going to read it - -commit ccbfd4cf2a7d203344bd1ffcb9d0024536a0eefa -Author: Alan Coopersmith -Date: Tue Nov 18 19:54:42 2008 -0800 - - Fill in byte swapping routines for big-endian Solaris machines - -commit 7aca9465a61934d57781352f4fcc42b779392cd0 -Author: Julien Cristau -Date: Fri Oct 31 18:07:52 2008 +0100 - - Bump to 0.10.5 - -commit 8b0be8751279f9bc8f15ced4e5384fa2b0f78711 -Author: Julien Cristau -Date: Fri Oct 31 17:33:50 2008 +0100 - - Make --without-zlib work - -commit 7a5ed759f13c3fc5f379cce2ca02c9ebfae5eae9 -Author: Robert Noland -Date: Wed Oct 29 22:20:35 2008 -0400 - - Fix FreeBSD systems which support pci domains. - - Support for FreeBSD based systems which support pci domains was broken - in the commit to support kFreeBSD. Include config.h so that things are - happy again. - -commit 067f979cbd410ddb82aee702d8434552e35c7154 -Author: Alan Coopersmith -Date: Fri Oct 17 14:09:52 2008 -0700 - - Version 0.10.4 - -commit 714fef70e66b651e9a535d3d3cb20d055595a12d -Author: Alan Coopersmith -Date: Fri Oct 17 14:09:43 2008 -0700 - - Add scanpci.man to EXTRA_DIST - -commit 77f274b6386301cb31c074061a8c947a78b49da9 -Author: Alan Coopersmith -Date: Fri Oct 17 13:51:28 2008 -0700 - - Update COPYING with the rest of the copyright/license notices from the code - -commit 482d1da02498a6a31a6d829a5be41727f6333f94 -Author: Alan Coopersmith -Date: Fri Oct 17 13:48:46 2008 -0700 - - Add scanpci man page from Xorg - -commit f537fc50e014063d1a1297bfd82680ae3f170281 -Author: Alan Coopersmith -Date: Thu Oct 16 21:17:24 2008 -0700 - - More minor Solaris cleanups - -commit 9a5565c72c13aa107167c9c4a4469dd11ac13714 -Author: Alan Coopersmith -Date: Thu Oct 16 18:18:09 2008 -0700 - - Clean up formatting of solx_devfs.c - -commit de97e7e4c63146032c0badb9e0f0b1899dc8debf -Author: Alan Coopersmith -Date: Thu Oct 16 16:55:27 2008 -0700 - - Fix bus probing on Solaris/SPARC - -commit 110cdac97ca1bca3ec811ce0a71b2b24c1f80525 -Author: Alan Coopersmith -Date: Thu Oct 16 13:33:01 2008 -0700 - - Correct Sun license notice - -commit 4c0d050c72a38e66a7b4ccb134e7e872eb0bf557 -Author: Alan Coopersmith -Date: Wed Oct 15 18:23:03 2008 -0700 - - scanpci: add -v flag to enable verbose mode like old scanpci - -commit 64d0c836d547847b752da6539792b94c803f206b -Author: Alan Coopersmith -Date: Wed Oct 15 16:14:18 2008 -0700 - - Correct comment about devices used on Solaris - -commit d43d21c8cb0f917b65228852a03a7d501636f227 -Author: Alan Coopersmith -Date: Wed Oct 15 15:35:25 2008 -0700 - - Fix various typos (mostly in comments) - -commit 4c1c607c602e5e8d9277b9c01edfa7a8d10333cd -Author: Juan RP -Date: Sat Oct 11 20:28:03 2008 +0200 - - Add NetBSD support - - It's based in the OpenBSD code, but with differences because on NetBSD, - to set MTRRs we have to use i386/x86_64_set_mtrr() and link to libi386 - or libx86_64. - - X.Org bug#17931 - -commit 6ae378611bb4caaf57311734d3adcb7e10ac3622 -Author: Petr Salinger -Date: Sat Oct 11 20:22:28 2008 +0200 - - Add support for GNU/kFreeBSD - - We need to initialize the FreeBSD backend on GNU/kFreeBSD and detect - whether pci_io.pi_sel.pc_domain member exists. - - X.Org bug#17882 - -commit 968289fc3137ac0863c62d3c343153fa3e4aeb10 -Author: John Tapsell -Date: Tue Sep 23 17:26:09 2008 +0300 - - configure.ac: Make mtrr.h test more portable - - Use the standard AC_CHECK_HEADERS, which works for cross-compiling as - well as in various other locations. - -commit 79ed41882fd721a15c8b0bea7efeb98864d85dfb -Author: Matthieu Herrb -Date: Sat Sep 20 18:28:59 2008 +0200 - - OpenBSD: allow 2 successives calls to pci_system_init(). - - And fix pci_system_cleanup() to make it possible to call pci_system_init() - again. - ok kettenis at openbsd. - -commit 45015ab30b36bdaefd3f3aeab73d287023928826 -Author: Kel Modderman -Date: Tue Jul 8 13:09:52 2008 +0200 - - Handle compressed pci.ids - - Add an option to build with zlib support so we can find - vendor/device information if the pci.ids file is gzipped. - - Signed-off-by: Julien Cristau - -commit 32c64bb2386c55d5c7a3878ae9e3f95577f00875 -Author: Julien Cristau -Date: Wed Mar 12 15:00:26 2008 +0100 - - Hide one more private symbol - -commit 7282b53c47c2435c1ea23948272c9ccf1798178a -Author: Jesse Barnes -Date: Mon Jun 23 11:24:04 2008 -0700 - - Support write combine resource files in Linux sysfs - - Starting with version 2.6.26, Linux will support resourceN_wc files which - export write combining mappings of PCI resource ranges, so support them if - present in libpciaccess. - -commit f49f66710b6c3cc5edfd0681cf7b69063cb4b893 -Author: Stefan Dirsch -Date: Mon Jun 23 10:50:30 2008 +0200 - - Fixed typo in output ("performace" --> "performance"). - -commit ed0555e4225aec26aaaa40f4f3c15fd914390817 -Author: Adam Jackson -Date: Tue Jun 10 15:24:56 2008 -0400 - - libpciaccess 0.10.3 - -commit 07577a875bc9996437cfe30e5a87ca6b1a0f7e4a -Author: Adam Jackson -Date: Tue Jun 10 15:23:06 2008 -0400 - - libpciaccess 0.10.2 - -commit e3adc06b8b8214478aa1d3e85fd5f83b79d039b4 -Author: Eric Anholt -Date: Thu Jun 5 11:39:06 2008 -0700 - - Catch and recover from yet another linux kernel bug in mprotect. - -commit 4586bb6766983d040bff38b43dc458c47e0ca21f -Author: Adam Jackson -Date: Wed May 21 13:44:38 2008 -0400 - - Linux: Fail gracefully on machines without PCI. - -commit 26400575a2a2d10b1014eaf0bfca6cfbf5d9b93b -Author: Dave Airlie -Date: Wed May 21 16:10:37 2008 +1000 - - pciaccess: bump to 0.10.1 - -commit 4bc9292ff9338e759eb9a73f12edfa5ca87353e0 -Author: Dave Airlie -Date: Wed May 21 16:10:24 2008 +1000 - - linux: add pci_device_enable entrypoint and sysfs support for it - -commit ded8326f2adadc773b34889474a0d4fc20ef387a -Author: Alan Coopersmith -Date: Fri May 9 15:15:42 2008 -0700 - - Fix lint warnings in solx_devfs.c - -commit 74c976a7bcee3102993cf788850d0b803cf15afd -Author: Alan Coopersmith -Date: Fri May 9 15:05:46 2008 -0700 - - Add pci_system_solx_devfs_create prototype to pciaccess_private.h - -commit 2ac461b2eca788fa0559312d45efd3caf6eea9bb -Author: Alan Coopersmith -Date: Fri May 9 14:49:32 2008 -0700 - - Initialize err to 0 in pci_device_solx_devfs_map_range - - Prevents returning errors when mapping actually succeeds - -commit b30d458202bc0304c705eb081b12ead860584bea -Author: Keith Packard -Date: Wed Apr 16 12:10:52 2008 -0700 - - Kludge around linux bug and turn off write-through and cache-disable bits - - When mmaping the PCI device, the kernel turns on the write-through and - cache-disable bits in the allocated PTEs. This disables write-combining mode - and dramatically reduces write bandwidth to the frame buffer. While that - should be fixed in the kernel, we'll kludge around it here by using mprotect - to rewrite the PTEs and get those bits turned off. - -commit a3b63c43b960e3b37e1b303214e63c5155192a5d -Author: Hasso Tepper -Date: Mon Apr 7 15:28:44 2008 +0300 - - Add DragonFly BSD support - - DragonFly behaves exactly like FreeBSD, so no problem here. - -commit ec53d6ef2bdf0e7a087ffd45fe112290f2181656 -Author: Danny van Dyk -Date: Fri Mar 28 17:01:29 2008 -0700 - - Fix function prototypes for C++ - -commit a5c862029846ddd5cecf44819f2a967e2a1672a9 -Author: Stuart Bennett -Date: Fri Mar 14 11:58:33 2008 -0400 - - Bug #13988: Fix reads from "0"-sized ROMs. - -commit d898072e28ac35f5b3569f48f2e90a9ef8eee2ca -Author: Mark Kettenis -Date: Wed Mar 12 21:29:58 2008 +0100 - - OpenBSD support for libpciaccess. - - xserver and libpciaccess both need to open /dev/xf86, which can only - be opened once. I implemented pci_system_init_dev_mem() like Ian - suggested. This requires some minor changes to the BSD-specific - os-support code. Since pci_system_init_dev_mem() is a no-op on - FreeBSD this should be no problem. - -commit 4224ff23794500e1455f28fd5689bd0549b72367 -Author: Julien Cristau -Date: Fri Mar 7 14:41:47 2008 +0100 - - solaris: add pci_tools.h to OS_SUPPORT - - pci_tools.h was missing from the tarball, but is needed by solx_devfs.c - -commit ac119e0b1d5fdbb6bd447b6cef1ddca59840fe40 -Author: Adam Jackson -Date: Thu Mar 6 15:31:51 2008 -0500 - - libpciaccess 0.10 - -commit 0ac748d0da1361075efa48a6238f2328d24ba1a8 -Author: Doug Chapman -Date: Thu Mar 6 14:22:17 2008 -0500 - - Bug #14818: Actually return the PCI vendor name, instead of NULL. - -commit adc46f65d7a097ea0e8427a2496586a420c99d55 -Author: Julien Cristau -Date: Tue Feb 19 14:45:40 2008 +0100 - - Don't export private symbols. - -commit 25de45d250811474e86cb9a09caf258aef699196 -Author: Julien Cristau -Date: Tue Feb 19 14:26:54 2008 +0100 - - Use when using glibc, not just on linux - - This fixes the build on GNU/kFreeBSD. - -commit ceda00d33fbf3d491e3f7e53302acd2b8b74a305 -Author: James Cloos -Date: Thu Dec 6 16:38:51 2007 -0500 - - Replace static ChangeLog with dist-hook to generate from git log - -commit e392082abb5696c8837224da86cc0af4f21d7010 -Author: Matthias Hopf -Date: Tue Oct 23 15:19:36 2007 +0200 - - Bit-fields have to have type _Bool, signed int, or unsigned int. - - ISO/IEC 9899:1999 (E), 6.7.2.1 Structure and union specifiers, (4). - _Bool is only supported for C99 and up, and 1-bit signed types don't make - sense -> unsigned int. - -commit 5b9ca552a17de37bbac84f0cf5b4430d108e576c -Author: Ian Romanick -Date: Thu Oct 18 15:59:14 2007 -0700 - - Update bug reporting link. - -commit 57a942b3cca314a56735e0a4198cac2f25b653dd -Author: Eric Anholt -Date: Wed Oct 10 15:20:51 2007 -0700 - - FreeBSD: for 64-bit BARs, skip the resource slot used for the upper 32 bits. - - This gets us the same resource numbering as on Linux. - -commit 127ae628a2090bb00df81adce831b8b031d3b4a8 -Author: Eric Anholt -Date: Wed Oct 10 14:55:45 2007 -0700 - - FreeBSD: Don't try to unset an MTRR if we didn't set it. - -commit 28fea32f987a74d365d01bc5870a8bce1c393d59 -Author: Eric Anholt -Date: Wed Oct 10 14:32:38 2007 -0700 - - Add domain output to scanpci. - -commit 393145db90578d7d598fccf949b249217066a67c -Author: Eric Anholt -Date: Wed Oct 10 14:32:09 2007 -0700 - - FreeBSD: Add support for multiple PCI domains. - -commit 7d809e149b59f22e24723db7360a4c38a9145b45 -Author: Eric Anholt -Date: Tue Oct 9 12:13:49 2007 -0700 - - FreeBSD: Fix unmap_range to return an error value. - -commit 042735df2aa5846fcabfd74c5f73877132728b25 -Author: Eric Anholt -Date: Tue Oct 9 12:12:34 2007 -0700 - - FreeBSD: don't set the MTRR if it's the default mode (uncacheable). - -commit 4bdaca5295eeacdaeb80f2e7d0fa17674dcbc77a -Author: Alan Coopersmith -Date: Thu Sep 27 15:22:51 2007 -0700 - - Need to link with -ldevinfo on Solaris - -commit 63983e2397d813246b851771c13397ff700e239e -Author: Alan Coopersmith -Date: Wed Sep 26 17:26:47 2007 -0700 - - Fix Solaris build: missing static prototype & typo in variable name - -commit 8c77862e70eac7f61cd402e9ef33a5b0ca1c6426 -Author: Eric Anholt -Date: Tue Sep 11 15:07:55 2007 +0000 - - Add FreeBSD MTRR setting support. - -commit 82a2ff0bb091e097bacb66273f55a287afb15abf -Author: Ian Romanick -Date: Tue Sep 4 16:13:24 2007 -0700 - - Add stub version of pci_device_map_memory_range - - This stub version of pci_device_map_memory_range allows the vesa driver and - other users of this interface to continue functioning with current - libpciaccess bits. That said, users of this interface should convert over - to pci_device_map_range as soon as possible. - -commit 9d1596cba90c8fd273e9d1d5488747cc0f34fdc7 -Merge: b1e9117 5cf29b0 -Author: James Cloos -Date: Mon Sep 3 06:15:58 2007 -0400 - - Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libpciaccess - -commit b1e911784d314fdbd8d938e5fe3671bec128fb61 -Author: James Cloos -Date: Mon Sep 3 05:53:57 2007 -0400 - - Add *~ to .gitignore to skip patch/emacs droppings - -commit 5cf29b06b9b5806056a0b04160b2286eb4158748 -Author: Keith Packard -Date: Fri Aug 31 13:43:18 2007 -0700 - - Don't add MTRR for uncached regions. Remove MTRR on unmap. - - MTRR regions aren't needed for uncached mappings, so don't add them. Also, - when unmapping memory, remove the MTRR entry. - -commit ebc618e7508847307713a59aeeed337a9277629d -Author: Ian Romanick -Date: Fri Aug 31 12:40:03 2007 -0700 - - Update / add comments in struct pci_mem_region. - -commit 08ff9f7fbd26dd2d0e30351b556c71c272f6be6c -Author: Ian Romanick -Date: Thu Aug 30 17:52:02 2007 -0700 - - New interfaces to map memory with MTRR (or similar) support. - - Added new functions pci_device_map_range and pci_device_unmap_range to - handle mapping of PCI device BARs. These new interfaces allow the - possiblity of MTRRs on platforms that support them. - - These additional APIs necessitated changing some internal interfaces. The - code for FreeBSD and Solaris has been updated but has not been compiled or - tested. - - Old interfaces are marked deprecated and will eventually be removed. - -commit c87273e8e20c8bff892ded31295dba103f27dd35 -Author: Eric Anholt -Date: Tue Aug 28 16:02:46 2007 -0700 - - Make the base address printout of scanpci more usable. - -commit 47d625ccea7dbcd6b69009aa1ec64a96e97513f6 -Author: Ian Romanick -Date: Mon Aug 27 16:41:52 2007 -0700 - - Bump version to 0.9.1 (sigh). - -commit 73197e09c924dabc18b8839180508584b97e03df -Author: Ian Romanick -Date: Mon Aug 27 16:41:21 2007 -0700 - - Add linux_devmem.h to file list. - -commit 5e595d09e7011b82a90f74b149a97bea23ddfbf0 -Author: Ian Romanick -Date: Mon Aug 27 16:39:00 2007 -0700 - - Bump version to 0.9.0. - -commit b0c9558c97ee861af240a948c364807e628e49de -Author: James Cloos -Date: Thu Aug 23 21:31:50 2007 -0400 - - Remove deprecated .cvsignore files - -commit 4e6be0466ad973ee6f63e0cbed466a974908dce8 -Author: Eric Anholt -Date: Fri Aug 3 16:47:09 2007 -0700 - - FreeBSD: Add VGA rom reading through /dev/mem. - -commit ae4aed2821161028dabd8381273f3803a24340ad -Author: Eric Anholt -Date: Fri Aug 3 10:46:55 2007 -0700 - - FreeBSD: Fill in the subdevice ID. - -commit 14e62c77bd1ae6ef1d4048df2da96eeff8f7538f -Author: Eric Anholt -Date: Fri Aug 3 10:40:53 2007 -0700 - - Make scanpci exit cleanly if pci_system_init() fails. - -commit a7faac3d2dc49a2130906fbeea3298f32bb9349f -Author: Ian Romanick -Date: Mon Jun 18 12:56:40 2007 -0700 - - Initial support for reading expansion ROM via VGA BIOS address. - -commit 206e29213f92dd639fb4814ed2f3b6ec27e6f985 -Author: edward shu -Date: Wed Jun 6 23:05:56 2007 +0800 - - Libpciaccess on Solaris Initial integration - - Libpciaccess on Solaris Initial integration. It depends on devfs to access - pci configuration space, also xsvc is used for memory map. - -commit db56c640028d2f8072274f3eb603caa481103f4f -Author: Ian Romanick -Date: Tue Mar 27 08:01:39 2007 -0700 - - Whitespace police. - -commit c6e72deddb3055167fff8007bf039be61e45849e -Author: Ian Romanick -Date: Tue Mar 27 07:57:35 2007 -0700 - - Don't pci_device_probe until absolutely necessary. - -commit 28dc34c2a6045ab95183d708500009bd1eea1659 -Author: Ian Romanick -Date: Tue Mar 27 07:57:00 2007 -0700 - - Make sure header_type is available in read_bridge_info. - -commit 061a011ceffc13db3b147dd105d8b7c2edcc3bc8 -Author: Ian Romanick -Date: Tue Mar 27 07:56:16 2007 -0700 - - Populate device and vendor ID fields at device list creation. - -commit b36d737d92dbeee7951aded990fa52bac39b2a79 -Author: Eric Anholt -Date: Tue Mar 6 10:48:51 2007 -0800 - - FreeBSD: Fix a couple of minor issues in cleanup paths. - -commit 09be109c223b93d74ea3cc7a12d9a22b44990a14 -Author: Eric Anholt -Date: Thu Mar 1 10:49:13 2007 -0800 - - FreeBSD: Add system cleanup function. - -commit f6502eee20205ec14ce6499251a28962cc36fdd6 -Author: Eric Anholt -Date: Wed Feb 28 16:25:07 2007 -0800 - - FreeBSD: When mapping regions, use the region's base address, not 0. - -commit a4ec2f35ea5b4f74cf455be24f8ad25d4096ab98 -Author: Eric Anholt -Date: Wed Feb 28 16:13:44 2007 -0800 - - Fix inverted protection typo for mmap in region mapping. - -commit 9819ae0c376db57a9de5fcbb2f1d4c3ee1ed2ea8 -Author: Eric Anholt -Date: Wed Feb 28 15:42:24 2007 -0800 - - scanpci prototype warning fix - -commit e70b710133cc552df266d5046a53f7a241a569eb -Author: Eric Anholt -Date: Wed Feb 28 15:39:38 2007 -0800 - - Update freebsd code for pci_device_cfg_write API change. - -commit d86245be3bd57b29e5b7561b3facecb3298fea3b -Author: George Sapountzis -Date: Wed Nov 15 02:49:50 2006 +0200 - - scanpci: BIST line offsets were off by 4. - -commit cc1d08f113140010f49503adc4e7afe5db892a02 -Author: Ian Romanick -Date: Tue Jan 16 21:24:12 2007 -0800 - - Fix bad parameter to pci_device_cfg_write in pci_device_cfg_write_u8. - - When changing the interface of the pci_device_cfg_write_u* functions - in commit 37ce43c1804bad9c52b8316eaefd3a57b670ee29, I forgot to modify - pci_device_cfg_write_u8 to pass a pointer to data to - pci_device_cfg_write instead of just passing data. - -commit 54d40b528ab769c4e89aaca87d1728a6194e4378 -Merge: 37ce43c 335d42f -Author: Ian Romanick -Date: Mon Jan 15 11:18:29 2007 -0800 - - Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libpciaccess - -commit 37ce43c1804bad9c52b8316eaefd3a57b670ee29 -Author: Ian Romanick -Date: Mon Jan 15 11:18:19 2007 -0800 - - Convert pci_device_write_u* funtions to take a value instead of a pointer. - - At anholt's request, the pci_device_write_u* functions have been - converted to take the value to be written as a parameter instead of a - pointer to the value. - - Bump the version to 0.8.0. - -commit 335d42f637dd44461bc20ba599ca5dc4971b6eaa -Author: Eric Anholt -Date: Fri Jan 12 16:32:51 2007 -0800 - - Add support for getting region information on FreeBSD. - - This could stand a lot more testing -- all it has received is visual inspection - of scanpci output on one machine, with some differing results from XFree86 - scanpci output. - -commit 94355b6f49a61e7424ddc7ddfc70a9b344233a47 -Author: Eric Anholt -Date: Fri Jan 12 14:15:29 2007 -0800 - - Open the pci device read-write so we can read and write config regs. - - With this, we can hook up the IRQ line information. It would probably be nice - to have an unpriveleged mode, but for now, write access is required. - -commit 253e7f672b8b311b18cf827cd12c9147bba8eb4c -Author: Eric Anholt -Date: Fri Jan 12 13:33:51 2007 -0800 - - Remove extra fallback definition of PCIIDS_PATH. - - PCIIDS_PATH should always be provided by configure.ac and config.h. - -commit 87ec7de307ab5bd395d01cdb4f8fdf231d9e769e -Author: Eric Anholt -Date: Fri Jan 12 13:13:27 2007 -0800 - - Fix many warnings and bugs in the freebsd implementation. - - With this, scanpci gives partially-sane results. - -commit 4f6e1a61fc0abe1865e147509af5f7f2bfcaf8f7 -Author: Eric Anholt -Date: Fri Jan 12 13:11:21 2007 -0800 - - Enable more warnings when the compiler is GCC. - -commit c7ce8ee140b01931994030900c0e8238fbb0caa2 -Author: Eric Anholt -Date: Fri Jan 12 13:06:50 2007 -0800 - - Add pciaccess_private.h to _SOURCES so it gets included in the dist. - -commit c65aa7630802c8dfcc06a20e515ace31ab0d0e48 -Author: Ian Romanick -Date: Thu Jan 11 21:40:57 2007 -0800 - - Add interfaces to map / unmap specific memory ranges, bump lib version to 0.7.0. - - Add pci_device_map_memory_range and pci_device_unmap_memory_range to - map and unmap specific memory ranges. The unmap bit is still a bit - hinkey (unmaps the whole BAR). Works so far for initial conversion of - VESA driver. Will need to be revisited. - -commit db4a12d09fba381f39af024418e913fb99c34935 -Author: Ian Romanick -Date: Thu Jan 11 21:39:15 2007 -0800 - - Fix bad cast that caused bit truncation. - -commit 8948a6c3593d92a50a09baf568b69f164d7e7f59 -Author: Eric Anholt -Date: Tue Nov 14 14:38:48 2006 -0800 - - Update .gitignores. - -commit 1d227d67d35aba4601c4ffd6a2947ee746d5dc47 -Author: Eric Anholt -Date: Tue Nov 14 14:37:53 2006 -0800 - - Add missing newline at the end of the file. - -commit e29843d3b0ff5d32d8ab4bc84c58300782d189d3 -Merge: 07b09d9 d05da65 -Author: Eric Anholt -Date: Tue Nov 14 14:37:46 2006 -0800 - - Merge branch 'origin' - - Conflicts: - - src/Makefile.am - -commit 07b09d930ed2b7eae299ae036ec30099374b95aa -Author: Eric Anholt -Date: Sun Jul 30 16:19:50 2006 -0700 - - Add the beginnings of a FreeBSD port. - -commit d05da6520a273ee4c2f0e11b5a9bac65b51835fe -Author: Ian Romanick -Date: Thu Aug 10 09:46:07 2006 -0700 - - Fix a segfault in populate_vendor that was triggered when the pci.ids file - could not be opened. Thanks to Aaron Plattner for reporting this. Fix a - couple possible memory leaks in the same function. - -commit 27f0ffca71277371a0b6c0cd1a720a9ce9519da5 -Author: Ian Romanick -Date: Sun Jul 30 15:35:41 2006 -0700 - - Added some function preamble comments. - -commit cf1b4d3ddfcdbaeddefc42b6eb19eb85a0a1e454 -Author: Eric Anholt -Date: Sun Jul 30 14:29:58 2006 -0700 - - Add endian macros for BSD. - -commit edf3908958eacc20162563b68aa45964f0e38b2c -Author: Eric Anholt -Date: Sun Jul 30 14:26:38 2006 -0700 - - Use ENXIO instead of ENODATA for pci reads returning less than desired. - -commit c0e31708e0446b33240d3e1ba3e36c26a618544c -Author: Ian Romanick -Date: Tue Jul 25 15:36:52 2006 -0700 - - Add pci_device_get_bridge_buses, bump API version to 0.5.0. - -commit 2ba1a0e42928f82e678987c84598e1b9d8ba1ef9 -Author: Ian Romanick -Date: Thu Jul 6 17:18:14 2006 -0700 - - Files missed (for reasons I still don't understand) on the previous - commit. REALLY add support for querying bridge information. Bump to - version 0.5.0. - -commit c0ff6e6141ee6ebb1f628931ae62f0fa8ef87061 -Author: Ian Romanick -Date: Thu Jul 6 17:09:47 2006 -0700 - - Add support for querying bridge information. Bump to version 0.5.0. - -commit 2467b3c509c7e5b771ca21ee6317b2d72d481439 -Author: Ian Romanick -Date: Thu Jul 6 17:07:18 2006 -0700 - - Fix byte ordering of the PCI class. - -commit 70a66689fc2e44e7cd693947ed5f3f2acb4b6587 -Author: Ian Romanick -Date: Mon May 22 16:10:37 2006 +0000 - - Fix foolish endianess bug. Bump to version 0.4.1. - -commit 64af050c3803ed61837d9e9109c7a4e239a5c0b8 -Author: Ian Romanick -Date: Wed Apr 12 22:56:50 2006 +0000 - - Bump to version 0.4.0. - Add multiple-inclusion protection. - Add new function to write masked bits to PCI config space. This mirrors - functionality currently available in X.org that is slated to be - removed. - Gut old regex based search mechanism with a new mechanism that is modeled - after the Linux kernel. In addition to searching for devices by device - / vendor ID, it is possible to search for devices by their domain / bus - / slot / function. - Fix serious bus in the reading of ROMs and in the unmapping of regions. The - main point is that the map routine depens on the pci_mem_region::memory - pointer being non-NULL only when the region is mapped. Therefore, the - unmap routine should set it to NULL after unmapping. - Update to use new search API. - -commit 5b4db5c392c123f71a7933bd94c789b5e23dd69a -Author: Ian Romanick -Date: Mon Mar 27 18:08:42 2006 +0000 - - Remove src/pcils.c and src/Makefile.foo. Add src/scanpci.c. - Bump version to 0.3.0. - Replace pci_get_name with pci_get_strings. This function matches the - functionality provided by the Xorg scanpci module almost identically. - -commit 6b1e9fae2ab9979b2a3bb3137c5db4d92d2905c8 -Author: Ian Romanick -Date: Fri Mar 24 16:57:17 2006 +0000 - - Remove src/Makefile.foo from CVS since the generated Makefile can do - everything now. - -commit d890ded5312dc88455fd332e03a4f212ba587e9d -Author: Kristian Høgsberg -Date: Mon Mar 20 20:13:34 2006 +0000 - - Add scanpci as a noinst target. - Drop from CVS. - -commit 5a04522a921cd8737ef921dfd49b750a8c64dfc9 -Author: Ian Romanick -Date: Sat Mar 18 00:12:48 2006 +0000 - - Initial import of libpciaccess. diff --git a/lib/libpciaccess/INSTALL b/lib/libpciaccess/INSTALL deleted file mode 100644 index a1e89e18..00000000 --- a/lib/libpciaccess/INSTALL +++ /dev/null @@ -1,370 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, -Inc. - - Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. This file is offered as-is, -without warranty of any kind. - -Basic Installation -================== - - Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following -more-detailed instructions are generic; see the `README' file for -instructions specific to this package. Some packages provide this -`INSTALL' file but do not implement all of the features documented -below. The lack of an optional feature in a given package is not -necessarily a bug. More recommendations for GNU packages can be found -in *note Makefile Conventions: (standards)Makefile Conventions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. Caching is -disabled by default to prevent problems with accidental use of stale -cache files. - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You need `configure.ac' if -you want to change it or regenerate `configure' using a newer version -of `autoconf'. - - The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. - - Running `configure' might take a while. While running, it prints - some messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package, generally using the just-built uninstalled binaries. - - 4. Type `make install' to install the programs and any data files and - documentation. When installing into a prefix owned by root, it is - recommended that the package be configured and built as a regular - user, and only the `make install' phase executed with root - privileges. - - 5. Optionally, type `make installcheck' to repeat any self-tests, but - this time using the binaries in their final installed location. - This target does not install anything. Running this target as a - regular user, particularly if the prior `make install' required - root privileges, verifies that the installation completed - correctly. - - 6. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - - 7. Often, you can also type `make uninstall' to remove the installed - files again. In practice, not all packages have tested that - uninstallation works correctly, even though it is required by the - GNU Coding Standards. - - 8. Some packages, particularly those that use Automake, provide `make - distcheck', which can by used by developers to test that all other - targets like `make install' and `make uninstall' work correctly. - This target is generally not run by end users. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. This -is known as a "VPATH" build. - - With a non-GNU `make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use `make distclean' before -reconfiguring for another architecture. - - On MacOS X 10.5 and later systems, you can create libraries and -executables that work on multiple system types--known as "fat" or -"universal" binaries--by specifying multiple `-arch' options to the -compiler but only a single `-arch' option to the preprocessor. Like -this: - - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CPP="gcc -E" CXXCPP="g++ -E" - - This is not guaranteed to produce working output in all cases, you -may have to build one architecture at a time and combine the results -using the `lipo' tool if you have problems. - -Installation Names -================== - - By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX', where PREFIX must be an -absolute file name. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. In general, the -default for these options is expressed in terms of `${prefix}', so that -specifying just `--prefix' will affect all of the other directory -specifications that were not explicitly provided. - - The most portable way to affect installation locations is to pass the -correct locations to `configure'; however, many packages provide one or -both of the following shortcuts of passing variable assignments to the -`make install' command line to change installation locations without -having to reconfigure or recompile. - - The first method involves providing an override variable for each -affected directory. For example, `make install -prefix=/alternate/directory' will choose an alternate location for all -directory configuration variables that were expressed in terms of -`${prefix}'. Any directories that were specified during `configure', -but not in terms of `${prefix}', must each be overridden at install -time for the entire installation to be relocated. The approach of -makefile variable overrides for each directory variable is required by -the GNU Coding Standards, and ideally causes no recompilation. -However, some platforms have known limitations with the semantics of -shared libraries that end up requiring recompilation when using this -method, particularly noticeable in packages that use GNU Libtool. - - The second method involves providing the `DESTDIR' variable. For -example, `make install DESTDIR=/alternate/directory' will prepend -`/alternate/directory' before all installation names. The approach of -`DESTDIR' overrides is not required by the GNU Coding Standards, and -does not work on platforms that have drive letters. On the other hand, -it does better at avoiding recompilation issues, and works well even -when some directory options were not specified in terms of `${prefix}' -at `configure' time. - -Optional Features -================= - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - - Some packages offer the ability to configure how verbose the -execution of `make' will be. For these packages, running `./configure ---enable-silent-rules' sets the default to minimal output, which can be -overridden with `make V=1'; while running `./configure ---disable-silent-rules' sets the default to verbose, which can be -overridden with `make V=0'. - -Particular systems -================== - - On HP-UX, the default C compiler is not ANSI C compatible. If GNU -CC is not installed, it is recommended to use the following options in -order to use an ANSI C compiler: - - ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" - -and if that doesn't work, install pre-built binaries of GCC for HP-UX. - - HP-UX `make' updates targets which have the same time stamps as -their prerequisites, which makes it generally unusable when shipped -generated files such as `configure' are involved. Use GNU `make' -instead. - - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot -parse its `' header file. The option `-nodtk' can be used as -a workaround. If GNU CC is not installed, it is therefore recommended -to try - - ./configure CC="cc" - -and if that doesn't work, try - - ./configure CC="cc -nodtk" - - On Solaris, don't put `/usr/ucb' early in your `PATH'. This -directory contains several dysfunctional programs; working variants of -these programs are available in `/usr/bin'. So, if you need `/usr/ucb' -in your `PATH', put it _after_ `/usr/bin'. - - On Haiku, software installed for all users goes in `/boot/common', -not `/usr/local'. It is recommended to use the following options: - - ./configure --prefix=/boot/common - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS - KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: - - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of all of the options to `configure', and exit. - -`--help=short' -`--help=recursive' - Print a summary of the options unique to this package's - `configure', and exit. The `short' variant lists options used - only in the top level, while the `recursive' variant lists options - also present in any nested packages. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--prefix=DIR' - Use DIR as the installation prefix. *note Installation Names:: - for more details, including other options available for fine-tuning - the installation locations. - -`--no-create' -`-n' - Run the configure checks, but stop before creating any output - files. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/lib/libpciaccess/Makefile.am b/lib/libpciaccess/Makefile.am deleted file mode 100644 index 0d08fa44..00000000 --- a/lib/libpciaccess/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ -# -# (C) Copyright IBM Corporation 2006 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -# Include autoconf macros from m4 subdir -ACLOCAL_AMFLAGS = -I m4 - -# Order: scanpci depends on libpciaccess built in src -SUBDIRS = include man src scanpci - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = pciaccess.pc - -MAINTAINERCLEANFILES = ChangeLog INSTALL - -.PHONY: ChangeLog INSTALL - -INSTALL: - $(INSTALL_CMD) - -ChangeLog: - $(CHANGELOG_CMD) - -dist-hook: ChangeLog INSTALL - -EXTRA_DIST = \ - README.md \ - meson.build \ - meson_options.txt diff --git a/lib/libpciaccess/Makefile.bsd-wrapper b/lib/libpciaccess/Makefile.bsd-wrapper index 999488e5..10db06e8 100644 --- a/lib/libpciaccess/Makefile.bsd-wrapper +++ b/lib/libpciaccess/Makefile.bsd-wrapper @@ -1,7 +1,6 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.7 2022/11/07 16:52:35 matthieu Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.8 2024/05/13 19:16:27 matthieu Exp $ -SHARED_LIBS= pciaccess 2.1 - -CONFIGURE_ARGS+= --with-pciids-path=${X11BASE}/share +SUBDIR = mk +.include .include diff --git a/lib/libpciaccess/Makefile.in b/lib/libpciaccess/Makefile.in deleted file mode 100644 index d124fe3d..00000000 --- a/lib/libpciaccess/Makefile.in +++ /dev/null @@ -1,907 +0,0 @@ -# Makefile.in generated by automake 1.12.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2012 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# (C) Copyright IBM Corporation 2006 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -VPATH = @srcdir@ -am__make_dryrun = \ - { \ - am__dry=no; \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ - *) \ - for am__flg in $$MAKEFLAGS; do \ - case $$am__flg in \ - *=*|--*) ;; \ - *n*) am__dry=yes; break;; \ - esac; \ - done;; \ - esac; \ - test $$am__dry = yes; \ - } -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = . -DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(srcdir)/pciaccess.pc.in $(top_srcdir)/configure AUTHORS \ - COPYING ChangeLog INSTALL compile config.guess config.sub \ - depcomp install-sh ltmain.sh missing -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = pciaccess.pc -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -am__installdirs = "$(DESTDIR)$(pkgconfigdir)" -DATA = $(pkgconfig_DATA) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - cscope distdir dist dist-all distcheck -ETAGS = etags -CTAGS = ctags -CSCOPE = cscope -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - if test -d "$(distdir)"; then \ - find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -rf "$(distdir)" \ - || { sleep 5 && rm -rf "$(distdir)"; }; \ - else :; fi -am__post_remove_distdir = $(am__remove_distdir) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz -GZIP_ENV = --best -DIST_TARGETS = dist-xz dist-gzip -distuninstallcheck_listfiles = find . -type f -print -am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ - | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' -distcleancheck_listfiles = find . -type f -print -ACLOCAL = @ACLOCAL@ -ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ -ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -APP_MAN_DIR = @APP_MAN_DIR@ -APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BASE_CFLAGS = @BASE_CFLAGS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CWARNFLAGS = @CWARNFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ -DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FILE_MAN_DIR = @FILE_MAN_DIR@ -FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_CMD = @INSTALL_CMD@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIB_MAN_DIR = @LIB_MAN_DIR@ -LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MAN_SUBSTS = @MAN_SUBSTS@ -MISC_MAN_DIR = @MISC_MAN_DIR@ -MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@ -PCIACCESS_LIBS = @PCIACCESS_LIBS@ -PCIIDS_PATH = @PCIIDS_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRICT_CFLAGS = @STRICT_CFLAGS@ -STRIP = @STRIP@ -VERSION = @VERSION@ -XORG_MAN_PAGE = @XORG_MAN_PAGE@ -ZLIB_CFLAGS = @ZLIB_CFLAGS@ -ZLIB_LIBS = @ZLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ - -# Include autoconf macros from m4 subdir -ACLOCAL_AMFLAGS = -I m4 - -# Order: scanpci depends on libpciaccess built in src -SUBDIRS = include man src scanpci -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = pciaccess.pc -MAINTAINERCLEANFILES = ChangeLog INSTALL -EXTRA_DIST = \ - README.md \ - meson.build \ - meson_options.txt - -all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -am--refresh: Makefile - @: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @if test ! -f $@; then rm -f stamp-h1; else :; fi - @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 -pciaccess.pc: $(top_builddir)/config.status $(srcdir)/pciaccess.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool config.lt -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run 'make' without going through this Makefile. -# To change the values of 'make' variables: instead of editing Makefiles, -# (1) if the variable is set in 'config.status', edit 'config.status' -# (which will cause the Makefiles to be regenerated when you run 'make'); -# (2) otherwise, pass the desired values on the 'make' command line. -$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done -cscopelist-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -cscope: cscope.files - test ! -s cscope.files \ - || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) - -clean-cscope: - -rm -f cscope.files - -cscope.files: clean-cscope cscopelist-recursive cscopelist - -cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -rm -f cscope.out cscope.in.out cscope.po.out cscope.files - -distdir: $(DISTFILES) - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - $(am__make_dryrun) \ - || test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -755 \ - -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__post_remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 - $(am__post_remove_distdir) - -dist-lzip: distdir - tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz - $(am__post_remove_distdir) -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz - $(am__post_remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__post_remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__post_remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__post_remove_distdir) - -dist dist-all: - $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' - $(am__post_remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lz*) \ - lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir) - chmod u+w $(distdir) - mkdir $(distdir)/_build $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(AM_DISTCHECK_CONFIGURE_FLAGS) \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__post_remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @test -n '$(distuninstallcheck_dir)' || { \ - echo 'ERROR: trying to run $@ with an empty' \ - '$$(distuninstallcheck_dir)' >&2; \ - exit 1; \ - }; \ - $(am__cd) '$(distuninstallcheck_dir)' || { \ - echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ - exit 1; \ - }; \ - test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-recursive -all-am: Makefile $(DATA) config.h -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-hdr \ - distclean-libtool distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: install-pkgconfigDATA - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-pkgconfigDATA - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ - cscopelist-recursive ctags-recursive install-am install-strip \ - tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean clean-cscope \ - clean-generic clean-libtool cscope cscopelist \ - cscopelist-recursive ctags ctags-recursive dist dist-all \ - dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \ - dist-xz dist-zip distcheck distclean distclean-generic \ - distclean-hdr distclean-libtool distclean-tags distcleancheck \ - distdir distuninstallcheck dvi dvi-am html html-am info \ - info-am install install-am install-data install-data-am \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-man install-pdf install-pdf-am install-pkgconfigDATA \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-pkgconfigDATA - - -.PHONY: ChangeLog INSTALL - -INSTALL: - $(INSTALL_CMD) - -ChangeLog: - $(CHANGELOG_CMD) - -dist-hook: ChangeLog INSTALL - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/lib/libpciaccess/README.cygwin b/lib/libpciaccess/README.cygwin new file mode 100644 index 00000000..8801329a --- /dev/null +++ b/lib/libpciaccess/README.cygwin @@ -0,0 +1,25 @@ += libpciaccess support under Windows through WinIo and Cygwin = + +== Platforms supported == + +The support should work on Windows NT/2000/XP/2003/Vista/7 and 2008 but has +only been tested on Windows 7, 32 bits + +== Dependencies == + +This support depends of WinIo which allows direct I/O port and physical +memory access under Windows NT/2000/XP/2003/Vista/7 and 2008. + +== How to install WinIo ? == + +First, you need to download WinIo from http://www.internals.com/. Then, you +have to copy WinIo32.dll and WinIo32.sys to the same directory as the +executables. + +== TODO == + +Check and fix 64 bits support. + +== Contact == + +If you have any problems, please send an email to samuel.pitoiset at gmail.com diff --git a/lib/libpciaccess/compile b/lib/libpciaccess/compile deleted file mode 100644 index df363c8f..00000000 --- a/lib/libpciaccess/compile +++ /dev/null @@ -1,348 +0,0 @@ -#! /bin/sh -# Wrapper for compilers which do not understand '-c -o'. - -scriptversion=2018-03-07.03; # UTC - -# Copyright (C) 1999-2021 Free Software Foundation, Inc. -# Written by Tom Tromey . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to or send patches to -# . - -nl=' -' - -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent tools from complaining about whitespace usage. -IFS=" "" $nl" - -file_conv= - -# func_file_conv build_file lazy -# Convert a $build file to $host form and store it in $file -# Currently only supports Windows hosts. If the determined conversion -# type is listed in (the comma separated) LAZY, no conversion will -# take place. -func_file_conv () -{ - file=$1 - case $file in - / | /[!/]*) # absolute file, and not a UNC file - if test -z "$file_conv"; then - # lazily determine how to convert abs files - case `uname -s` in - MINGW*) - file_conv=mingw - ;; - CYGWIN* | MSYS*) - file_conv=cygwin - ;; - *) - file_conv=wine - ;; - esac - fi - case $file_conv/,$2, in - *,$file_conv,*) - ;; - mingw/*) - file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` - ;; - cygwin/* | msys/*) - file=`cygpath -m "$file" || echo "$file"` - ;; - wine/*) - file=`winepath -w "$file" || echo "$file"` - ;; - esac - ;; - esac -} - -# func_cl_dashL linkdir -# Make cl look for libraries in LINKDIR -func_cl_dashL () -{ - func_file_conv "$1" - if test -z "$lib_path"; then - lib_path=$file - else - lib_path="$lib_path;$file" - fi - linker_opts="$linker_opts -LIBPATH:$file" -} - -# func_cl_dashl library -# Do a library search-path lookup for cl -func_cl_dashl () -{ - lib=$1 - found=no - save_IFS=$IFS - IFS=';' - for dir in $lib_path $LIB - do - IFS=$save_IFS - if $shared && test -f "$dir/$lib.dll.lib"; then - found=yes - lib=$dir/$lib.dll.lib - break - fi - if test -f "$dir/$lib.lib"; then - found=yes - lib=$dir/$lib.lib - break - fi - if test -f "$dir/lib$lib.a"; then - found=yes - lib=$dir/lib$lib.a - break - fi - done - IFS=$save_IFS - - if test "$found" != yes; then - lib=$lib.lib - fi -} - -# func_cl_wrapper cl arg... -# Adjust compile command to suit cl -func_cl_wrapper () -{ - # Assume a capable shell - lib_path= - shared=: - linker_opts= - for arg - do - if test -n "$eat"; then - eat= - else - case $1 in - -o) - # configure might choose to run compile as 'compile cc -o foo foo.c'. - eat=1 - case $2 in - *.o | *.[oO][bB][jJ]) - func_file_conv "$2" - set x "$@" -Fo"$file" - shift - ;; - *) - func_file_conv "$2" - set x "$@" -Fe"$file" - shift - ;; - esac - ;; - -I) - eat=1 - func_file_conv "$2" mingw - set x "$@" -I"$file" - shift - ;; - -I*) - func_file_conv "${1#-I}" mingw - set x "$@" -I"$file" - shift - ;; - -l) - eat=1 - func_cl_dashl "$2" - set x "$@" "$lib" - shift - ;; - -l*) - func_cl_dashl "${1#-l}" - set x "$@" "$lib" - shift - ;; - -L) - eat=1 - func_cl_dashL "$2" - ;; - -L*) - func_cl_dashL "${1#-L}" - ;; - -static) - shared=false - ;; - -Wl,*) - arg=${1#-Wl,} - save_ifs="$IFS"; IFS=',' - for flag in $arg; do - IFS="$save_ifs" - linker_opts="$linker_opts $flag" - done - IFS="$save_ifs" - ;; - -Xlinker) - eat=1 - linker_opts="$linker_opts $2" - ;; - -*) - set x "$@" "$1" - shift - ;; - *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) - func_file_conv "$1" - set x "$@" -Tp"$file" - shift - ;; - *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) - func_file_conv "$1" mingw - set x "$@" "$file" - shift - ;; - *) - set x "$@" "$1" - shift - ;; - esac - fi - shift - done - if test -n "$linker_opts"; then - linker_opts="-link$linker_opts" - fi - exec "$@" $linker_opts - exit 1 -} - -eat= - -case $1 in - '') - echo "$0: No command. Try '$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: compile [--help] [--version] PROGRAM [ARGS] - -Wrapper for compilers which do not understand '-c -o'. -Remove '-o dest.o' from ARGS, run PROGRAM with the remaining -arguments, and rename the output as expected. - -If you are trying to build a whole package this is not the -right script to run: please start by reading the file 'INSTALL'. - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "compile $scriptversion" - exit $? - ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ - icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) - func_cl_wrapper "$@" # Doesn't return... - ;; -esac - -ofile= -cfile= - -for arg -do - if test -n "$eat"; then - eat= - else - case $1 in - -o) - # configure might choose to run compile as 'compile cc -o foo foo.c'. - # So we strip '-o arg' only if arg is an object. - eat=1 - case $2 in - *.o | *.obj) - ofile=$2 - ;; - *) - set x "$@" -o "$2" - shift - ;; - esac - ;; - *.c) - cfile=$1 - set x "$@" "$1" - shift - ;; - *) - set x "$@" "$1" - shift - ;; - esac - fi - shift -done - -if test -z "$ofile" || test -z "$cfile"; then - # If no '-o' option was seen then we might have been invoked from a - # pattern rule where we don't need one. That is ok -- this is a - # normal compilation that the losing compiler can handle. If no - # '.c' file was seen then we are probably linking. That is also - # ok. - exec "$@" -fi - -# Name of file we expect compiler to create. -cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` - -# Create the lock directory. -# Note: use '[/\\:.-]' here to ensure that we don't use the same name -# that we are using for the .o file. Also, base the name on the expected -# object file name, since that is what matters with a parallel build. -lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d -while true; do - if mkdir "$lockdir" >/dev/null 2>&1; then - break - fi - sleep 1 -done -# FIXME: race condition here if user kills between mkdir and trap. -trap "rmdir '$lockdir'; exit 1" 1 2 15 - -# Run the compile. -"$@" -ret=$? - -if test -f "$cofile"; then - test "$cofile" = "$ofile" || mv "$cofile" "$ofile" -elif test -f "${cofile}bj"; then - test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" -fi - -rmdir "$lockdir" -exit $ret - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'before-save-hook 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC0" -# time-stamp-end: "; # UTC" -# End: diff --git a/lib/libpciaccess/config.h.in b/lib/libpciaccess/config.h.in deleted file mode 100644 index 65e06690..00000000 --- a/lib/libpciaccess/config.h.in +++ /dev/null @@ -1,135 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_ERR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MACHINE_MTRR_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MACHINE_SYSARCH_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Use MTRRs on mappings */ -#undef HAVE_MTRR - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Use zlib to read gzip compressed pci.ids */ -#undef HAVE_ZLIB - -/* Linux ROM read fallback */ -#undef LINUX_ROM - -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Major version of this package */ -#undef PACKAGE_VERSION_MAJOR - -/* Minor version of this package */ -#undef PACKAGE_VERSION_MINOR - -/* Patch version of this package */ -#undef PACKAGE_VERSION_PATCHLEVEL - -/* Path to pci.ids */ -#undef PCIIDS_PATH - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif - - -/* Version number of package */ -#undef VERSION - -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -#undef _FILE_OFFSET_BITS - -/* Define for large files, on AIX-style hosts. */ -#undef _LARGE_FILES - -/* Define to 1 if on MINIX. */ -#undef _MINIX - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -#undef _POSIX_1_SOURCE - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -#undef _POSIX_SOURCE diff --git a/lib/libpciaccess/depcomp b/lib/libpciaccess/depcomp deleted file mode 100644 index e1f51f48..00000000 --- a/lib/libpciaccess/depcomp +++ /dev/null @@ -1,787 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2012-07-12.20; # UTC - -# Copyright (C) 1999-2012 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva . - -case $1 in - '') - echo "$0: No command. Try '$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp [--help] [--version] PROGRAM [ARGS] - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by 'PROGRAMS ARGS'. - object Object file output by 'PROGRAMS ARGS'. - DEPDIR directory where to store dependencies. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputting dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit $? - ;; -esac - -# A tabulation character. -tab=' ' -# A newline character. -nl=' -' - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi - -# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. -depfile=${depfile-`echo "$object" | - sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Avoid interferences from the environment. -gccflag= dashmflag= - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -cygpath_u="cygpath -u -f -" -if test "$depmode" = msvcmsys; then - # This is just like msvisualcpp but w/o cygpath translation. - # Just convert the backslash-escaped backslashes to single forward - # slashes to satisfy depend.m4 - cygpath_u='sed s,\\\\,/,g' - depmode=msvisualcpp -fi - -if test "$depmode" = msvc7msys; then - # This is just like msvc7 but w/o cygpath translation. - # Just convert the backslash-escaped backslashes to single forward - # slashes to satisfy depend.m4 - cygpath_u='sed s,\\\\,/,g' - depmode=msvc7 -fi - -if test "$depmode" = xlc; then - # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. - gccflag=-qmakedep=gcc,-MF - depmode=gcc -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. -## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. -## (see the conditional assignment to $gccflag above). -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). Also, it might not be -## supported by the other compilers which use the 'gcc' depmode. -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^[^:]*: / /' \ - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the "deleted header file" problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' "$nl" < "$tmpdepfile" | -## Some versions of gcc put a space before the ':'. On the theory -## that the space means something, we add a space to the output as -## well. hp depmode also adds that space, but also prefixes the VPATH -## to the object. Take care to not repeat it in the output. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ - | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like '#:fec' to the end of the - # dependency line. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr "$nl" ' ' >> "$depfile" - echo >> "$depfile" - - # The second pass generates a dummy entry for each header file. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -xlc) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts '$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.u - tmpdepfile2=$base.u - tmpdepfile3=$dir.libs/$base.u - "$@" -Wc,-M - else - tmpdepfile1=$dir$base.u - tmpdepfile2=$dir$base.u - tmpdepfile3=$dir$base.u - "$@" -M - fi - stat=$? - - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - # Each line is of the form 'foo.o: dependent.h'. - # Do two passes, one to just change these to - # '$object: dependent.h' and one to simply 'dependent.h:'. - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -icc) - # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. - # However on - # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using '\': - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - # tcc 0.9.26 (FIXME still under development at the moment of writing) - # will emit a similar output, but also prepend the continuation lines - # with horizontal tabulation characters. - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form 'foo.o: dependent.h', - # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. - # Do two passes, one to just change these to - # '$object: dependent.h' and one to simply 'dependent.h:'. - sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ - < "$tmpdepfile" > "$depfile" - sed ' - s/[ '"$tab"'][ '"$tab"']*/ /g - s/^ *// - s/ *\\*$// - s/^[^:]*: *// - /^$/d - /:$/d - s/$/ :/ - ' < "$tmpdepfile" >> "$depfile" - rm -f "$tmpdepfile" - ;; - -## The order of this option in the case statement is important, since the -## shell code in configure will try each of these formats in the order -## listed in this file. A plain '-MD' option would be understood by many -## compilers, so we must ensure this comes after the gcc and icc options. -pgcc) - # Portland's C compiler understands '-MD'. - # Will always output deps to 'file.d' where file is the root name of the - # source file under compilation, even if file resides in a subdirectory. - # The object file name does not affect the name of the '.d' file. - # pgcc 10.2 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using '\' : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - # Use the source, not the object, to determine the base name, since - # that's sadly what pgcc will do too. - base=`echo "$source" | sed -e 's|^.*/||' -e 's/\.[-_a-zA-Z0-9]*$//'` - tmpdepfile="$base.d" - - # For projects that build the same source file twice into different object - # files, the pgcc approach of using the *source* file root name can cause - # problems in parallel builds. Use a locking strategy to avoid stomping on - # the same $tmpdepfile. - lockdir="$base.d-lock" - trap "echo '$0: caught signal, cleaning up...' >&2; rm -rf $lockdir" 1 2 13 15 - numtries=100 - i=$numtries - while test $i -gt 0 ; do - # mkdir is a portable test-and-set. - if mkdir $lockdir 2>/dev/null; then - # This process acquired the lock. - "$@" -MD - stat=$? - # Release the lock. - rm -rf $lockdir - break - else - ## the lock is being held by a different process, - ## wait until the winning process is done or we timeout - while test -d $lockdir && test $i -gt 0; do - sleep 1 - i=`expr $i - 1` - done - fi - i=`expr $i - 1` - done - trap - 1 2 13 15 - if test $i -le 0; then - echo "$0: failed to acquire lock after $numtries attempts" >&2 - echo "$0: check lockdir '$lockdir'" >&2 - exit 1 - fi - - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add 'dependent.h:' lines. - sed -ne '2,${ - s/^ *// - s/ \\*$// - s/$/:/ - p - }' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in 'foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to - # handle both shared and static libraries in a single compilation. - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. - # - # With libtool 1.5 this exception was removed, and libtool now - # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 - tmpdepfile2=$dir$base.o.d # libtool 1.5 - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.o.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - tmpdepfile4=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -msvc7) - if test "$libtool" = yes; then - showIncludes=-Wc,-showIncludes - else - showIncludes=-showIncludes - fi - "$@" $showIncludes > "$tmpdepfile" - stat=$? - grep -v '^Note: including file: ' "$tmpdepfile" - if test "$stat" = 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - # The first sed program below extracts the file names and escapes - # backslashes for cygpath. The second sed program outputs the file - # name when reading, but also accumulates all include files in the - # hold buffer in order to output them again at the end. This only - # works with sed implementations that can handle large buffers. - sed < "$tmpdepfile" -n ' -/^Note: including file: *\(.*\)/ { - s//\1/ - s/\\/\\\\/g - p -}' | $cygpath_u | sort -u | sed -n ' -s/ /\\ /g -s/\(.*\)/'"$tab"'\1 \\/p -s/.\(.*\) \\/\1:/ -H -$ { - s/.*/'"$tab"'/ - G - p -}' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvc7msys) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove '-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for ':' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. - "$@" $dashmflag | - sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' "$nl" < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no eat=no - for arg - do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - if test $eat = yes; then - eat=no - continue - fi - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -arch) - eat=yes ;; - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix=`echo "$object" | sed 's/^.*\././'` - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - # makedepend may prepend the VPATH from the source file name to the object. - # No need to regex-escape $object, excess matching of '.' is harmless. - sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - # Remove '-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test "X$1" != 'X--mode=compile'; do - shift - done - shift - fi - - IFS=" " - for arg - do - case "$arg" in - -o) - shift - ;; - $object) - shift - ;; - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E 2>/dev/null | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" - echo "$tab" >> "$depfile" - sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvcmsys) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff --git a/lib/libpciaccess/include/Makefile.am b/lib/libpciaccess/include/Makefile.am deleted file mode 100644 index b6681923..00000000 --- a/lib/libpciaccess/include/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -include_HEADERS = pciaccess.h diff --git a/lib/libpciaccess/include/Makefile.in b/lib/libpciaccess/include/Makefile.in deleted file mode 100644 index c64383cd..00000000 --- a/lib/libpciaccess/include/Makefile.in +++ /dev/null @@ -1,540 +0,0 @@ -# Makefile.in generated by automake 1.12.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2012 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -am__make_dryrun = \ - { \ - am__dry=no; \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ - *) \ - for am__flg in $$MAKEFLAGS; do \ - case $$am__flg in \ - *=*|--*) ;; \ - *n*) am__dry=yes; break;; \ - esac; \ - done;; \ - esac; \ - test $$am__dry = yes; \ - } -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = include -DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -am__installdirs = "$(DESTDIR)$(includedir)" -HEADERS = $(include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ -ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -APP_MAN_DIR = @APP_MAN_DIR@ -APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BASE_CFLAGS = @BASE_CFLAGS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CWARNFLAGS = @CWARNFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ -DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FILE_MAN_DIR = @FILE_MAN_DIR@ -FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_CMD = @INSTALL_CMD@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIB_MAN_DIR = @LIB_MAN_DIR@ -LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MAN_SUBSTS = @MAN_SUBSTS@ -MISC_MAN_DIR = @MISC_MAN_DIR@ -MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@ -PCIACCESS_LIBS = @PCIACCESS_LIBS@ -PCIIDS_PATH = @PCIIDS_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRICT_CFLAGS = @STRICT_CFLAGS@ -STRIP = @STRIP@ -VERSION = @VERSION@ -XORG_MAN_PAGE = @XORG_MAN_PAGE@ -ZLIB_CFLAGS = @ZLIB_CFLAGS@ -ZLIB_LIBS = @ZLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -include_HEADERS = pciaccess.h -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign include/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -cscopelist: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-includeHEADERS - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-includeHEADERS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool cscopelist ctags distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-man install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am tags uninstall uninstall-am uninstall-includeHEADERS - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/lib/libpciaccess/install-sh b/lib/libpciaccess/install-sh deleted file mode 100644 index 377bb868..00000000 --- a/lib/libpciaccess/install-sh +++ /dev/null @@ -1,527 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2011-11-20.07; # UTC - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# 'make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. - -nl=' -' -IFS=" "" $nl" - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit=${DOITPROG-} -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi - -# Put in absolute file names if you don't have them in your path; -# or use environment vars. - -chgrpprog=${CHGRPPROG-chgrp} -chmodprog=${CHMODPROG-chmod} -chownprog=${CHOWNPROG-chown} -cmpprog=${CMPPROG-cmp} -cpprog=${CPPROG-cp} -mkdirprog=${MKDIRPROG-mkdir} -mvprog=${MVPROG-mv} -rmprog=${RMPROG-rm} -stripprog=${STRIPPROG-strip} - -posix_glob='?' -initialize_posix_glob=' - test "$posix_glob" != "?" || { - if (set -f) 2>/dev/null; then - posix_glob= - else - posix_glob=: - fi - } -' - -posix_mkdir= - -# Desired mode of installed file. -mode=0755 - -chgrpcmd= -chmodcmd=$chmodprog -chowncmd= -mvcmd=$mvprog -rmcmd="$rmprog -f" -stripcmd= - -src= -dst= -dir_arg= -dst_arg= - -copy_on_change=false -no_target_directory= - -usage="\ -Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE - or: $0 [OPTION]... SRCFILES... DIRECTORY - or: $0 [OPTION]... -t DIRECTORY SRCFILES... - or: $0 [OPTION]... -d DIRECTORIES... - -In the 1st form, copy SRCFILE to DSTFILE. -In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. -In the 4th, create DIRECTORIES. - -Options: - --help display this help and exit. - --version display version info and exit. - - -c (ignored) - -C install only if different (preserve the last data modification time) - -d create directories instead of installing files. - -g GROUP $chgrpprog installed files to GROUP. - -m MODE $chmodprog installed files to MODE. - -o USER $chownprog installed files to USER. - -s $stripprog installed files. - -t DIRECTORY install into DIRECTORY. - -T report an error if DSTFILE is a directory. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG - RMPROG STRIPPROG -" - -while test $# -ne 0; do - case $1 in - -c) ;; - - -C) copy_on_change=true;; - - -d) dir_arg=true;; - - -g) chgrpcmd="$chgrpprog $2" - shift;; - - --help) echo "$usage"; exit $?;; - - -m) mode=$2 - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac - shift;; - - -o) chowncmd="$chownprog $2" - shift;; - - -s) stripcmd=$stripprog;; - - -t) dst_arg=$2 - # Protect names problematic for 'test' and other utilities. - case $dst_arg in - -* | [=\(\)!]) dst_arg=./$dst_arg;; - esac - shift;; - - -T) no_target_directory=true;; - - --version) echo "$0 $scriptversion"; exit $?;; - - --) shift - break;; - - -*) echo "$0: invalid option: $1" >&2 - exit 1;; - - *) break;; - esac - shift -done - -if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then - # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dst_arg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dst_arg" - shift # fnord - fi - shift # arg - dst_arg=$arg - # Protect names problematic for 'test' and other utilities. - case $dst_arg in - -* | [=\(\)!]) dst_arg=./$dst_arg;; - esac - done -fi - -if test $# -eq 0; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call 'install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -if test -z "$dir_arg"; then - do_exit='(exit $ret); exit $ret' - trap "ret=129; $do_exit" 1 - trap "ret=130; $do_exit" 2 - trap "ret=141; $do_exit" 13 - trap "ret=143; $do_exit" 15 - - # Set umask so as not to create temps with too-generous modes. - # However, 'strip' requires both read and write access to temps. - case $mode in - # Optimize common cases. - *644) cp_umask=133;; - *755) cp_umask=22;; - - *[0-7]) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw='% 200' - fi - cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; - *) - if test -z "$stripcmd"; then - u_plus_rw= - else - u_plus_rw=,u+rw - fi - cp_umask=$mode$u_plus_rw;; - esac -fi - -for src -do - # Protect names problematic for 'test' and other utilities. - case $src in - -* | [=\(\)!]) src=./$src;; - esac - - if test -n "$dir_arg"; then - dst=$src - dstdir=$dst - test -d "$dstdir" - dstdir_status=$? - else - - # Waiting for this to be detected by the "$cpprog $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dst_arg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - dst=$dst_arg - - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. - if test -d "$dst"; then - if test -n "$no_target_directory"; then - echo "$0: $dst_arg: Is a directory" >&2 - exit 1 - fi - dstdir=$dst - dst=$dstdir/`basename "$src"` - dstdir_status=0 - else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$dst" : 'X\(//\)[^/]' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - - test -d "$dstdir" - dstdir_status=$? - fi - fi - - obsolete_mkdir_used=false - - if test $dstdir_status != 0; then - case $posix_mkdir in - '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; - esac - - if - $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" - ) - then : - else - - # The umask is ridiculous, or mkdir does not conform to POSIX, - # or it failed possibly due to a race condition. Create the - # directory the slow way, step by step, checking for races as we go. - - case $dstdir in - /*) prefix='/';; - [-=\(\)!]*) prefix='./';; - *) prefix='';; - esac - - eval "$initialize_posix_glob" - - oIFS=$IFS - IFS=/ - $posix_glob set -f - set fnord $dstdir - shift - $posix_glob set +f - IFS=$oIFS - - prefixes= - - for d - do - test X"$d" = X && continue - - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ - done - - if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true - fi - fi - fi - - if test -n "$dir_arg"; then - { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && - { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || - test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 - else - - # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - - # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $cpprog $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && - { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && - { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && - { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && - - # If -C, don't bother to copy if it wouldn't change the file. - if $copy_on_change && - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && - - eval "$initialize_posix_glob" && - $posix_glob set -f && - set X $old && old=:$2:$4:$5:$6 && - set X $new && new=:$2:$4:$5:$6 && - $posix_glob set +f && - - test "$old" = "$new" && - $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 - then - rm -f "$dsttmp" - else - # Rename the file to the real destination. - $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || - - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - { - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } - } || - { echo "$0: cannot unlink or rename $dst" >&2 - (exit 1); exit 1 - } - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" - } - fi || exit 1 - - trap '' 0 - fi -done - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff --git a/lib/libpciaccess/m4/ax_define_dir.m4 b/lib/libpciaccess/m4/ax_define_dir.m4 deleted file mode 100644 index b74d155f..00000000 --- a/lib/libpciaccess/m4/ax_define_dir.m4 +++ /dev/null @@ -1,49 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_define_dir.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION]) -# -# DESCRIPTION -# -# This macro sets VARNAME to the expansion of the DIR variable, taking -# care of fixing up ${prefix} and such. -# -# VARNAME is then offered as both an output variable and a C preprocessor -# symbol. -# -# Example: -# -# AX_DEFINE_DIR([DATADIR], [datadir], [Where data are placed to.]) -# -# LICENSE -# -# Copyright (c) 2008 Stepan Kasal -# Copyright (c) 2008 Andreas Schwab -# Copyright (c) 2008 Guido U. Draheim -# Copyright (c) 2008 Alexandre Oliva -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 6 - -AU_ALIAS([AC_DEFINE_DIR], [AX_DEFINE_DIR]) -AC_DEFUN([AX_DEFINE_DIR], [ - prefix_NONE= - exec_prefix_NONE= - test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix - test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix -dnl In Autoconf 2.60, ${datadir} refers to ${datarootdir}, which in turn -dnl refers to ${prefix}. Thus we have to use `eval' twice. - eval ax_define_dir="\"[$]$2\"" - eval ax_define_dir="\"$ax_define_dir\"" - AC_SUBST($1, "$ax_define_dir") - AC_DEFINE_UNQUOTED($1, "$ax_define_dir", [$3]) - test "$prefix_NONE" && prefix=NONE - test "$exec_prefix_NONE" && exec_prefix=NONE -]) diff --git a/lib/libpciaccess/m4/ltoptions.m4 b/lib/libpciaccess/m4/ltoptions.m4 deleted file mode 100644 index 5d9acd8e..00000000 --- a/lib/libpciaccess/m4/ltoptions.m4 +++ /dev/null @@ -1,384 +0,0 @@ -# Helper functions for option handling. -*- Autoconf -*- -# -# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 7 ltoptions.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) - - -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) -# ------------------------------------------ -m4_define([_LT_MANGLE_OPTION], -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) - - -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) -# --------------------------------------- -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a -# matching handler defined, dispatch to it. Other OPTION-NAMEs are -# saved as a flag. -m4_define([_LT_SET_OPTION], -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), - _LT_MANGLE_DEFUN([$1], [$2]), - [m4_warning([Unknown $1 option `$2'])])[]dnl -]) - - -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) -# ------------------------------------------------------------ -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -m4_define([_LT_IF_OPTION], -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) - - -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) -# ------------------------------------------------------- -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME -# are set. -m4_define([_LT_UNLESS_OPTIONS], -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), - [m4_define([$0_found])])])[]dnl -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 -])[]dnl -]) - - -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) -# ---------------------------------------- -# OPTION-LIST is a space-separated list of Libtool options associated -# with MACRO-NAME. If any OPTION has a matching handler declared with -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about -# the unknown option and exit. -m4_defun([_LT_SET_OPTIONS], -[# Set options -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [_LT_SET_OPTION([$1], _LT_Option)]) - -m4_if([$1],[LT_INIT],[ - dnl - dnl Simply set some default values (i.e off) if boolean options were not - dnl specified: - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no - ]) - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no - ]) - dnl - dnl If no reference was made to various pairs of opposing options, then - dnl we run the default mode handler for the pair. For example, if neither - dnl `shared' nor `disable-shared' was passed, we enable building of shared - dnl archives by default: - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], - [_LT_ENABLE_FAST_INSTALL]) - ]) -])# _LT_SET_OPTIONS - - -## --------------------------------- ## -## Macros to handle LT_INIT options. ## -## --------------------------------- ## - -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) -# ----------------------------------------- -m4_define([_LT_MANGLE_DEFUN], -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) - - -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) -# ----------------------------------------------- -m4_define([LT_OPTION_DEFINE], -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl -])# LT_OPTION_DEFINE - - -# dlopen -# ------ -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes -]) - -AU_DEFUN([AC_LIBTOOL_DLOPEN], -[_LT_SET_OPTION([LT_INIT], [dlopen]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `dlopen' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) - - -# win32-dll -# --------- -# Declare package support for building win32 dll's. -LT_OPTION_DEFINE([LT_INIT], [win32-dll], -[enable_win32_dll=yes - -case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; -esac - -test -z "$AS" && AS=as -_LT_DECL([], [AS], [1], [Assembler program])dnl - -test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl - -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl -])# win32-dll - -AU_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -_LT_SET_OPTION([LT_INIT], [win32-dll]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `win32-dll' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) - - -# _LT_ENABLE_SHARED([DEFAULT]) -# ---------------------------- -# implement the --enable-shared flag, and supports the `shared' and -# `disable-shared' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_SHARED], -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([shared], - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) - - _LT_DECL([build_libtool_libs], [enable_shared], [0], - [Whether or not to build shared libraries]) -])# _LT_ENABLE_SHARED - -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) -]) - -AC_DEFUN([AC_DISABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], [disable-shared]) -]) - -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_SHARED], []) -dnl AC_DEFUN([AM_DISABLE_SHARED], []) - - - -# _LT_ENABLE_STATIC([DEFAULT]) -# ---------------------------- -# implement the --enable-static flag, and support the `static' and -# `disable-static' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_STATIC], -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([static], - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]_LT_ENABLE_STATIC_DEFAULT) - - _LT_DECL([build_old_libs], [enable_static], [0], - [Whether or not to build static libraries]) -])# _LT_ENABLE_STATIC - -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) -]) - -AC_DEFUN([AC_DISABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], [disable-static]) -]) - -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_STATIC], []) -dnl AC_DEFUN([AM_DISABLE_STATIC], []) - - - -# _LT_ENABLE_FAST_INSTALL([DEFAULT]) -# ---------------------------------- -# implement the --enable-fast-install flag, and support the `fast-install' -# and `disable-fast-install' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_FAST_INSTALL], -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([fast-install], - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) - -_LT_DECL([fast_install], [enable_fast_install], [0], - [Whether or not to optimize for fast installation])dnl -])# _LT_ENABLE_FAST_INSTALL - -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) - -# Old names: -AU_DEFUN([AC_ENABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `fast-install' option into LT_INIT's first parameter.]) -]) - -AU_DEFUN([AC_DISABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `disable-fast-install' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) - - -# _LT_WITH_PIC([MODE]) -# -------------------- -# implement the --with-pic flag, and support the `pic-only' and `no-pic' -# LT_INIT options. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -m4_define([_LT_WITH_PIC], -[AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for lt_pkg in $withval; do - IFS="$lt_save_ifs" - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [pic_mode=default]) - -test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) - -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl -])# _LT_WITH_PIC - -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) - -# Old name: -AU_DEFUN([AC_LIBTOOL_PICMODE], -[_LT_SET_OPTION([LT_INIT], [pic-only]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `pic-only' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) - -## ----------------- ## -## LTDL_INIT Options ## -## ----------------- ## - -m4_define([_LTDL_MODE], []) -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], - [m4_define([_LTDL_MODE], [nonrecursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [recursive], - [m4_define([_LTDL_MODE], [recursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [subproject], - [m4_define([_LTDL_MODE], [subproject])]) - -m4_define([_LTDL_TYPE], []) -LT_OPTION_DEFINE([LTDL_INIT], [installable], - [m4_define([_LTDL_TYPE], [installable])]) -LT_OPTION_DEFINE([LTDL_INIT], [convenience], - [m4_define([_LTDL_TYPE], [convenience])]) diff --git a/lib/libpciaccess/m4/ltsugar.m4 b/lib/libpciaccess/m4/ltsugar.m4 deleted file mode 100644 index 9000a057..00000000 --- a/lib/libpciaccess/m4/ltsugar.m4 +++ /dev/null @@ -1,123 +0,0 @@ -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltsugar.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) - - -# lt_join(SEP, ARG1, [ARG2...]) -# ----------------------------- -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their -# associated separator. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier -# versions in m4sugar had bugs. -m4_define([lt_join], -[m4_if([$#], [1], [], - [$#], [2], [[$2]], - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) -m4_define([_lt_join], -[m4_if([$#$2], [2], [], - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) - - -# lt_car(LIST) -# lt_cdr(LIST) -# ------------ -# Manipulate m4 lists. -# These macros are necessary as long as will still need to support -# Autoconf-2.59 which quotes differently. -m4_define([lt_car], [[$1]]) -m4_define([lt_cdr], -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], - [$#], 1, [], - [m4_dquote(m4_shift($@))])]) -m4_define([lt_unquote], $1) - - -# lt_append(MACRO-NAME, STRING, [SEPARATOR]) -# ------------------------------------------ -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. -# Note that neither SEPARATOR nor STRING are expanded; they are appended -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). -# No SEPARATOR is output if MACRO-NAME was previously undefined (different -# than defined and empty). -# -# This macro is needed until we can rely on Autoconf 2.62, since earlier -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. -m4_define([lt_append], -[m4_define([$1], - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) - - - -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) -# ---------------------------------------------------------- -# Produce a SEP delimited list of all paired combinations of elements of -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list -# has the form PREFIXmINFIXSUFFIXn. -# Needed until we can rely on m4_combine added in Autoconf 2.62. -m4_define([lt_combine], -[m4_if(m4_eval([$# > 3]), [1], - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl -[[m4_foreach([_Lt_prefix], [$2], - [m4_foreach([_Lt_suffix], - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) - - -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) -# ----------------------------------------------------------------------- -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. -m4_define([lt_if_append_uniq], -[m4_ifdef([$1], - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], - [lt_append([$1], [$2], [$3])$4], - [$5])], - [lt_append([$1], [$2], [$3])$4])]) - - -# lt_dict_add(DICT, KEY, VALUE) -# ----------------------------- -m4_define([lt_dict_add], -[m4_define([$1($2)], [$3])]) - - -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) -# -------------------------------------------- -m4_define([lt_dict_add_subkey], -[m4_define([$1($2:$3)], [$4])]) - - -# lt_dict_fetch(DICT, KEY, [SUBKEY]) -# ---------------------------------- -m4_define([lt_dict_fetch], -[m4_ifval([$3], - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) - - -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) -# ----------------------------------------------------------------- -m4_define([lt_if_dict_fetch], -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], - [$5], - [$6])]) - - -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) -# -------------------------------------------------------------- -m4_define([lt_dict_filter], -[m4_if([$5], [], [], - [lt_join(m4_quote(m4_default([$4], [[, ]])), - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl -]) diff --git a/lib/libpciaccess/m4/ltversion.m4 b/lib/libpciaccess/m4/ltversion.m4 deleted file mode 100644 index 07a8602d..00000000 --- a/lib/libpciaccess/m4/ltversion.m4 +++ /dev/null @@ -1,23 +0,0 @@ -# ltversion.m4 -- version numbers -*- Autoconf -*- -# -# Copyright (C) 2004 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# @configure_input@ - -# serial 3337 ltversion.m4 -# This file is part of GNU Libtool - -m4_define([LT_PACKAGE_VERSION], [2.4.2]) -m4_define([LT_PACKAGE_REVISION], [1.3337]) - -AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.4.2' -macro_revision='1.3337' -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) -_LT_DECL(, macro_revision, 0) -]) diff --git a/lib/libpciaccess/m4/lt~obsolete.m4 b/lib/libpciaccess/m4/lt~obsolete.m4 deleted file mode 100644 index c573da90..00000000 --- a/lib/libpciaccess/m4/lt~obsolete.m4 +++ /dev/null @@ -1,98 +0,0 @@ -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004. -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 5 lt~obsolete.m4 - -# These exist entirely to fool aclocal when bootstrapping libtool. -# -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) -# which have later been changed to m4_define as they aren't part of the -# exported API, or moved to Autoconf or Automake where they belong. -# -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us -# using a macro with the same name in our local m4/libtool.m4 it'll -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define -# and doesn't know about Autoconf macros at all.) -# -# So we provide this file, which has a silly filename so it's always -# included after everything else. This provides aclocal with the -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything -# because those macros already exist, or will be overwritten later. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. -# -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. -# Yes, that means every name once taken will need to remain here until -# we give up compatibility with versions before 1.7, at which point -# we need to keep only those names which we still refer to. - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) - -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) -m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) -m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) -m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) -m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) -m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) -m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) -m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) diff --git a/lib/libpciaccess/man/Makefile.am b/lib/libpciaccess/man/Makefile.am deleted file mode 100644 index 13299a50..00000000 --- a/lib/libpciaccess/man/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -# -# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# - -appman_PRE = scanpci.man -noinst_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) - -EXTRA_DIST = \ - $(appman_PRE) \ - meson.build - -CLEANFILES = $(noinst_DATA) - -# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure -SUFFIXES = .$(APP_MAN_SUFFIX) .man - -.man.$(APP_MAN_SUFFIX): - $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff --git a/lib/libpciaccess/man/Makefile.in b/lib/libpciaccess/man/Makefile.in deleted file mode 100644 index 8ca05510..00000000 --- a/lib/libpciaccess/man/Makefile.in +++ /dev/null @@ -1,462 +0,0 @@ -# Makefile.in generated by automake 1.12.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2012 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -# - -VPATH = @srcdir@ -am__make_dryrun = \ - { \ - am__dry=no; \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ - *) \ - for am__flg in $$MAKEFLAGS; do \ - case $$am__flg in \ - *=*|--*) ;; \ - *n*) am__dry=yes; break;; \ - esac; \ - done;; \ - esac; \ - test $$am__dry = yes; \ - } -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = man -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -DATA = $(noinst_DATA) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ -ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -APP_MAN_DIR = @APP_MAN_DIR@ -APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BASE_CFLAGS = @BASE_CFLAGS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CWARNFLAGS = @CWARNFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ -DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FILE_MAN_DIR = @FILE_MAN_DIR@ -FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_CMD = @INSTALL_CMD@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIB_MAN_DIR = @LIB_MAN_DIR@ -LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MAN_SUBSTS = @MAN_SUBSTS@ -MISC_MAN_DIR = @MISC_MAN_DIR@ -MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@ -PCIACCESS_LIBS = @PCIACCESS_LIBS@ -PCIIDS_PATH = @PCIIDS_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRICT_CFLAGS = @STRICT_CFLAGS@ -STRIP = @STRIP@ -VERSION = @VERSION@ -XORG_MAN_PAGE = @XORG_MAN_PAGE@ -ZLIB_CFLAGS = @ZLIB_CFLAGS@ -ZLIB_LIBS = @ZLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -appman_PRE = scanpci.man -noinst_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) -EXTRA_DIST = \ - $(appman_PRE) \ - meson.build - -CLEANFILES = $(noinst_DATA) - -# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure -SUFFIXES = .$(APP_MAN_SUFFIX) .man -all: all-am - -.SUFFIXES: -.SUFFIXES: .$(APP_MAN_SUFFIX) .man -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign man/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - -cscope cscopelist: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(DATA) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am - - -.man.$(APP_MAN_SUFFIX): - $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/lib/libpciaccess/meson.build b/lib/libpciaccess/meson.build index c4a991de..f004d3f4 100644 --- a/lib/libpciaccess/meson.build +++ b/lib/libpciaccess/meson.build @@ -21,7 +21,7 @@ project( 'libpciaccess', ['c'], - version : '0.17', + version : '0.18.1', license : 'MIT', meson_version : '>= 0.48.0', default_options : ['buildtype=debugoptimized'], diff --git a/lib/libpciaccess/missing b/lib/libpciaccess/missing deleted file mode 100644 index 9a556482..00000000 --- a/lib/libpciaccess/missing +++ /dev/null @@ -1,330 +0,0 @@ -#! /bin/sh -# Common stub for a few missing GNU programs while installing. - -scriptversion=2012-01-06.18; # UTC - -# Copyright (C) 1996-2012 Free Software Foundation, Inc. -# Originally by Fran,cois Pinard , 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try '$0 --help' for more information" - exit 1 -fi - -run=: -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' - -# In the cases where this matters, 'missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -msg="missing on your system" - -case $1 in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails - -Supported PROGRAM values: - aclocal touch file 'aclocal.m4' - autoconf touch file 'configure' - autoheader touch file 'config.h.in' - autom4te touch the output file, or create a stub one - automake touch all 'Makefile.in' files - bison create 'y.tab.[ch]', if possible, from existing .[ch] - flex create 'lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create 'lex.yy.c', if possible, from existing .c - makeinfo touch the output file - yacc create 'y.tab.[ch]', if possible, from existing .[ch] - -Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and -'g' are ignored when checking the name. - -Send bug reports to ." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: Unknown '$1' option" - echo 1>&2 "Try '$0 --help' for more information" - exit 1 - ;; - -esac - -# normalize program name to check for. -program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - -# Now exit if we have it, but it failed. Also exit now if we -# don't have it and --version was passed (most likely to detect -# the program). This is about non-GNU programs, so use $1 not -# $program. -case $1 in - lex*|yacc*) - # Not GNU programs, they don't have --version. - ;; - - *) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - # Could not run --version or --help. This is probably someone - # running '$TOOL --version' or '$TOOL --help' to check whether - # $TOOL exists and not knowing $TOOL uses missing. - exit 1 - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case $program in - aclocal*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified 'acinclude.m4' or '${configure_ac}'. You might want - to install the Automake and Perl packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified '${configure_ac}'. You might want to install the - Autoconf and GNU m4 packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified 'acconfig.h' or '${configure_ac}'. You might want - to install the Autoconf and GNU m4 packages. Grab them - from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case $f in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. - You might want to install the Automake and Perl packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te*) - echo 1>&2 "\ -WARNING: '$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get '$1' as part of Autoconf from any GNU - archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison*|yacc*) - echo 1>&2 "\ -WARNING: '$1' $msg. You should only need it if - you modified a '.y' file. You may need the Bison package - in order for those modifications to take effect. You can get - Bison from any GNU archive site." - rm -f y.tab.c y.tab.h - if test $# -ne 1; then - eval LASTARG=\${$#} - case $LASTARG in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if test ! -f y.tab.h; then - echo >y.tab.h - fi - if test ! -f y.tab.c; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex*|flex*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified a '.l' file. You may need the Flex package - in order for those modifications to take effect. You can get - Flex from any GNU archive site." - rm -f lex.yy.c - if test $# -ne 1; then - eval LASTARG=\${$#} - case $LASTARG in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if test ! -f lex.yy.c; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - Help2man package in order for those modifications to take - effect. You can get Help2man from any GNU archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit $? - fi - ;; - - makeinfo*) - echo 1>&2 "\ -WARNING: '$1' is $msg. You should only need it if - you modified a '.texi' or '.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy 'make' (AIX, - DU, IRIX). You might want to install the Texinfo package or - the GNU make package. Grab either from any GNU archive site." - # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -z "$file"; then - # ... or it is the one specified with @setfilename ... - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \([^ ]*\) *$/\1/ - p - q - }' $infile` - # ... or it is derived from the source name (dir/f.texi becomes f.info) - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info - fi - # If the file does not exist, the user really needs makeinfo; - # let's fail without touching anything. - test -f $file || exit 1 - touch $file - ;; - - *) - echo 1>&2 "\ -WARNING: '$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the 'README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing '$1' program." - exit 1 - ;; -esac - -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff --git a/lib/libpciaccess/mk/.gitignore b/lib/libpciaccess/mk/.gitignore new file mode 100644 index 00000000..e9915b7e --- /dev/null +++ b/lib/libpciaccess/mk/.gitignore @@ -0,0 +1,2 @@ +!Makefile +!config.h diff --git a/lib/libpciaccess/mk/Makefile b/lib/libpciaccess/mk/Makefile new file mode 100644 index 00000000..fbbf579f --- /dev/null +++ b/lib/libpciaccess/mk/Makefile @@ -0,0 +1,47 @@ +# $OpenBSD: Makefile,v 1.1 2024/05/13 19:16:27 matthieu Exp $ + +PACKAGE_VERSION = 0.18.1 +LIB = pciaccess + +TOP = ${.CURDIR}/.. + +NOPROFILE = + +SRCS= \ + common_bridge.c \ + common_iterator.c \ + common_init.c \ + common_interface.c \ + common_io.c \ + common_capability.c \ + common_device_name.c \ + common_map.c \ + openbsd_pci.c + +CPPFLAGS += \ + -DHAVE_CONFIG_H \ + -DPCIIDS_PATH=\"${X11BASE}/share\" \ + -I$(TOP)/mk \ + -I$(TOP)/src \ + -I$(TOP)/include + +CFLAGS += -std=c99 + +EXTRA_PKGCONFIG_SUBST= "-e s/@PCIACCESS_LIBS@//" +PKGCONFIG = pciaccess.pc + +beforeinstall: + @cmp -s ${DESTDIR}${X11BASE}/include/pciaccess.h \ + $(TOP)/include/pciaccess.h || \ + echo "${INSTALL_DATA} $(TOP)/include/pciaccess.h \ + ${DESTDIR}${X11BASE}/include/pciaccess.h" && \ + ${INSTALL_DATA} $(TOP)/include/pciaccess.h \ + ${DESTDIR}${X11BASE}/include/pciaccess.h + +obj: _xenocara_obj + +.PATH: $(TOP) +.PATH: $(TOP)/src + +.include +.include diff --git a/lib/libpciaccess/mk/config.h b/lib/libpciaccess/mk/config.h new file mode 100644 index 00000000..fee8ded8 --- /dev/null +++ b/lib/libpciaccess/mk/config.h @@ -0,0 +1,10 @@ +/* $OpenBSD: config.h,v 1.1 2024/05/13 19:16:27 matthieu Exp $ */ + +#pragma once + +#define HAVE_ERR_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +/* undef HAVE_ZLIB */ diff --git a/lib/libpciaccess/mk/shlib_version b/lib/libpciaccess/mk/shlib_version new file mode 100644 index 00000000..f846a6a5 --- /dev/null +++ b/lib/libpciaccess/mk/shlib_version @@ -0,0 +1,3 @@ +major=2 +minor=1 + diff --git a/lib/libpciaccess/scanpci/.gitignore b/lib/libpciaccess/scanpci/.gitignore new file mode 100644 index 00000000..485d4b9f --- /dev/null +++ b/lib/libpciaccess/scanpci/.gitignore @@ -0,0 +1 @@ +scanpci diff --git a/lib/libpciaccess/scanpci/Makefile.am b/lib/libpciaccess/scanpci/Makefile.am deleted file mode 100644 index 534f11c4..00000000 --- a/lib/libpciaccess/scanpci/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# -# (C) Copyright IBM Corporation 2006 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -noinst_PROGRAMS = scanpci - -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -LDADD = $(top_builddir)/src/libpciaccess.la - -scanpci_SOURCES = scanpci.c - -EXTRA_DIST = meson.build \ No newline at end of file diff --git a/lib/libpciaccess/scanpci/Makefile.in b/lib/libpciaccess/scanpci/Makefile.in deleted file mode 100644 index 6b4723ca..00000000 --- a/lib/libpciaccess/scanpci/Makefile.in +++ /dev/null @@ -1,592 +0,0 @@ -# Makefile.in generated by automake 1.12.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2012 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# (C) Copyright IBM Corporation 2006 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -VPATH = @srcdir@ -am__make_dryrun = \ - { \ - am__dry=no; \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ - *) \ - for am__flg in $$MAKEFLAGS; do \ - case $$am__flg in \ - *=*|--*) ;; \ - *n*) am__dry=yes; break;; \ - esac; \ - done;; \ - esac; \ - test $$am__dry = yes; \ - } -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -noinst_PROGRAMS = scanpci$(EXEEXT) -subdir = scanpci -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/depcomp -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -PROGRAMS = $(noinst_PROGRAMS) -am_scanpci_OBJECTS = scanpci.$(OBJEXT) -scanpci_OBJECTS = $(am_scanpci_OBJECTS) -scanpci_LDADD = $(LDADD) -scanpci_DEPENDENCIES = $(top_builddir)/src/libpciaccess.la -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -SOURCES = $(scanpci_SOURCES) -DIST_SOURCES = $(scanpci_SOURCES) -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ -ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -APP_MAN_DIR = @APP_MAN_DIR@ -APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BASE_CFLAGS = @BASE_CFLAGS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CWARNFLAGS = @CWARNFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ -DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FILE_MAN_DIR = @FILE_MAN_DIR@ -FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_CMD = @INSTALL_CMD@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIB_MAN_DIR = @LIB_MAN_DIR@ -LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MAN_SUBSTS = @MAN_SUBSTS@ -MISC_MAN_DIR = @MISC_MAN_DIR@ -MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@ -PCIACCESS_LIBS = @PCIACCESS_LIBS@ -PCIIDS_PATH = @PCIIDS_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRICT_CFLAGS = @STRICT_CFLAGS@ -STRIP = @STRIP@ -VERSION = @VERSION@ -XORG_MAN_PAGE = @XORG_MAN_PAGE@ -ZLIB_CFLAGS = @ZLIB_CFLAGS@ -ZLIB_LIBS = @ZLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -LDADD = $(top_builddir)/src/libpciaccess.la -scanpci_SOURCES = scanpci.c -EXTRA_DIST = meson.build -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign scanpci/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign scanpci/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -scanpci$(EXEEXT): $(scanpci_OBJECTS) $(scanpci_DEPENDENCIES) $(EXTRA_scanpci_DEPENDENCIES) - @rm -f scanpci$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(scanpci_OBJECTS) $(scanpci_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanpci.Po@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -cscopelist: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstPROGRAMS cscopelist ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/lib/libpciaccess/src/Doxyfile b/lib/libpciaccess/src/Doxyfile index 87a41231..10915c3f 100644 --- a/lib/libpciaccess/src/Doxyfile +++ b/lib/libpciaccess/src/Doxyfile @@ -14,6 +14,1234 @@ # Project related configuration options #--------------------------------------------------------------------------- +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = libpciaccess + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, +# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, +# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, +# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, +# Swedish, and Ukrainian. + +OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explicit @brief command for a brief description. + +JAVADOC_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + +DETAILS_AT_TOP = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = YES + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources +# only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# If the sources in your project are distributed over multiple directories +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy +# in the documentation. The default is YES. + +SHOW_DIRECTORIES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from the +# version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be abled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx +# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm + +FILE_PATTERNS = + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or +# directories that are symbolic links (a Unix filesystem feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# is applied to all files. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = YES + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_PREDEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse +# the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option is superseded by the HAVE_DOT option below. This is only a +# fallback. It is recommended to install and use dot, since it yields more +# powerful graphs. + +CLASS_DIAGRAMS = YES + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 1024 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that a graph may be further truncated if the graph's +# image dimensions are not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH +# and MAX_DOT_GRAPH_HEIGHT). If 0 is used for the depth value (the default), +# the graph is not depth-constrained. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, which results in a white background. +# Warning: Depending on the platform used, enabling this option may lead to +# badly anti-aliased labels on the edges of a graph (i.e. they become hard to +# read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = NO +# Doxyfile 1.4.4 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. diff --git a/lib/libpciaccess/src/Makefile.am b/lib/libpciaccess/src/Makefile.am deleted file mode 100644 index e696408d..00000000 --- a/lib/libpciaccess/src/Makefile.am +++ /dev/null @@ -1,80 +0,0 @@ -# -# (C) Copyright IBM Corporation 2006 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -AM_CPPFLAGS = -I$(top_srcdir)/include -AM_CFLAGS = $(CWARNFLAGS) @PCIACCESS_CFLAGS@ - -lib_LTLIBRARIES = libpciaccess.la - -if LINUX -OS_SUPPORT = linux_sysfs.c linux_devmem.c linux_devmem.h -VGA_ARBITER = common_vgaarb.c -endif - -if FREEBSD -OS_SUPPORT = freebsd_pci.c -VGA_ARBITER = common_vgaarb_stub.c -endif - -if NETBSD -OS_SUPPORT = netbsd_pci.c -VGA_ARBITER = common_vgaarb_stub.c -endif - -if OPENBSD -OS_SUPPORT = openbsd_pci.c -# VGA Arbiter code is included in openbsd_pci.c -endif - -if SOLARIS -OS_SUPPORT = solx_devfs.c pci_tools.h -VGA_ARBITER = common_vgaarb_stub.c -endif - -if GNU -OS_SUPPORT = hurd_pci.c x86_pci.c x86_pci.h -VGA_ARBITER = common_vgaarb_stub.c -endif - -if CYGWIN -OS_SUPPORT = x86_pci.c x86_pci.h -VGA_ARBITER = common_vgaarb_stub.c -endif - -libpciaccess_la_SOURCES = common_bridge.c \ - common_iterator.c \ - common_init.c \ - common_interface.c \ - common_io.c \ - common_capability.c \ - common_device_name.c \ - common_map.c \ - pciaccess_private.h \ - $(VGA_ARBITER) \ - $(OS_SUPPORT) - -libpciaccess_la_LIBADD = $(PCIACCESS_LIBS) - -libpciaccess_la_LDFLAGS = -version-number 0:11:1 -no-undefined - -EXTRA_DIST = meson.build \ No newline at end of file diff --git a/lib/libpciaccess/src/Makefile.in b/lib/libpciaccess/src/Makefile.in deleted file mode 100644 index a09cc09c..00000000 --- a/lib/libpciaccess/src/Makefile.in +++ /dev/null @@ -1,722 +0,0 @@ -# Makefile.in generated by automake 1.12.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2012 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# -# (C) Copyright IBM Corporation 2006 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -VPATH = @srcdir@ -am__make_dryrun = \ - { \ - am__dry=no; \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ - *) \ - for am__flg in $$MAKEFLAGS; do \ - case $$am__flg in \ - *=*|--*) ;; \ - *n*) am__dry=yes; break;; \ - esac; \ - done;; \ - esac; \ - test $$am__dry = yes; \ - } -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = src -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/depcomp -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \ - $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ - $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ - $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -am__installdirs = "$(DESTDIR)$(libdir)" -LTLIBRARIES = $(lib_LTLIBRARIES) -am__DEPENDENCIES_1 = -libpciaccess_la_DEPENDENCIES = $(am__DEPENDENCIES_1) -am__libpciaccess_la_SOURCES_DIST = common_bridge.c common_iterator.c \ - common_init.c common_interface.c common_io.c \ - common_capability.c common_device_name.c common_map.c \ - pciaccess_private.h common_vgaarb_stub.c common_vgaarb.c \ - x86_pci.c x86_pci.h freebsd_pci.c hurd_pci.c linux_sysfs.c \ - linux_devmem.c linux_devmem.h netbsd_pci.c openbsd_pci.c \ - solx_devfs.c pci_tools.h -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_FALSE@@NETBSD_FALSE@@SOLARIS_TRUE@am__objects_1 = common_vgaarb_stub.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_FALSE@@NETBSD_TRUE@am__objects_1 = common_vgaarb_stub.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_TRUE@am__objects_1 = common_vgaarb.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_TRUE@am__objects_1 = \ -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_TRUE@ common_vgaarb_stub.lo -@CYGWIN_FALSE@@FREEBSD_TRUE@am__objects_1 = common_vgaarb_stub.lo -@CYGWIN_TRUE@am__objects_1 = common_vgaarb_stub.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_FALSE@@NETBSD_FALSE@@OPENBSD_FALSE@@SOLARIS_TRUE@am__objects_2 = solx_devfs.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_FALSE@@NETBSD_FALSE@@OPENBSD_TRUE@am__objects_2 = openbsd_pci.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_FALSE@@NETBSD_TRUE@am__objects_2 = netbsd_pci.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_TRUE@am__objects_2 = linux_sysfs.lo \ -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_FALSE@@LINUX_TRUE@ linux_devmem.lo -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_TRUE@am__objects_2 = hurd_pci.lo \ -@CYGWIN_FALSE@@FREEBSD_FALSE@@GNU_TRUE@ x86_pci.lo -@CYGWIN_FALSE@@FREEBSD_TRUE@am__objects_2 = freebsd_pci.lo -@CYGWIN_TRUE@am__objects_2 = x86_pci.lo -am_libpciaccess_la_OBJECTS = common_bridge.lo common_iterator.lo \ - common_init.lo common_interface.lo common_io.lo \ - common_capability.lo common_device_name.lo common_map.lo \ - $(am__objects_1) $(am__objects_2) -libpciaccess_la_OBJECTS = $(am_libpciaccess_la_OBJECTS) -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -libpciaccess_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(libpciaccess_la_LDFLAGS) $(LDFLAGS) \ - -o $@ -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -SOURCES = $(libpciaccess_la_SOURCES) -DIST_SOURCES = $(am__libpciaccess_la_SOURCES_DIST) -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ -ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -APP_MAN_DIR = @APP_MAN_DIR@ -APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BASE_CFLAGS = @BASE_CFLAGS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CWARNFLAGS = @CWARNFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ -DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FILE_MAN_DIR = @FILE_MAN_DIR@ -FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_CMD = @INSTALL_CMD@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIB_MAN_DIR = @LIB_MAN_DIR@ -LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MAN_SUBSTS = @MAN_SUBSTS@ -MISC_MAN_DIR = @MISC_MAN_DIR@ -MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@ -PCIACCESS_LIBS = @PCIACCESS_LIBS@ -PCIIDS_PATH = @PCIIDS_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRICT_CFLAGS = @STRICT_CFLAGS@ -STRIP = @STRIP@ -VERSION = @VERSION@ -XORG_MAN_PAGE = @XORG_MAN_PAGE@ -ZLIB_CFLAGS = @ZLIB_CFLAGS@ -ZLIB_LIBS = @ZLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -AM_CPPFLAGS = -I$(top_srcdir)/include -AM_CFLAGS = $(CWARNFLAGS) @PCIACCESS_CFLAGS@ -lib_LTLIBRARIES = libpciaccess.la -@CYGWIN_TRUE@OS_SUPPORT = x86_pci.c x86_pci.h -@FREEBSD_TRUE@OS_SUPPORT = freebsd_pci.c -@GNU_TRUE@OS_SUPPORT = hurd_pci.c x86_pci.c x86_pci.h -@LINUX_TRUE@OS_SUPPORT = linux_sysfs.c linux_devmem.c linux_devmem.h -@NETBSD_TRUE@OS_SUPPORT = netbsd_pci.c -@OPENBSD_TRUE@OS_SUPPORT = openbsd_pci.c -# VGA Arbiter code is included in openbsd_pci.c -@SOLARIS_TRUE@OS_SUPPORT = solx_devfs.c pci_tools.h -@CYGWIN_TRUE@VGA_ARBITER = common_vgaarb_stub.c -@FREEBSD_TRUE@VGA_ARBITER = common_vgaarb_stub.c -@GNU_TRUE@VGA_ARBITER = common_vgaarb_stub.c -@LINUX_TRUE@VGA_ARBITER = common_vgaarb.c -@NETBSD_TRUE@VGA_ARBITER = common_vgaarb_stub.c -@SOLARIS_TRUE@VGA_ARBITER = common_vgaarb_stub.c -libpciaccess_la_SOURCES = common_bridge.c \ - common_iterator.c \ - common_init.c \ - common_interface.c \ - common_io.c \ - common_capability.c \ - common_device_name.c \ - common_map.c \ - pciaccess_private.h \ - $(VGA_ARBITER) \ - $(OS_SUPPORT) - -libpciaccess_la_LIBADD = $(PCIACCESS_LIBS) -libpciaccess_la_LDFLAGS = -version-number 0:11:1 -no-undefined -EXTRA_DIST = meson.build -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } -libpciaccess.la: $(libpciaccess_la_OBJECTS) $(libpciaccess_la_DEPENDENCIES) $(EXTRA_libpciaccess_la_DEPENDENCIES) - $(AM_V_CCLD)$(libpciaccess_la_LINK) -rpath $(libdir) $(libpciaccess_la_OBJECTS) $(libpciaccess_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_bridge.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_capability.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_device_name.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_init.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_interface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_io.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_iterator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_map.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_vgaarb.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common_vgaarb_stub.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/freebsd_pci.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hurd_pci.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linux_devmem.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linux_sysfs.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netbsd_pci.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openbsd_pci.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/solx_devfs.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_pci.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -cscopelist: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) -installdirs: - for dir in "$(DESTDIR)$(libdir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool cscopelist ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am \ - install-libLTLIBRARIES install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-libLTLIBRARIES - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/lib/libpciaccess/src/common_device_name.c b/lib/libpciaccess/src/common_device_name.c index 3dd35d7e..912fc513 100644 --- a/lib/libpciaccess/src/common_device_name.c +++ b/lib/libpciaccess/src/common_device_name.c @@ -80,12 +80,13 @@ typedef FILE * pci_id_file; static pci_id_file pci_id_file_open(void) { -#ifndef __sun pci_id_file result; result = fopen(PCIIDS_PATH "/pci.ids", "re"); if (result) return result; +#ifdef __FreeBSD__ + return fopen("/usr/share/misc/pci_vendors", "re"); #endif return fopen(PCIIDS_PATH "/pci.ids", "r"); diff --git a/lib/libpciaccess/src/common_init.c b/lib/libpciaccess/src/common_init.c index 1940cffb..132dc9c3 100644 --- a/lib/libpciaccess/src/common_init.c +++ b/lib/libpciaccess/src/common_init.c @@ -61,7 +61,7 @@ pci_system_init( void ) err = pci_system_freebsd_create(); #elif defined(__NetBSD__) err = pci_system_netbsd_create(); -#elif defined(__OpenBSD__) +#elif defined(__OpenBSD__) || defined(__SecBSD__) err = pci_system_openbsd_create(); #elif defined(__sun) err = pci_system_solx_devfs_create(); @@ -79,9 +79,7 @@ pci_system_init( void ) void pci_system_init_dev_mem(int fd) { -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) - pci_system_freebsd_init_dev_mem(fd); -#elif defined(__OpenBSD__) +#if defined(__OpenBSD__) || defined(__SecBSD__) pci_system_openbsd_init_dev_mem(fd); #endif } diff --git a/lib/libpciaccess/src/freebsd_pci.c b/lib/libpciaccess/src/freebsd_pci.c index 709bfb65..f7aed434 100644 --- a/lib/libpciaccess/src/freebsd_pci.c +++ b/lib/libpciaccess/src/freebsd_pci.c @@ -82,10 +82,6 @@ #define PCIM_BAR_MEM_SPACE 0 #define PCIM_BAR_IO_SPACE 1 -#if defined(__sparc64__) -static int screenfd; -#endif - /** * FreeBSD private pci_system structure that extends the base pci_system * structure. @@ -117,18 +113,12 @@ pci_device_freebsd_map_range( struct pci_device *dev, { const int prot = ((map->flags & PCI_DEV_MAP_FLAG_WRITABLE) != 0) ? (PROT_READ | PROT_WRITE) : PROT_READ; -#if !defined(__sparc64__) struct mem_range_desc mrd; struct mem_range_op mro; -#endif int fd, err = 0; -#if defined(__sparc64__) - fd = screenfd; -#else fd = open("/dev/mem", O_RDWR | O_CLOEXEC); -#endif if (fd == -1) return errno; @@ -138,7 +128,6 @@ pci_device_freebsd_map_range( struct pci_device *dev, err = errno; } -#if !defined(__sparc64__) mrd.mr_base = map->base; mrd.mr_len = map->size; strncpy(mrd.mr_owner, "pciaccess", sizeof(mrd.mr_owner)); @@ -159,7 +148,6 @@ pci_device_freebsd_map_range( struct pci_device *dev, } close(fd); -#endif return err; } @@ -168,7 +156,6 @@ static int pci_device_freebsd_unmap_range( struct pci_device *dev, struct pci_device_mapping *map ) { -#if !defined(__sparc64__) struct mem_range_desc mrd; struct mem_range_op mro; int fd; @@ -194,7 +181,6 @@ pci_device_freebsd_unmap_range( struct pci_device *dev, fprintf(stderr, "Failed to open /dev/mem\n"); } } -#endif return pci_device_generic_unmap_range(dev, map); } @@ -313,11 +299,7 @@ pci_device_freebsd_read_rom( struct pci_device * dev, void * buffer ) } printf("Using rom_base = 0x%lx\n", (long)rom_base); -#if defined(__sparc64__) - memfd = screenfd; -#else memfd = open( "/dev/mem", O_RDONLY | O_CLOEXEC ); -#endif if ( memfd == -1 ) return errno; @@ -330,9 +312,7 @@ pci_device_freebsd_read_rom( struct pci_device * dev, void * buffer ) memcpy( buffer, bios, dev->rom_size ); munmap( bios, dev->rom_size ); -#if !defined(__sparc64__) close( memfd ); -#endif if (pci_rom) { pci_device_cfg_write_u32( dev, PCIR_BIOS, rom ); @@ -444,16 +424,9 @@ pci_device_freebsd_open_legacy_io( struct pci_io_handle *ret, struct pci_device *dev, pciaddr_t base, pciaddr_t size ) { -#if defined(__sparc64__) - ret->memory = mmap( NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, - screenfd, base ); - if ( ret->memory == MAP_FAILED ) - return NULL; -#else ret->fd = open( "/dev/io", O_RDWR | O_CLOEXEC ); if ( ret->fd < 0 ) return NULL; -#endif ret->base = base; ret->size = size; ret->is_legacy = 1; @@ -475,18 +448,14 @@ static void pci_device_freebsd_close_io( struct pci_device *dev, struct pci_io_handle *handle ) { -#if !defined(__sparc64__) if ( handle->fd > -1 ) close( handle->fd ); -#endif } static uint32_t pci_device_freebsd_read32( struct pci_io_handle *handle, uint32_t reg ) { -#if defined(__sparc64__) - return *(uint32_t *)((uintptr_t)handle->memory + reg); -#elif defined(__i386__) || defined(__amd64__) +#if defined(__i386__) || defined(__amd64__) return inl( handle->base + reg ); #else struct iodev_pio_req req = { IODEV_PIO_READ, handle->base + reg, 4, 0 }; @@ -499,9 +468,7 @@ pci_device_freebsd_read32( struct pci_io_handle *handle, uint32_t reg ) static uint16_t pci_device_freebsd_read16( struct pci_io_handle *handle, uint32_t reg ) { -#if defined(__sparc64__) - return *(uint16_t *)((uintptr_t)handle->memory + reg); -#elif defined(__i386__) || defined(__amd64__) +#if defined(__i386__) || defined(__amd64__) return inw( handle->base + reg ); #else struct iodev_pio_req req = { IODEV_PIO_READ, handle->base + reg, 2, 0 }; @@ -514,9 +481,7 @@ pci_device_freebsd_read16( struct pci_io_handle *handle, uint32_t reg ) static uint8_t pci_device_freebsd_read8( struct pci_io_handle *handle, uint32_t reg ) { -#if defined(__sparc64__) - return *(uint8_t *)((uintptr_t)handle->memory + reg); -#elif defined(__i386__) || defined(__amd64__) +#if defined(__i386__) || defined(__amd64__) return inb( handle->base + reg ); #else struct iodev_pio_req req = { IODEV_PIO_READ, handle->base + reg, 1, 0 }; @@ -530,9 +495,7 @@ static void pci_device_freebsd_write32( struct pci_io_handle *handle, uint32_t reg, uint32_t data ) { -#if defined(__sparc64__) - *(uint32_t *)((uintptr_t)handle->memory + reg) = data; -#elif defined(__i386__) || defined(__amd64__) +#if defined(__i386__) || defined(__amd64__) outl( handle->base + reg, data ); #else struct iodev_pio_req req = { IODEV_PIO_WRITE, handle->base + reg, 4, data }; @@ -545,9 +508,7 @@ static void pci_device_freebsd_write16( struct pci_io_handle *handle, uint32_t reg, uint16_t data ) { -#if defined(__sparc64__) - *(uint16_t *)((uintptr_t)handle->memory + reg) = data; -#elif defined(__i386__) || defined(__amd64__) +#if defined(__i386__) || defined(__amd64__) outw( handle->base + reg, data ); #else struct iodev_pio_req req = { IODEV_PIO_WRITE, handle->base + reg, 2, data }; @@ -560,9 +521,7 @@ static void pci_device_freebsd_write8( struct pci_io_handle *handle, uint32_t reg, uint8_t data ) { -#if defined(__sparc64__) - *(uint8_t *)((uintptr_t)handle->memory + reg) = data; -#elif defined(__i386__) || defined(__amd64__) +#if defined(__i386__) || defined(__amd64__) outb( handle->base + reg, data ); #else struct iodev_pio_req req = { IODEV_PIO_WRITE, handle->base + reg, 1, data }; @@ -699,11 +658,3 @@ pci_system_freebsd_create( void ) return 0; } - -void -pci_system_freebsd_init_dev_mem(int fd) -{ -#if defined(__sparc64__) - screenfd = fd; -#endif -} diff --git a/lib/libpciaccess/src/hurd_pci.c b/lib/libpciaccess/src/hurd_pci.c index 8653e1b5..9ac38137 100644 --- a/lib/libpciaccess/src/hurd_pci.c +++ b/lib/libpciaccess/src/hurd_pci.c @@ -82,7 +82,7 @@ pci_device_hurd_probe(struct pci_device *dev) struct pci_bar regions[6]; struct pci_xrom_bar rom; struct pci_device_private *d; - size_t size; + mach_msg_type_number_t size; char *buf; /* Many of the fields were filled in during initial device enumeration. @@ -323,7 +323,7 @@ pciclient_cfg_read(mach_port_t device_port, int reg, char *buf, size_t * nbytes) { int err; - size_t nread; + mach_msg_type_number_t nread; char *data; data = buf; @@ -473,7 +473,7 @@ simple_readdir(mach_port_t port, uint32_t *first_entry) { char *data; int nentries = 0; - vm_size_t size; + mach_msg_type_number_t size; dir_readdir (port, &data, &size, *first_entry, 1, 0, &nentries); diff --git a/lib/libpciaccess/src/linux_sysfs.c b/lib/libpciaccess/src/linux_sysfs.c index d62f48c3..20c800e5 100644 --- a/lib/libpciaccess/src/linux_sysfs.c +++ b/lib/libpciaccess/src/linux_sysfs.c @@ -462,7 +462,7 @@ pci_device_linux_sysfs_read( struct pci_device * dev, void * data, while ( temp_size > 0 ) { - const ssize_t bytes = pread64( fd, data_bytes, temp_size, offset ); + const ssize_t bytes = pread( fd, data_bytes, temp_size, offset ); /* If zero bytes were read, then we assume it's the end of the * config file. @@ -522,7 +522,7 @@ pci_device_linux_sysfs_write( struct pci_device * dev, const void * data, while ( temp_size > 0 ) { - const ssize_t bytes = pwrite64( fd, data_bytes, temp_size, offset ); + const ssize_t bytes = pwrite( fd, data_bytes, temp_size, offset ); /* If zero bytes were written, then we assume it's the end of the * config file. diff --git a/lib/libpciaccess/src/meson.build b/lib/libpciaccess/src/meson.build index 71a77001..e2484852 100644 --- a/lib/libpciaccess/src/meson.build +++ b/lib/libpciaccess/src/meson.build @@ -40,7 +40,7 @@ endif inc_src = include_directories('.') -libpciaccess = shared_library( +libpciaccess = library( 'pciaccess', [ 'common_bridge.c', diff --git a/lib/libpciaccess/src/pci_tools.h b/lib/libpciaccess/src/pci_tools.h index 47b121fd..ad42d66c 100644 --- a/lib/libpciaccess/src/pci_tools.h +++ b/lib/libpciaccess/src/pci_tools.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, Oracle and/or its affiliates. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/lib/libpciaccess/src/pciaccess_private.h b/lib/libpciaccess/src/pciaccess_private.h index be5d15d5..078b7be5 100644 --- a/lib/libpciaccess/src/pciaccess_private.h +++ b/lib/libpciaccess/src/pciaccess_private.h @@ -192,7 +192,6 @@ extern struct pci_system * pci_sys; extern int pci_system_linux_sysfs_create( void ); extern int pci_system_freebsd_create( void ); -extern void pci_system_freebsd_init_dev_mem( int ); extern int pci_system_netbsd_create( void ); extern int pci_system_openbsd_create( void ); extern void pci_system_openbsd_init_dev_mem( int );