summaryrefslogtreecommitdiff
path: root/hw/xfree86
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-13 21:52:51 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-13 21:52:51 +0000
commit40ad7321f5d8d216523d575c4414736d8cfe9e88 (patch)
tree5da8789113bb77f8674a2d92596ec326bbf85910 /hw/xfree86
parent0e08818d3951c324e5953bd23a8a9457b3fec78f (diff)
Generate useful loadable modules by actually linking in the blobs from the
DIX
Diffstat (limited to 'hw/xfree86')
-rw-r--r--hw/xfree86/dixmods/Makefile.am72
1 files changed, 57 insertions, 15 deletions
diff --git a/hw/xfree86/dixmods/Makefile.am b/hw/xfree86/dixmods/Makefile.am
index 68c9adce9..f3a86c45f 100644
--- a/hw/xfree86/dixmods/Makefile.am
+++ b/hw/xfree86/dixmods/Makefile.am
@@ -1,6 +1,12 @@
noinst_LTLIBRARIES = libdixmods.la
-module_LTLIBRARIES = libbitmap.la libfb.la
+if GLX
+GLXMODS = libglx.la libGLcore.la
+endif
+
+module_LTLIBRARIES = \
+ libafb.la libbitmap.la libcfb.la libcfb16.la libcfb24.la libcfb32.la \
+ libdbe.la libfb.la liblayer.la libmfb.la libshadow.la $(GLXMODS)
# yes, this is a cheesy hack.
AM_CFLAGS = $(XORG_CFLAGS) -include xorg-config.h
@@ -8,23 +14,59 @@ INCLUDES = $(XORG_INCS) -I$(top_srcdir)/afb -I$(top_srcdir)/mfb \
-I$(top_srcdir)/cfb -I$(top_srcdir)/dbe -I$(srcdir)/../loader \
-I$(top_srcdir)/miext/layer -I$(top_srcdir)/miext/shadow
-libbitmap_la_SOURCES = \
- bitmapmod.c
-libbitmap_la_LDFLAGS = `pkg-config --libs xfont`
+libGLcore_la_LDFLAGS = -avoid-version
+libGLcore_la_LIBADD = $(top_srcdir)/GL/mesa/libGLcore.a
+libGLcore_la_SOURCES = GLcoremodule.c
+
+libafb_la_LDFLAGS = -avoid-version
+libafb_la_LIBADD = $(top_srcdir)/afb/libafb.la
+libafb_la_SOURCES = afbmodule.c
+
+libbitmap_la_SOURCES = bitmapmod.c
+libbitmap_la_LDFLAGS = -avoid-version # `pkg-config --libs xfont`
+# XXX sources?
+
+libcfb_la_LDFLAGS = -avoid-version
+libcfb_la_LIBADD = $(top_srcdir)/cfb/libcfb.la
+libcfb_la_SOURCES = cfbmodule.c
+
+libcfb16_la_LDFLAGS = -avoid-version
+libcfb16_la_LIBADD = $(top_srcdir)/cfb16/libcfb16.la
+libcfb16_la_SOURCES = cfb16module.c
+
+libcfb24_la_LDFLAGS = -avoid-version
+libcfb24_la_LIBADD = $(top_srcdir)/cfb24/libcfb24.la
+libcfb24_la_SOURCES = cfb24module.c
+
+libcfb32_la_LDFLAGS = -avoid-version
+libcfb32_la_LIBADD = $(top_srcdir)/cfb32/libcfb32.la
+libcfb32_la_SOURCES = cfb32module.c
+
+libdbe_la_LDFLAGS = -avoid-version
+libdbe_la_LIBADD = $(top_srcdir)/dbe/libdbe.la
+libdbe_la_SOURCES = dbemodule.c
+
+libfb_la_LDFLAGS = -avoid-version
+libfb_la_LIBADD = $(top_srcdir)/fb/libfb.la
+libfb_la_SOURCES = $(top_srcdir)/fb/fbcmap.c fbmodule.c
+
+libglx_la_LDFLAGS = -avoid-version
+libglx_la_LIBADD = $(top_srcdir)/GL/glx/libglx.la
+libglx_la_SOURCES = glxmodule.c
+
+liblayer_la_LDFLAGS = -avoid-version
+liblayer_la_LIBADD = $(top_srcdir)/miext/layer/liblayer.la
+liblayer_la_SOURCES = laymodule.c
+
+libmfb_la_LDFLAGS = -avoid-version
+libmfb_la_LIBADD = $(top_srcdir)/mfb/libmfb.la
+libmfb_la_SOURCES = mfbmodule.c
-libfb_la_SOURCES = \
- $(top_srcdir)/fb/fbcmap.c
- fbmodule.c
+libshadow_la_LDFLAGS = -avoid-version
+libshadow_la_LIBADD = $(top_srcdir)/miext/shadow/libshadow.la
+libshadow_la_SOURCES = shmodule.c
libdixmods_la_SOURCES = \
- afbmodule.c \
- cfbmodule.c \
- cfb16module.c \
- cfb24module.c \
- cfb32module.c \
- mfbmodule.c \
- laymodule.c \
- shmodule.c \
xkbKillSrv.c \
xkbPrivate.c \
xkbVT.c \