aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xgl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xgl/Makefile.am')
-rw-r--r--xorg-server/hw/xgl/Makefile.am83
1 files changed, 83 insertions, 0 deletions
diff --git a/xorg-server/hw/xgl/Makefile.am b/xorg-server/hw/xgl/Makefile.am
new file mode 100644
index 000000000..8df8ae9af
--- /dev/null
+++ b/xorg-server/hw/xgl/Makefile.am
@@ -0,0 +1,83 @@
+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 = \
+ $(DIX_CFLAGS) \
+ -DHAVE_XGL_CONFIG_H \
+ -DHAVE_DIX_CONFIG_H \
+ -I$(top_srcdir)/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 \
+ 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_LIBS = \
+ libxgl.a \
+ @XGL_LIBS@ \
+ $(XSERVER_LIBS)
+
+Xgl_DEPENDENCIES = $(XGL_LIBS)
+Xgl_LDADD = $(XGL_LIBS) $(XSERVER_SYS_LIBS) $(XGL_SYS_LIBS)
+Xgl_programs = Xgl
+
+bin_PROGRAMS = $(Xgl_programs)