aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/glx/Makefile.am
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-20 07:14:40 +0000
committermarha <marha@users.sourceforge.net>2009-11-20 07:14:40 +0000
commit2e4def74ad9278c142d07ffa91f51035dc49cf77 (patch)
tree72b1c06da6e6232e9ff1c6263f68c2eb9bfbe10e /xorg-server/hw/xwin/glx/Makefile.am
parent578938f1cdd5a06dd6fa28167d575ec980322a5d (diff)
downloadvcxsrv-2e4def74ad9278c142d07ffa91f51035dc49cf77.tar.gz
vcxsrv-2e4def74ad9278c142d07ffa91f51035dc49cf77.tar.bz2
vcxsrv-2e4def74ad9278c142d07ffa91f51035dc49cf77.zip
Checked in glx of cygwin-aiglx branch of git://anongit.freedesktop.org/~jturney/xserver
Diffstat (limited to 'xorg-server/hw/xwin/glx/Makefile.am')
-rw-r--r--xorg-server/hw/xwin/glx/Makefile.am59
1 files changed, 59 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/glx/Makefile.am b/xorg-server/hw/xwin/glx/Makefile.am
new file mode 100644
index 000000000..aadd44268
--- /dev/null
+++ b/xorg-server/hw/xwin/glx/Makefile.am
@@ -0,0 +1,59 @@
+noinst_LTLIBRARIES = libXwinGLX.la
+
+libXwinGLX_la_SOURCES = \
+ winpriv.c \
+ glwindows.h \
+ glwrap.c \
+ indirect.c \
+ wgl_ext_api.c
+
+if XWIN_MULTIWINDOW
+DEFS_MULTIWINDOW = -DXWIN_MULTIWINDOW
+endif
+
+if XWIN_MULTIWINDOWEXTWM
+DEFS_MULTIWINDOWEXTWM = -DXWIN_MULTIWINDOWEXTWM
+endif
+
+DEFS = $(DEFS_MULTIWINDOW) $(DEFS_MULTIWINDOWEXTWM)
+
+INCLUDES = -I$(top_srcdir)/miext/rootless
+
+AM_CFLAGS = -DHAVE_XWIN_CONFIG_H $(DIX_CFLAGS) \
+ $(XWINMODULES_CFLAGS) \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/hw/xwin/
+
+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
+
+gl.spec:
+ wget http://www.opengl.org/registry/api/gl.spec
+
+gl.tm:
+ wget http://www.opengl.org/registry/api/gl.tm
+
+wglext.spec:
+ wget http://www.opengl.org/registry/api/wglext.spec
+
+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
+
+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
+
+wglext.h:
+ wget http://www.opengl.org/registry/api/wglext.h
+
+BUILT_SOURCES = generated_gl_wrappers.c generated_wgl_wrappers.c
+CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(SPEC_FILES) wglext.h
+
+EXTRA_DIST = gen_gl_wrappers.py $(SPEC_FILES) wglext.h