aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/glx/makefile
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-07-22 12:11:31 +0200
committermarha <marha@users.sourceforge.net>2013-07-22 12:12:43 +0200
commitb9356a3668e013820e4a2b2fb1e19da216fc63be (patch)
treee5479609fe6332f1f2ec143ab935d7ccc3357ac6 /xorg-server/hw/xwin/glx/makefile
parent97b87f24693a48b249f151aa39551610e83a1387 (diff)
downloadvcxsrv-b9356a3668e013820e4a2b2fb1e19da216fc63be.tar.gz
vcxsrv-b9356a3668e013820e4a2b2fb1e19da216fc63be.tar.bz2
vcxsrv-b9356a3668e013820e4a2b2fb1e19da216fc63be.zip
gen_gl_wrappers.py: now use the opengl xml files as input
Diffstat (limited to 'xorg-server/hw/xwin/glx/makefile')
-rw-r--r--xorg-server/hw/xwin/glx/makefile43
1 files changed, 20 insertions, 23 deletions
diff --git a/xorg-server/hw/xwin/glx/makefile b/xorg-server/hw/xwin/glx/makefile
index e9f2da506..30b4ab3cb 100644
--- a/xorg-server/hw/xwin/glx/makefile
+++ b/xorg-server/hw/xwin/glx/makefile
@@ -20,27 +20,24 @@ CSRCS = \
.PHONY: getspecfiles
getspecfiles:
- wget http://www.opengl.org/registry/api/gl.spec
- wget http://www.opengl.org/registry/api/gl.tm
-
- wget http://www.opengl.org/registry/api/glxenum.spec
- wget http://www.opengl.org/registry/api/glxenumext.spec
- wget http://www.opengl.org/registry/api/glx.spec
- wget http://www.opengl.org/registry/api/glxext.spec
- wget http://www.opengl.org/registry/api/glx.tm
-
- wget http://www.opengl.org/registry/api/wglenum.spec
- wget http://www.opengl.org/registry/api/wglenumext.spec
- wget http://www.opengl.org/registry/api/wgl.spec
- wget http://www.opengl.org/registry/api/wglext.spec
- wget http://www.opengl.org/registry/api/wgl.tm
- wget http://www.opengl.org/registry/api/wglext.h
- wget http://www.opengl.org/registry/api/glext.h
- wget http://www.opengl.org/registry/api/glxext.h
-
-$(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 > $@
-
-$(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 > $@
+ -del wglext.h
+ wget http://www.opengl.org/registry/api/GL/wglext.h
+ -del glxext.h
+ wget http://www.opengl.org/registry/api/GL/glxext.h
+ -del glext.h
+ wget http://www.opengl.org/registry/api/GL/glext.h
+ -del genheaders.py
+ wget --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/genheaders.py
+ -del reg.py
+ wget --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/reg.py
+ -del gl.xml
+ wget --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
+ -del wgl.xml
+ wget --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/wgl.xml
+
+$(OBJDIR)\generated_gl_wrappers.c: gen_gl_wrappers.py gl.xml gen_gl_wrappers.py reg.py
+ $(PYTHON3) gen_gl_wrappers.py -outfile $@ -staticwrappers -dispatchheader ../../../glx/dispatch.h
+
+$(OBJDIR)\generated_wgl_wrappers.c: gen_gl_wrappers.py wgl.xml gen_gl_wrappers.py reg.py
+ $(PYTHON3) gen_gl_wrappers.py -outfile $@ -registry wgl.xml -prefix wgl -preresolve