summaryrefslogtreecommitdiff
path: root/glamor/Makefile.am
blob: c51b98f4bb7c45266d7e27f9e3fbf966a8d46d53 (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
noinst_LTLIBRARIES = libglamor.la

# Override these since glamor doesn't need them and the needed files aren't
# built (in hw/xfree86/os-support/solaris) until after glamor is built
SOLARIS_ASM_CFLAGS=""

if GLAMOR_GLES2
libglamor_la_LIBADD = $(GLESV2_LIBS)
else
libglamor_la_LIBADD = $(GL_LIBS)
endif

AM_CPPFLAGS = \
	$(XORG_INCS)

AM_CFLAGS = $(CWARNFLAGS) $(XORG_CFLAGS) $(DIX_CFLAGS) $(LIBDRM_CFLAGS)

libglamor_la_SOURCES = \
	glamor.c \
	glamor_copyarea.c \
	glamor_copywindow.c \
	glamor_core.c \
	glamor_debug.h \
	glamor_gl_dispatch.h \
	glamor_fill.c \
	glamor_fillspans.c \
	glamor_getspans.c \
	glamor_glext.h \
	glamor_glyphs.c \
	glamor_polyfillrect.c \
	glamor_polylines.c \
	glamor_putimage.c \
	glamor_setspans.c \
	glamor_render.c \
	glamor_gradient.c \
	glamor_trapezoid.c \
	glamor_tile.c \
	glamor_triangles.c\
	glamor_addtraps.c\
	glamor_getimage.c\
	glamor_copyplane.c\
	glamor_glyphblt.c\
	glamor_polyops.c\
	glamor_priv.h\
	glamor_pixmap.c\
	glamor_largepixmap.c\
	glamor_picture.c\
	glamor_window.c\
	glamor_gl_dispatch.c\
	glamor_fbo.c\
	glamor_compositerects.c\
	glamor_xv.c\
	glamor_utils.h\
	glamor.h

sdk_HEADERS = glamor.h

if EGL
LIBGLAMOREGL = libglamoregl.la
module_LTLIBRARIES = $(LIBGLAMOREGL)
libglamoregl_la_DEPENDENCIES = libglamor.la
libglamoregl_la_LDFLAGS = -avoid-version -module
libglamoregl_la_LIBADD = $(EGL_LIBS) $(GLX_SYS_LIBS) $(GBM_LIBS) libglamor.la
libglamoregl_la_SOURCES = glamor_eglmodule.c $(top_srcdir)/src/glamor_egl.c
libglamoregl_la_CFLAGS = \
	$(AM_CFLAGS) \
	$(GLX_DEFINES) \
	-I$(top_srcdir)/src \
	$(LIBDRM_CFLAGS) \
	$(EGL_CFLAGS) \
	$(GBM_CFLAGS)
endif