summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-11-24 12:47:38 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-11-24 12:57:32 +0100
commitee40b20e7aff5dc9d11230e991355c338a64da00 (patch)
tree14f8d9a230dc58f1a63d0a7e21fe3818a21a9f11 /src/gallium/state_trackers/xorg/Makefile
parent1a19b9dbc268973a725a43f4764a2189a705bb88 (diff)
st/xorg: Add libkms integration
Diffstat (limited to 'src/gallium/state_trackers/xorg/Makefile')
-rw-r--r--src/gallium/state_trackers/xorg/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/Makefile b/src/gallium/state_trackers/xorg/Makefile
index 22c107370e..cb2c3aea41 100644
--- a/src/gallium/state_trackers/xorg/Makefile
+++ b/src/gallium/state_trackers/xorg/Makefile
@@ -7,6 +7,9 @@ LIBRARY_INCLUDES = \
-DHAVE_CONFIG_H \
$(shell pkg-config xextproto --atleast-version=7.0.99.1 \
&& echo "-DHAVE_XEXTPROTO_71") \
+ $(shell pkg-config libkms --atleast-version=1.0 \
+ && echo "-DHAVE_LIBKMS") \
+ $(shell pkg-config libkms --silence-errors --cflags-only-I) \
$(shell pkg-config --cflags-only-I pixman-1 xorg-server libdrm xproto) \
-I$(TOP)/src/gallium/include \
-I$(TOP)/src/gallium/auxiliary \