aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrank2015-05-19 10:31:05 -0500
committerAlex Deucher2015-05-26 11:34:38 -0500
commitfde4969176822fe54197b6baa78f8b0ef900baba (patch)
treeeb871767cb97b444fb88556913534dabac03d42e /Makefile.am
parentbb0b97e673c89547f5a8ebe47c6e2268f8bfb85d (diff)
downloadexternal-libdrm-fde4969176822fe54197b6baa78f8b0ef900baba.tar.gz
external-libdrm-fde4969176822fe54197b6baa78f8b0ef900baba.tar.xz
external-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 = \
95libdrm_la_LTLIBRARIES = libdrm.la 95libdrm_la_LTLIBRARIES = libdrm.la
96libdrm_ladir = $(libdir) 96libdrm_ladir = $(libdir)
97libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined 97libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
98libdrm_la_LIBADD = @CLOCK_LIB@ 98libdrm_la_LIBADD = \
99 @CLOCK_LIB@ \
100 @LIBUDEV_LIBS@
99 101
100libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm 102libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
101AM_CFLAGS = \ 103AM_CFLAGS = \
102 $(WARN_CFLAGS) \ 104 $(WARN_CFLAGS) \
103 $(VALGRIND_CFLAGS) 105 $(VALGRIND_CFLAGS) \
106 $(LIBUDEV_CFLAGS)
104 107
105libdrm_la_SOURCES = $(LIBDRM_FILES) 108libdrm_la_SOURCES = $(LIBDRM_FILES)
106 109