2011-11-05 07:32:40 -06:00
|
|
|
if AIGLX_DRI_LOADER
|
2006-11-26 11:13:41 -07:00
|
|
|
GLXDRI_LIBRARY = libglxdri.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libglx.la $(GLXDRI_LIBRARY)
|
|
|
|
|
|
|
|
AM_CFLAGS = \
|
|
|
|
@DIX_CFLAGS@ \
|
|
|
|
@GL_CFLAGS@ \
|
2010-07-27 13:02:24 -06:00
|
|
|
@DRI_CFLAGS@ \
|
2006-11-26 11:13:41 -07:00
|
|
|
@XLIB_CFLAGS@ \
|
|
|
|
@LIBDRM_CFLAGS@ \
|
|
|
|
@DRIPROTO_CFLAGS@ \
|
2008-11-02 08:26:08 -07:00
|
|
|
@GLX_DEFINES@ \
|
|
|
|
@GLX_ARCH_DEFINES@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
# none yet
|
|
|
|
#sdk_HEADERS =
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir)/hw/xfree86/os-support \
|
|
|
|
-I$(top_srcdir)/hw/xfree86/os-support/bus \
|
|
|
|
-I$(top_srcdir)/hw/xfree86/common \
|
|
|
|
-I$(top_srcdir)/hw/xfree86/dri \
|
|
|
|
-I$(top_srcdir)/mi
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if DRI2_AIGLX
|
|
|
|
INCLUDES += -I$(top_srcdir)/hw/xfree86/dri2
|
|
|
|
endif
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
glapi_sources = \
|
|
|
|
indirect_dispatch.c \
|
|
|
|
indirect_dispatch.h \
|
|
|
|
indirect_dispatch_swap.c \
|
|
|
|
indirect_reqsize.c \
|
|
|
|
indirect_reqsize.h \
|
|
|
|
indirect_size.h \
|
|
|
|
indirect_size_get.c \
|
|
|
|
indirect_size_get.h \
|
|
|
|
indirect_table.c \
|
|
|
|
dispatch.h \
|
|
|
|
glapitable.h \
|
|
|
|
glapi.c \
|
|
|
|
glapi.h \
|
2011-11-05 07:32:40 -06:00
|
|
|
glapi_gentable.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
glapioffsets.h \
|
2009-09-06 13:44:18 -06:00
|
|
|
glprocs.h \
|
2008-11-02 08:26:08 -07:00
|
|
|
glthread.c \
|
2009-09-06 13:44:18 -06:00
|
|
|
glthread.h
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
libglxdri_la_SOURCES =
|
|
|
|
|
|
|
|
if DRI
|
|
|
|
libglxdri_la_SOURCES += glxdri.c
|
|
|
|
endif
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if DRI2_AIGLX
|
|
|
|
libglxdri_la_SOURCES += glxdri2.c
|
|
|
|
endif
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
libglxdri_la_LIBADD = $(DLOPEN_LIBS)
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
libglx_la_SOURCES = \
|
2008-11-02 08:26:08 -07:00
|
|
|
$(indirect_sources) \
|
|
|
|
$(glapi_sources) \
|
2011-11-05 07:32:40 -06:00
|
|
|
extension_string.c \
|
|
|
|
extension_string.h \
|
2008-11-02 08:26:08 -07:00
|
|
|
indirect_util.c \
|
|
|
|
indirect_util.h \
|
|
|
|
indirect_program.c \
|
|
|
|
indirect_table.h \
|
|
|
|
indirect_texture_compression.c \
|
2007-11-24 10:55:21 -07:00
|
|
|
glxbyteorder.h \
|
2006-11-26 11:13:41 -07:00
|
|
|
glxcmds.c \
|
|
|
|
glxcmdsswap.c \
|
|
|
|
glxcontext.h \
|
|
|
|
glxdrawable.h \
|
|
|
|
glxext.c \
|
|
|
|
glxext.h \
|
2008-11-02 08:26:08 -07:00
|
|
|
glxdriswrast.c \
|
|
|
|
glxdricommon.c \
|
2009-09-06 13:44:18 -06:00
|
|
|
glxdricommon.h \
|
2006-11-26 11:13:41 -07:00
|
|
|
glxscreens.c \
|
|
|
|
glxscreens.h \
|
|
|
|
glxserver.h \
|
|
|
|
glxutil.h \
|
|
|
|
render2.c \
|
|
|
|
render2swap.c \
|
|
|
|
renderpix.c \
|
|
|
|
renderpixswap.c \
|
|
|
|
rensize.c \
|
|
|
|
single2.c \
|
|
|
|
single2swap.c \
|
|
|
|
singlepix.c \
|
|
|
|
singlepixswap.c \
|
|
|
|
singlesize.c \
|
|
|
|
singlesize.h \
|
|
|
|
swap_interval.c \
|
|
|
|
unpack.h \
|
|
|
|
xfont.c
|
2010-07-27 13:02:24 -06:00
|
|
|
|
|
|
|
libglx_la_LIBADD = $(DLOPEN_LIBS)
|