summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorfrank <frank.min@amd.com>2015-05-19 23:31:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-05-26 12:34:38 -0400
commitfde4969176822fe54197b6baa78f8b0ef900baba (patch)
treeeb871767cb97b444fb88556913534dabac03d42e /Makefile.am
parentbb0b97e673c89547f5a8ebe47c6e2268f8bfb85d (diff)
downloadlibdrm-fde4969176822fe54197b6baa78f8b0ef900baba.tar.gz
libdrm-fde4969176822fe54197b6baa78f8b0ef900baba.tar.bz2
libdrm-fde4969176822fe54197b6baa78f8b0ef900baba.zip
Add device enumeration interface (v4)
Add an interface for enumerating PCI devices on a system. v3: switch to udev/sysfs for the enumeration v4: fix warnings Signed-off-by: Frank Min <frank.min@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 13df80c5..ffd334ad 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -95,12 +95,15 @@ SUBDIRS = \
libdrm_la_LTLIBRARIES = libdrm.la
libdrm_ladir = $(libdir)
libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
-libdrm_la_LIBADD = @CLOCK_LIB@
+libdrm_la_LIBADD = \
+ @CLOCK_LIB@ \
+ @LIBUDEV_LIBS@
libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
AM_CFLAGS = \
$(WARN_CFLAGS) \
- $(VALGRIND_CFLAGS)
+ $(VALGRIND_CFLAGS) \
+ $(LIBUDEV_CFLAGS)
libdrm_la_SOURCES = $(LIBDRM_FILES)