aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/Makefile.am
blob: 54e81406d163bac95221f3655154070d557fd6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
if AIGLX_DRI_LOADER
GLXDRI_LIBRARY = libglxdri.la
endif

noinst_LTLIBRARIES = libglx.la $(GLXDRI_LIBRARY)

AM_CFLAGS = \
	@DIX_CFLAGS@ \
	@GL_CFLAGS@ \
	@XLIB_CFLAGS@ \
	@LIBDRM_CFLAGS@ \
	@GLX_DEFINES@ \
	@GLX_ARCH_DEFINES@

# none yet
#sdk_HEADERS =

AM_CPPFLAGS = \
	-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 \
	-I$(top_srcdir)/present

if DRI2_AIGLX
AM_CPPFLAGS += -I$(top_srcdir)/hw/xfree86/dri2
endif

indirect_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

libglxdri_la_SOURCES =

if DRI2_AIGLX
libglxdri_la_SOURCES += glxdri2.c
endif

libglxdri_la_LIBADD = $(DLOPEN_LIBS)

libglx_la_SOURCES = \
	$(indirect_sources) \
	clientinfo.c \
	createcontext.c \
	extension_string.c \
	extension_string.h \
	indirect_util.c \
	indirect_util.h \
	indirect_program.c \
	indirect_table.h \
	indirect_texture_compression.c \
        glxbyteorder.h \
        glxcmds.c \
        glxcmdsswap.c \
        glxcontext.h \
        glxdrawable.h \
        glxext.c \
        glxext.h \
	glxdriswrast.c \
	glxdricommon.c \
	glxdricommon.h \
        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

libglx_la_LIBADD = $(DLOPEN_LIBS)