From 885111518eeb60664b2ac708512dc8b599060280 Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Thu, 5 Apr 2007 18:59:42 +0300 Subject: [PATCH] Move glcontextmodes.c to glx. It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface. --- src/glx/mini/Makefile | 7 ++----- src/glx/x11/Makefile | 4 ---- src/{mesa/drivers/dri/common => glx/x11}/glcontextmodes.c | 0 src/{mesa/drivers/dri/common => glx/x11}/glcontextmodes.h | 0 4 files changed, 2 insertions(+), 9 deletions(-) rename src/{mesa/drivers/dri/common => glx/x11}/glcontextmodes.c (100%) rename src/{mesa/drivers/dri/common => glx/x11}/glcontextmodes.h (100%) diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile index 217b8a76ec5..72943105c25 100644 --- a/src/glx/mini/Makefile +++ b/src/glx/mini/Makefile @@ -11,7 +11,7 @@ C_SOURCES = \ $(TOP)/src/mesa/main/dispatch.c \ $(TOP)/src/mesa/glapi/glapi.c \ $(TOP)/src/mesa/glapi/glthread.c \ - $(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c \ + $(TOP)/src/glx/x11/glcontextmodes.c \ miniglx.c \ miniglx_events.c @@ -27,10 +27,7 @@ INCLUDE_DIRS = \ -I$(TOP)/src/mesa \ -I$(TOP)/src/mesa/main \ -I$(TOP)/src/mesa/glapi \ - -I$(TOP)/src/mesa/math \ - -I$(TOP)/src/mesa/transform \ - -I$(TOP)/src/mesa/swrast \ - -I$(TOP)/src/mesa/swrast_setup \ + -I$(TOP)/src/glx/x11 \ -I$(TOP)/src/mesa/drivers/dri/common \ `pkg-config --cflags libdrm` diff --git a/src/glx/x11/Makefile b/src/glx/x11/Makefile index c509d4e0851..fd83c6fc94d 100644 --- a/src/glx/x11/Makefile +++ b/src/glx/x11/Makefile @@ -46,7 +46,6 @@ INCLUDES = -I. \ -I$(TOP)/include/GL/internal \ -I$(TOP)/src/mesa/main \ -I$(TOP)/src/mesa/glapi \ - -I$(TOP)/src/mesa/drivers/dri/common \ $(LIBDRM_CFLAGS) \ $(X11_INCLUDES) @@ -63,9 +62,6 @@ INCLUDES = -I. \ default: depend $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) -glcontextmodes.c: - ln -s $(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c . - # Make libGL $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' \ diff --git a/src/mesa/drivers/dri/common/glcontextmodes.c b/src/glx/x11/glcontextmodes.c similarity index 100% rename from src/mesa/drivers/dri/common/glcontextmodes.c rename to src/glx/x11/glcontextmodes.c diff --git a/src/mesa/drivers/dri/common/glcontextmodes.h b/src/glx/x11/glcontextmodes.h similarity index 100% rename from src/mesa/drivers/dri/common/glcontextmodes.h rename to src/glx/x11/glcontextmodes.h -- 2.30.2