aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xgl/glx/module/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xgl/glx/module/Makefile.am')
-rw-r--r--xorg-server/hw/xgl/glx/module/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/xorg-server/hw/xgl/glx/module/Makefile.am b/xorg-server/hw/xgl/glx/module/Makefile.am
new file mode 100644
index 000000000..bd1c4b08f
--- /dev/null
+++ b/xorg-server/hw/xgl/glx/module/Makefile.am
@@ -0,0 +1,21 @@
+if GLX
+GLX_LIB = $(top_builddir)/hw/xgl/glxext/libxglglxext.la
+endif
+
+AM_CFLAGS = $(DIX_CFLAGS) \
+ -I$(srcdir)/.. \
+ -I$(srcdir)/../.. \
+ $(XGLXMODULES_CFLAGS)
+
+libxglx_la_DEPENDENCIES = $(GLX_LIB)
+libxglx_la_LDFLAGS = -avoid-version
+libxglx_la_SOURCES = xglxmodule.c
+libxglx_la_LIBADD = \
+ $(top_builddir)/hw/xgl/glx/libxglx.la \
+ $(GLX_LIB) \
+ $(XGLXMODULES_LIBS) \
+ -lXrandr
+
+moduledir = @xglmoduledir@
+
+module_LTLIBRARIES = libxglx.la