diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-02-27 14:18:43 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-02-27 15:04:49 +0000 |
commit | 990ddd9f96fd4bac333d1178e56985d09bb26173 (patch) | |
tree | 90be420ba8137d07fd488225c20e6a688ab8e074 /specs/scripts/Makefile | |
parent | 1f43101e74b5e199c0d77c041a133d4e22637154 (diff) |
specs/glparams: Add missing enums.
Feed from gl.xml as opposed from deprecated .spec files.
Diffstat (limited to 'specs/scripts/Makefile')
-rw-r--r-- | specs/scripts/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/specs/scripts/Makefile b/specs/scripts/Makefile index 339de1ef..a9be1ae9 100644 --- a/specs/scripts/Makefile +++ b/specs/scripts/Makefile @@ -9,7 +9,7 @@ all: \ eglenum.py download: \ - enum.spec \ + gl.xml \ enumext.spec \ gl.spec \ gl.tm \ @@ -25,6 +25,10 @@ download: \ wgl.tm \ eglenum.spec + +%.xml: + wget -N https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/$@ + %.spec: wget -N http://www.opengl.org/registry/api/$@ @@ -43,8 +47,8 @@ glxapi.py: glspec.py glx.tm glx.spec glxext.spec wglapi.py: glspec.py wgl.tm wgl.spec wglext.spec python glspec.py wgl wgl.tm wgl.spec wglext.spec > $@ -glparams.py: glparams.sed enum.spec sort.sh - sed -n -f glparams.sed enum.spec | ./sort.sh > $@ +glparams.py: xml2glparams.py gl.xml + python xml2glparams.py gl.xml > $@ wglenum.py: wglenum.sh wglenumext.spec ./wglenum.sh wglenumext.spec > $@ |