Mesa (master): targets/egl: Give egl targets a good build enviroment

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Sat May 29 11:20:17 UTC 2010


Module: Mesa
Branch: master
Commit: bbaaf823fa98c5c978aa10d61000485c10275f5a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbaaf823fa98c5c978aa10d61000485c10275f5a

Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Sat May 29 11:39:52 2010 +0200

targets/egl: Give egl targets a good build enviroment

---

 src/gallium/targets/Makefile.egl |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/gallium/targets/Makefile.egl b/src/gallium/targets/Makefile.egl
index 4f8641e..4fa13e8 100644
--- a/src/gallium/targets/Makefile.egl
+++ b/src/gallium/targets/Makefile.egl
@@ -33,10 +33,20 @@ endif
 kms_ST = $(TOP)/src/gallium/state_trackers/egl/libeglkms.a
 kms_LIBS = $(common_LIBS)
 
+### Include directories
+INCLUDES = \
+	-I$(TOP)/include \
+	-I$(TOP)/src/gallium/include \
+	-I$(TOP)/src/gallium/auxiliary \
+	-I$(TOP)/src/gallium/drivers \
+	-I$(TOP)/src/gallium/winsys \
+	-I$(TOP)/src/egl/main \
+	$(LIBDRM_CFLAGS)
+
 ##### RULES #####
 
 .c.o:
-	$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
+	$(CC) -c $(INCLUDES) $(CFLAGS) $(EGL_DRIVER_DEFINES) $< -o $@
 
 
 ##### TARGETS #####




More information about the mesa-commit mailing list