summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-09-30 01:23:37 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2010-09-30 01:23:37 +0100
commitf992f49cc4ec2105989708a601d5fb24ffa79ac0 (patch)
tree6ac5513841173f7c4fdda7fd697bfff25e1b83dc
parent2f4ede94ffd4198cb4b7bb7e5d629eb8a7e91f35 (diff)
Cygwin/X: Always fetch OpenGL spec files to srcdirxserver-cygwin-1.9.0-1
Always fetch OpenGL spec files to srcdir This is one way to ensure that we can build successfully directly from a git checkout with builddir != srcdir.
-rw-r--r--hw/xwin/glx/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/xwin/glx/Makefile.am b/hw/xwin/glx/Makefile.am
index e9fea50a7..a00f70e0e 100644
--- a/hw/xwin/glx/Makefile.am
+++ b/hw/xwin/glx/Makefile.am
@@ -33,16 +33,16 @@ indirect.c: wgl_ext_api.h
SPEC_FILES = gl.spec gl.tm wglext.spec wgl.tm
gl.spec:
- wget http://www.opengl.org/registry/api/gl.spec
+ cd $(srcdir) ; wget http://www.opengl.org/registry/api/gl.spec
gl.tm:
- wget http://www.opengl.org/registry/api/gl.tm
+ cd $(srcdir) ; wget http://www.opengl.org/registry/api/gl.tm
wglext.spec:
- wget http://www.opengl.org/registry/api/wglext.spec
+ cd $(srcdir) ; wget http://www.opengl.org/registry/api/wglext.spec
wgl.tm:
- wget http://www.opengl.org/registry/api/wgl.tm
+ cd $(srcdir) ; wget http://www.opengl.org/registry/api/wgl.tm
generated_gl_wrappers.c: gen_gl_wrappers.py gl.spec gl.tm
$(srcdir)/gen_gl_wrappers.py --spec=$(srcdir)/gl.spec --typemap=$(srcdir)/gl.tm --dispatch-header=$(top_srcdir)/glx/dispatch.h --staticwrappers >generated_gl_wrappers.c
@@ -51,7 +51,7 @@ generated_wgl_wrappers.c: gen_gl_wrappers.py wglext.spec wgl.tm
$(srcdir)/gen_gl_wrappers.py --spec=$(srcdir)/wglext.spec --typemap=$(srcdir)/wgl.tm --prefix=wgl --preresolve >generated_wgl_wrappers.c
wglext.h:
- wget http://www.opengl.org/registry/api/wglext.h
+ cd $(srcdir) ; wget http://www.opengl.org/registry/api/wglext.h
BUILT_SOURCES = generated_gl_wrappers.c generated_wgl_wrappers.c
CLEANFILES = $(BUILT_SOURCES)