Imported Upstream version 1.15.1
[deb_xorg-server.git] / glx / Makefile.am
CommitLineData
a09e091a
JB
1if AIGLX_DRI_LOADER
2GLXDRI_LIBRARY = libglxdri.la
3endif
4
5noinst_LTLIBRARIES = libglx.la $(GLXDRI_LIBRARY)
6
7AM_CFLAGS = \
8 @DIX_CFLAGS@ \
9 @GL_CFLAGS@ \
10 @XLIB_CFLAGS@ \
11 @LIBDRM_CFLAGS@ \
12 @GLX_DEFINES@ \
13 @GLX_ARCH_DEFINES@
14
15# none yet
16#sdk_HEADERS =
17
18AM_CPPFLAGS = \
19 -I$(top_srcdir)/hw/xfree86/os-support \
20 -I$(top_srcdir)/hw/xfree86/os-support/bus \
21 -I$(top_srcdir)/hw/xfree86/common \
22 -I$(top_srcdir)/hw/xfree86/dri \
23 -I$(top_srcdir)/mi \
24 -I$(top_srcdir)/present
25
26if DRI2_AIGLX
27AM_CPPFLAGS += -I$(top_srcdir)/hw/xfree86/dri2
28endif
29
30indirect_sources = \
31 indirect_dispatch.c \
32 indirect_dispatch.h \
33 indirect_dispatch_swap.c \
34 indirect_reqsize.c \
35 indirect_reqsize.h \
36 indirect_size.h \
37 indirect_size_get.c \
38 indirect_size_get.h \
39 indirect_table.c
40
41libglxdri_la_SOURCES =
42
43if DRI2_AIGLX
44libglxdri_la_SOURCES += glxdri2.c
45endif
46
47libglxdri_la_LIBADD = $(DLOPEN_LIBS)
48
49libglx_la_SOURCES = \
50 $(indirect_sources) \
51 clientinfo.c \
52 createcontext.c \
53 extension_string.c \
54 extension_string.h \
55 indirect_util.c \
56 indirect_util.h \
57 indirect_program.c \
58 indirect_table.h \
59 indirect_texture_compression.c \
60 glxbyteorder.h \
61 glxcmds.c \
62 glxcmdsswap.c \
63 glxcontext.h \
64 glxdrawable.h \
65 glxext.c \
66 glxext.h \
67 glxdriswrast.c \
68 glxdricommon.c \
69 glxdricommon.h \
70 glxscreens.c \
71 glxscreens.h \
72 glxserver.h \
73 glxutil.h \
74 render2.c \
75 render2swap.c \
76 renderpix.c \
77 renderpixswap.c \
78 rensize.c \
79 single2.c \
80 single2swap.c \
81 singlepix.c \
82 singlepixswap.c \
83 singlesize.c \
84 singlesize.h \
85 swap_interval.c \
86 unpack.h \
87 xfont.c
88
89libglx_la_LIBADD = $(DLOPEN_LIBS)