aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-03 08:06:38 +0000
committermarha <marha@users.sourceforge.net>2011-02-03 08:06:38 +0000
commit97f3d3043a79d6031787c246a67d2a02ff0a8d08 (patch)
treed5e02f8c64d7d7ac219aa18b73f147efee5e007f /xorg-server
parentbb0b8a5bed072a5203baf3ea963106c50ec2287e (diff)
downloadvcxsrv-97f3d3043a79d6031787c246a67d2a02ff0a8d08.tar.gz
vcxsrv-97f3d3043a79d6031787c246a67d2a02ff0a8d08.tar.bz2
vcxsrv-97f3d3043a79d6031787c246a67d2a02ff0a8d08.zip
Solved needles rebuilds when switching between debug and release builds
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/hw/xwin/glx/makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/xorg-server/hw/xwin/glx/makefile b/xorg-server/hw/xwin/glx/makefile
index 6d1cbeb21..5f93d8204 100644
--- a/xorg-server/hw/xwin/glx/makefile
+++ b/xorg-server/hw/xwin/glx/makefile
@@ -1,6 +1,6 @@
LIBRARY=libwinglx
-INCLUDES += ..\..\..\glx .. ..\..\..
+INCLUDES += $(OBJDIR) ..\..\..\glx .. ..\..\..
DEFINES += GLAPIENTRY=__stdcall _GLAPI_NO_EXPORTS
DEFINES += XWIN_CLIPBOARD
@@ -16,13 +16,6 @@ CSRCS = \
indirect.c \
wgl_ext_api.c
-glwrap.c: generated_gl_wrappers.c
-wgl_ext_api.c: generated_wgl_wrappers.c wglext.h
-wgl_ext_api.h: wglext.h
-indirect.c: wgl_ext_api.h
-
-SPEC_FILES = gl.spec gl.tm wglext.spec wgl.tm
-
.PHONY: getspecfiles
getspecfiles:
@@ -44,12 +37,9 @@ getspecfiles:
wget http://www.opengl.org/registry/api/glext.h
wget http://www.opengl.org/registry/api/glxext.h
-generated_gl_wrappers.c: gen_gl_wrappers.py gl.spec gl.tm
- gen_gl_wrappers --spec=gl.spec --typemap=gl.tm --dispatch-header=../../../glx/dispatch.h --staticwrappers >generated_gl_wrappers.c
-
-generated_wgl_wrappers.c: gen_gl_wrappers.py wglext.spec wgl.tm
- gen_gl_wrappers --spec=wglext.spec --typemap=wgl.tm --prefix=wgl --preresolve >generated_wgl_wrappers.c
-
+$(OBJDIR)\generated_gl_wrappers.c: gen_gl_wrappers.py gl.spec gl.tm
+ gen_gl_wrappers --spec=gl.spec --typemap=gl.tm --dispatch-header=../../../glx/dispatch.h --staticwrappers > $@
-BUILT_SOURCES = generated_gl_wrappers.c generated_wgl_wrappers.c
+$(OBJDIR)\generated_wgl_wrappers.c: gen_gl_wrappers.py wglext.spec wgl.tm
+ gen_gl_wrappers --spec=wglext.spec --typemap=wgl.tm --prefix=wgl --preresolve > $@