From 5a7275d78a2f1c20ed5bb7b228cf370c4ada22c9 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 20 May 2010 13:57:02 -0700 Subject: Find windows GL wrapper files in $(srcdir) instead of . This fixes 'make distcheck' for me. Signed-off-by: Keith Packard Reviewed-by: Julien Cristau --- hw/xwin/glx/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xwin/glx/Makefile.am b/hw/xwin/glx/Makefile.am index 7fc169494..e9fea50a7 100644 --- a/hw/xwin/glx/Makefile.am +++ b/hw/xwin/glx/Makefile.am @@ -45,10 +45,10 @@ wgl.tm: wget http://www.opengl.org/registry/api/wgl.tm generated_gl_wrappers.c: gen_gl_wrappers.py gl.spec gl.tm - ./gen_gl_wrappers.py --spec=gl.spec --typemap=gl.tm --dispatch-header=$(top_srcdir)/glx/dispatch.h --staticwrappers >generated_gl_wrappers.c + $(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 generated_wgl_wrappers.c: gen_gl_wrappers.py wglext.spec wgl.tm - ./gen_gl_wrappers.py --spec=wglext.spec --typemap=wgl.tm --prefix=wgl --preresolve >generated_wgl_wrappers.c + $(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 -- cgit v1.2.3