summaryrefslogtreecommitdiff
path: root/hw/xgl/Makefile.am
blob: 0aa94f9a58b10fb8e7b5e2e9d64de0d206c7d049 (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
if GLX
GLX_SUBDIRS = glxext
endif

if XGLX
XGLX_SUBDIRS = glx
endif

if XEGL
XEGL_SUBDIRS = egl
endif

DIST_SUBDIRS = glxext glx egl

SUBDIRS = 		\
	.		\
	$(GLX_SUBDIRS)  \
	$(XGLX_SUBDIRS) \
	$(XEGL_SUBDIRS)

AM_CFLAGS = \
	@SERVER_DEFINES@ \
	-DHAVE_XGL_CONFIG_H \
	-DHAVE_DIX_CONFIG_H \
	-I$(top_srcdir)/GL/glx			\
	-I$(top_srcdir)/GL/include		\
	-I@MESA_SOURCE@/include \
	-I@MESA_SOURCE@/src/mesa/glapi \
	$(XGLMODULES_CFLAGS)

noinst_LIBRARIES = libxgl.a

libxgl_a_SOURCES =     \
	xgl.h	       \
	xglmodule.h    \
	xglglx.h       \
	xglinput.c     \
	xgloutput.c    \
	xglcmap.c      \
	xglparse.c     \
	xglscreen.c    \
	xglarea.c      \
	xglgeometry.c  \
	xglpixmap.c    \
	xglsync.c      \
	xglsolid.c     \
	xgltile.c      \
	xglcopy.c      \
	xglfill.c      \
	xglwindow.c    \
	xglbstore.c    \
	xglget.c       \
	xglgc.c	       \
	xglshm.c       \
	xglcompose.c   \
	xglpict.c      \
	xglglyph.c     \
	xgltrap.c      \
	xglloader.c     \
	xglhash.c      \
	xglglx.c       \
	xglxv.c

EXTRA_DIST = \
	xglmodule.h

Xgl_LDFLAGS = -export-dynamic
Xgl_SOURCES = \
	xglinit.c \
	$(top_srcdir)/mi/miinitext.c \
	$(top_srcdir)/Xext/dpmsstubs.c \
	$(top_srcdir)/Xi/stubs.c \
	$(top_srcdir)/fb/fbcmap.c
Xgl_LDADD = \
	libxgl.a \
	$(XORG_CORE_LIBS) \
	$(XGL_LIBS) \
	$(XSERVER_LIBS) \
	$(EXTENSION_LIBS) -lglitz -ldl
Xgl_programs = Xgl

bin_PROGRAMS = $(Xgl_programs)