# Makefile for The PCI Utilities
-# (c) 1998--2013 Martin Mares <mj@ucw.cz>
+# (c) 1998--2017 Martin Mares <mj@ucw.cz>
OPT=-O2
CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
-VERSION=3.2.1
-DATE=2013-11-10
+VERSION=3.5.4
+DATE=2017-02-25
# Host OS and release (override if you are cross-compiling)
HOST=
# Use libkmod to resolve kernel modules on Linux (yes/no, default: detect)
LIBKMOD=
+# Use libudev to resolve device names using hwdb on Linux (yes/no, default: detect)
+HWDB=
+
# ABI version suffix in the name of the shared library
# (as we use proper symbol versioning, this seldom needs changing)
ABI_VERSION=.3
lib/config.h lib/config.mk:
cd lib && ./configure
-lspci: lspci.o ls-vpd.o ls-caps.o ls-ecaps.o ls-kernel.o ls-tree.o ls-map.o common.o lib/$(PCILIB)
+lspci: lspci.o ls-vpd.o ls-caps.o ls-caps-vendor.o ls-ecaps.o ls-kernel.o ls-tree.o ls-map.o common.o lib/$(PCILIB)
setpci: setpci.o common.o lib/$(PCILIB)
LSPCIINC=lspci.h pciutils.h $(PCIINC)