Remove the last remnants of extmod

extmod was originally a big pointless module.  Now it's an empty,
pointless module.  This commit makes it unexist.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Daniel Stone 2012-07-10 02:03:13 +01:00 committed by Keith Packard
parent 6e74fdda42
commit a7a2f9f66d
7 changed files with 1 additions and 90 deletions

View File

@ -10,8 +10,6 @@ else
noinst_LTLIBRARIES = libXext.la noinst_LTLIBRARIES = libXext.la
endif endif
INCLUDES = -I$(top_srcdir)/hw/xfree86/dixmods/extmod
AM_CFLAGS = $(DIX_CFLAGS) AM_CFLAGS = $(DIX_CFLAGS)
if XORG if XORG

View File

@ -2244,7 +2244,6 @@ hw/xfree86/common/Makefile
hw/xfree86/common/xf86Build.h hw/xfree86/common/xf86Build.h
hw/xfree86/ddc/Makefile hw/xfree86/ddc/Makefile
hw/xfree86/dixmods/Makefile hw/xfree86/dixmods/Makefile
hw/xfree86/dixmods/extmod/Makefile
hw/xfree86/doc/Makefile hw/xfree86/doc/Makefile
hw/xfree86/dri/Makefile hw/xfree86/dri/Makefile
hw/xfree86/dri2/Makefile hw/xfree86/dri2/Makefile

View File

@ -109,7 +109,6 @@
#endif #endif
static ModuleDefault ModuleDefaults[] = { static ModuleDefault ModuleDefaults[] = {
{.name = "extmod",.toLoad = TRUE,.load_opt = NULL},
#ifdef GLXEXT #ifdef GLXEXT
{.name = "glx",.toLoad = TRUE,.load_opt = NULL}, {.name = "glx",.toLoad = TRUE,.load_opt = NULL},
#endif #endif

View File

@ -1,7 +1,5 @@
noinst_LTLIBRARIES = libdixmods.la libxorgxkb.la noinst_LTLIBRARIES = libdixmods.la libxorgxkb.la
SUBDIRS = extmod
if GLX if GLX
GLXMODS = libglx.la GLXMODS = libglx.la
endif endif

View File

@ -1,12 +0,0 @@
extsmoduledir = $(moduledir)/extensions
extsmodule_LTLIBRARIES = libextmod.la
AM_CFLAGS = @DIX_CFLAGS@ @XORG_CFLAGS@
INCLUDES = @XORG_INCS@ \
-I$(top_srcdir)/dbe \
-I$(top_srcdir)/hw/xfree86/loader \
-I$(top_srcdir)/miext/shadow
libextmod_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
libextmod_la_SOURCES = modinit.c
libextmod_la_LIBADD = $(top_builddir)/Xext/libXextmodule.la

View File

@ -1,72 +0,0 @@
/*
* Copyright (c) 1997 Matthieu Herrb
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation, and that the name of Matthieu Herrb not be used in
* advertising or publicity pertaining to distribution of the software without
* specific, written prior permission. Matthieu Herrb makes no
* representations about the suitability of this software for any purpose.
* It is provided "as is" without express or implied warranty.
*
* MATTHIEU HERRB DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
* EVENT SHALL MATTHIEU HERRB BE LIABLE FOR ANY SPECIAL, INDIRECT OR
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "xf86Module.h"
#include "xf86Opt.h"
#include <X11/Xproto.h>
#include "extinit.h"
#include "xf86Extensions.h"
#include "globals.h"
static MODULESETUPPROTO(extmodSetup);
/*
* Array describing extensions to be initialized
*/
static ExtensionModule extensionModules[] = {
};
static XF86ModuleVersionInfo VersRec = {
"extmod",
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
XORG_VERSION_CURRENT,
1, 0, 0,
ABI_CLASS_EXTENSION,
ABI_EXTENSION_VERSION,
MOD_CLASS_EXTENSION,
{0, 0, 0, 0}
};
/*
* Data for the loader
*/
_X_EXPORT XF86ModuleData extmodModuleData = { &VersRec, extmodSetup, NULL };
static pointer
extmodSetup(pointer module, pointer opts, int *errmaj, int *errmin)
{
int i;
for (i = 0; i < ARRAY_SIZE(extensionModules); i++)
LoadExtension(&extensionModules[i], FALSE);
/* Need a non-NULL return */
return (pointer) 1;
}

View File

@ -835,6 +835,7 @@ static const char *compiled_in_modules[] = {
"ramdac", "ramdac",
"dbe", "dbe",
"record", "record",
"extmod",
NULL NULL
}; };