diff options
author | Tomas Carnecky <tom@dbservice.com> | 2012-07-10 02:03:02 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-09 23:28:36 -0700 |
commit | b8c9ab0fea0be299d9f48ac0c4ed0474104a7556 (patch) | |
tree | b74ada85deed0b049c0ef52277dbc818e25431e7 /hw/xfree86/dixmods | |
parent | bf61bf69b2b4f9e9993ca771de100079c7696bea (diff) |
Move RECORD from external module to built-in
Rather than languishing in its own special module, move RECORD into the
core server.
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xfree86/dixmods')
-rw-r--r-- | hw/xfree86/dixmods/Makefile.am | 11 | ||||
-rw-r--r-- | hw/xfree86/dixmods/recordmod.c | 42 |
2 files changed, 1 insertions, 52 deletions
diff --git a/hw/xfree86/dixmods/Makefile.am b/hw/xfree86/dixmods/Makefile.am index 827b952b5..3aa7d27c5 100644 --- a/hw/xfree86/dixmods/Makefile.am +++ b/hw/xfree86/dixmods/Makefile.am @@ -6,17 +6,12 @@ if GLX GLXMODS = libglx.la endif -if RECORD -RECORDMOD = librecord.la -endif - module_LTLIBRARIES = libfb.la \ libwfb.la \ libshadow.la extsmoduledir = $(moduledir)/extensions -extsmodule_LTLIBRARIES = $(RECORDMOD) \ - $(GLXMODS) +extsmodule_LTLIBRARIES = $(GLXMODS) AM_CFLAGS = @XORG_CFLAGS@ @DIX_CFLAGS@ INCLUDES = @XORG_INCS@ \ @@ -44,10 +39,6 @@ endif endif libglx_la_SOURCES = glxmodule.c -librecord_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG) -librecord_la_LIBADD = $(top_builddir)/record/librecord.la -librecord_la_SOURCES = recordmod.c - libshadow_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG) libshadow_la_LIBADD = $(top_builddir)/miext/shadow/libshadow.la if NO_UNDEFINED diff --git a/hw/xfree86/dixmods/recordmod.c b/hw/xfree86/dixmods/recordmod.c deleted file mode 100644 index 4f8eb9776..000000000 --- a/hw/xfree86/dixmods/recordmod.c +++ /dev/null @@ -1,42 +0,0 @@ -#ifdef HAVE_XORG_CONFIG_H -#include <xorg-config.h> -#endif - -#include "xf86Module.h" -#include "extinit.h" - -extern Bool noTestExtensions; - -static MODULESETUPPROTO(recordSetup); - -static ExtensionModule recordExt = { - RecordExtensionInit, - "RECORD", - &noTestExtensions, - NULL, - NULL -}; - -static XF86ModuleVersionInfo VersRec = { - "record", - MODULEVENDORSTRING, - MODINFOSTRING1, - MODINFOSTRING2, - XORG_VERSION_CURRENT, - 1, 13, 0, - ABI_CLASS_EXTENSION, - ABI_EXTENSION_VERSION, - MOD_CLASS_EXTENSION, - {0, 0, 0, 0} -}; - -_X_EXPORT XF86ModuleData recordModuleData = { &VersRec, recordSetup, NULL }; - -static pointer -recordSetup(pointer module, pointer opts, int *errmaj, int *errmin) -{ - LoadExtension(&recordExt, FALSE); - - /* Need a non-NULL return value to indicate success */ - return (pointer) 1; -} |