egl: Temporarily disable eglx.[c|h] building
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Wed, 28 May 2008 09:40:41 +0000 (11:40 +0200)
committerJakob Bornecrantz <jakob@heavy.lan>
Wed, 28 May 2008 09:55:26 +0000 (10:55 +0100)
src/egl/main/Makefile
src/egl/main/egldriver.c

index 4fb0344e63f0581a19e67a79258c9f701b232450..5f3d65f72a80c10e247c0f11acbce97c08030735 100644 (file)
@@ -18,7 +18,7 @@ HEADERS = \
        eglmode.h \
        eglscreen.h \
        eglsurface.h \
-       eglx.h
+#      eglx.h
 
 SOURCES = \
        eglapi.c \
@@ -33,12 +33,13 @@ SOURCES = \
        eglmode.c \
        eglscreen.c \
        eglsurface.c \
-       eglx.c
+#      eglx.c
 
 OBJECTS = $(SOURCES:.c=.o)
 
 
-LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1
+# Undefined for now
+#LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1
 
 
 .c.o:
index 50c466c2582a7a8eb4f393c96b1c3553e7e9b268..cbdd47948dbe1f203f604dfce6bad3980379a34c 100644 (file)
 #include "eglmode.h"
 #include "eglscreen.h"
 #include "eglsurface.h"
-#include "eglx.h"
 
+#if defined(_EGL_PLATFORM_X)
+#include "eglx.h"
+#elif defined(_EGL_PLATFORM_WINDOWS)
+/* XXX to do */
+#elif defined(_EGL_PLATFORM_WINCE)
+/* XXX to do */
+#endif
 
 const char *DefaultDriverName = "demodriver";