From: José Fonseca Date: Tue, 22 Jan 2013 18:35:13 +0000 (+0000) Subject: nouveau/build: Fix build failures when drm is not in /usr/include. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de0057caa66207c5eb94bd251ab357309f78b60c;p=mesa.git nouveau/build: Fix build failures when drm is not in /usr/include. Fixes failures to include libdrm/nouveau.h when drm is not installed in /usr/include. Reviewed-by: Matt Turner --- diff --git a/src/gallium/drivers/nv30/Makefile.am b/src/gallium/drivers/nv30/Makefile.am index 668a8b2fa7c..e7d19839bfc 100644 --- a/src/gallium/drivers/nv30/Makefile.am +++ b/src/gallium/drivers/nv30/Makefile.am @@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libnv30.la AM_CPPFLAGS = \ -I$(top_srcdir)/src/gallium/drivers \ -I$(top_srcdir)/include \ - $(GALLIUM_CFLAGS) + $(GALLIUM_CFLAGS) \ + $(NOUVEAU_CFLAGS) libnv30_la_SOURCES = $(C_SOURCES) diff --git a/src/gallium/drivers/nv50/Makefile.am b/src/gallium/drivers/nv50/Makefile.am index 93eeb1f6a20..58c26efa957 100644 --- a/src/gallium/drivers/nv50/Makefile.am +++ b/src/gallium/drivers/nv50/Makefile.am @@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libnv50.la AM_CPPFLAGS = \ -I$(top_srcdir)/src/gallium/drivers \ -I$(top_srcdir)/include \ - $(GALLIUM_CFLAGS) + $(GALLIUM_CFLAGS) \ + $(NOUVEAU_CFLAGS) libnv50_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES) diff --git a/src/gallium/drivers/nvc0/Makefile.am b/src/gallium/drivers/nvc0/Makefile.am index 6a245afcb6b..45e5a63d369 100644 --- a/src/gallium/drivers/nvc0/Makefile.am +++ b/src/gallium/drivers/nvc0/Makefile.am @@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libnvc0.la AM_CPPFLAGS = \ -I$(top_srcdir)/src/gallium/drivers \ -I$(top_srcdir)/include \ - $(GALLIUM_CFLAGS) + $(GALLIUM_CFLAGS) \ + $(NOUVEAU_CFLAGS) libnvc0_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)