Commit b2bff334 authored by Zhenyu Wang's avatar Zhenyu Wang Committed by Zhigang Gong
Browse files

glamor: Require libdrm CFLAGS for building

Need to depend on libdrm CFLAGS for glamor building.
parent 41b13fbd
......@@ -17,7 +17,7 @@ endif
INCLUDES = \
$(XORG_INCS)
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) $(GLAMOR_GLES2_CFLAGS)
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) $(GLAMOR_GLES2_CFLAGS) $(LIBDRM_CFLAGS)
libglamor_la_SOURCES = \
glamor.c \
......
glamor_la_LTLIBRARIES = glamor.la
glamor_la_CFLAGS = \
-DHAVE_XORG_CONFIG_H \
@DIX_CFLAGS@ @XORG_CFLAGS@ \
@DIX_CFLAGS@ @XORG_CFLAGS@ @LIBDRM_CFLAGS@ \
-I$(top_srcdir)/hw/xfree86/common \
-I$(top_srcdir)/hw/xfree86/os-support/bus \
-I$(top_srcdir)/hw/xfree86/parser \
......@@ -9,8 +9,7 @@ glamor_la_CFLAGS = \
-I$(top_srcdir)/hw/xfree86/ddc \
-I$(top_srcdir)/hw/xfree86/ramdac \
-I$(top_srcdir)/hw/xfree86/i2c \
-I$(top_srcdir)/glamor \
-I/usr/include/drm
-I$(top_srcdir)/glamor
if GLAMOR_GLES2
glamor_la_CFLAGS+=-DGLAMOR_GLES2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment