2010-12-05 08:36:02 -07:00
|
|
|
noinst_LTLIBRARIES = libXwinGLX.la
|
|
|
|
|
|
|
|
libXwinGLX_la_SOURCES = \
|
|
|
|
winpriv.c \
|
|
|
|
winpriv.h \
|
|
|
|
glwindows.h \
|
|
|
|
glwrap.c \
|
|
|
|
indirect.c \
|
2013-06-07 11:28:45 -06:00
|
|
|
wgl_ext_api.c \
|
|
|
|
wgl_ext_api.h
|
2010-12-05 08:36:02 -07:00
|
|
|
|
|
|
|
if XWIN_MULTIWINDOW
|
|
|
|
DEFS_MULTIWINDOW = -DXWIN_MULTIWINDOW
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XWIN_MULTIWINDOWEXTWM
|
|
|
|
DEFS_MULTIWINDOWEXTWM = -DXWIN_MULTIWINDOWEXTWM
|
|
|
|
endif
|
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
if XWIN_GLX_WINDOWS
|
|
|
|
DEFS_GLX_WINDOWS = -DXWIN_GLX_WINDOWS
|
|
|
|
endif
|
|
|
|
|
|
|
|
DEFS = $(DEFS_MULTIWINDOW) $(DEFS_MULTIWINDOWEXTWM) $(DEFS_GLX_WINDOWS)
|
2010-12-05 08:36:02 -07:00
|
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir)/miext/rootless
|
|
|
|
|
|
|
|
AM_CFLAGS = -DHAVE_XWIN_CONFIG_H $(DIX_CFLAGS) \
|
|
|
|
$(XWINMODULES_CFLAGS) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/hw/xwin/
|
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
if XWIN_GLX_WINDOWS
|
2010-12-05 08:36:02 -07:00
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
generated_gl_wrappers.c: gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/gl.spec $(KHRONOS_SPEC_DIR)/gl.tm
|
2013-06-07 11:28:45 -06:00
|
|
|
$(AM_V_GEN)$(srcdir)/gen_gl_wrappers.py --spec=$(KHRONOS_SPEC_DIR)/gl.spec --typemap=$(KHRONOS_SPEC_DIR)/gl.tm --dispatch-header=$(top_srcdir)/glx/dispatch.h --staticwrappers >generated_gl_wrappers.c
|
2010-12-05 08:36:02 -07:00
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
generated_wgl_wrappers.c: gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/wglext.spec $(KHRONOS_SPEC_DIR)/wgl.tm
|
2013-06-07 11:28:45 -06:00
|
|
|
$(AM_V_GEN)$(srcdir)/gen_gl_wrappers.py --spec=$(KHRONOS_SPEC_DIR)/wglext.spec --typemap=$(KHRONOS_SPEC_DIR)/wgl.tm --prefix=wgl --preresolve >generated_wgl_wrappers.c
|
2011-11-05 07:32:40 -06:00
|
|
|
endif
|
2010-12-05 08:36:02 -07:00
|
|
|
|
|
|
|
BUILT_SOURCES = generated_gl_wrappers.c generated_wgl_wrappers.c
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
EXTRA_DIST = gen_gl_wrappers.py
|