Move XFree86-VidMode from extmod to built-in
As with DGA, move VidMode from being part of extmod to a built-in part of the server, if compiled as such. This is initialised from xf86ExtensionInit rather than miinitext because it's wholly dependent on the Xorg DDX. 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>
This commit is contained in:
parent
60f53e3012
commit
6e74fdda42
|
@ -47,7 +47,7 @@ libcommon_la_SOURCES = xf86Configure.c xf86Bus.c xf86Config.c \
|
|||
xf86VidMode.c xf86fbman.c xf86cmap.c \
|
||||
xf86Helper.c xf86PM.c xf86Xinput.c xisb.c \
|
||||
xf86Mode.c xorgHelper.c xf86Extensions.h \
|
||||
xf86Extensions.c \
|
||||
xf86Extensions.c xf86vmode.c \
|
||||
$(XVSOURCES) $(BUSSOURCES) $(RANDRSOURCES)
|
||||
nodist_libcommon_la_SOURCES = xf86DefModeSet.c xf86Build.h
|
||||
libcommon_la_LIBADD = $(top_builddir)/config/libconfig.la
|
||||
|
|
|
@ -45,10 +45,24 @@
|
|||
#include <X11/extensions/xf86dgaproto.h>
|
||||
#endif
|
||||
|
||||
#ifdef XF86VIDMODE
|
||||
#include <X11/extensions/xf86vmproto.h>
|
||||
#include "vidmodeproc.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* DDX-specific extensions.
|
||||
*/
|
||||
static ExtensionModule extensionModules[] = {
|
||||
#ifdef XF86VIDMODE
|
||||
{
|
||||
XFree86VidModeExtensionInit,
|
||||
XF86VIDMODENAME,
|
||||
&noXFree86VidModeExtension,
|
||||
NULL,
|
||||
NULL
|
||||
},
|
||||
#endif
|
||||
#ifdef XFreeXDGA
|
||||
{
|
||||
XFree86DGAExtensionInit,
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
extsmoduledir = $(moduledir)/extensions
|
||||
extsmodule_LTLIBRARIES = libextmod.la
|
||||
|
||||
if XF86VIDMODE
|
||||
XF86VMODE_SRCS = xf86vmode.c
|
||||
endif
|
||||
|
||||
AM_CFLAGS = @DIX_CFLAGS@ @XORG_CFLAGS@
|
||||
INCLUDES = @XORG_INCS@ \
|
||||
-I$(top_srcdir)/dbe \
|
||||
|
@ -12,6 +8,5 @@ INCLUDES = @XORG_INCS@ \
|
|||
-I$(top_srcdir)/miext/shadow
|
||||
|
||||
libextmod_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
||||
libextmod_la_SOURCES = modinit.c \
|
||||
$(XF86VMODE_SRCS)
|
||||
libextmod_la_SOURCES = modinit.c
|
||||
libextmod_la_LIBADD = $(top_builddir)/Xext/libXextmodule.la
|
||||
|
|
|
@ -39,14 +39,6 @@ static MODULESETUPPROTO(extmodSetup);
|
|||
* Array describing extensions to be initialized
|
||||
*/
|
||||
static ExtensionModule extensionModules[] = {
|
||||
#ifdef XF86VIDMODE
|
||||
{
|
||||
XFree86VidModeExtensionInit,
|
||||
XF86VIDMODENAME,
|
||||
&noXFree86VidModeExtension,
|
||||
NULL,
|
||||
NULL},
|
||||
#endif
|
||||
};
|
||||
|
||||
static XF86ModuleVersionInfo VersRec = {
|
||||
|
|
|
@ -133,12 +133,9 @@ cat > sdksyms.c << EOF
|
|||
# include "xf86xvmc.h"
|
||||
# include "xf86xvpriv.h"
|
||||
#endif
|
||||
/* XF86VidMode code is in libextmod module */
|
||||
/*
|
||||
#if XF86VIDMODE
|
||||
# include "vidmodeproc.h"
|
||||
#endif
|
||||
*/
|
||||
#include "xorgVersion.h"
|
||||
#if defined(__sparc__) || defined(__sparc)
|
||||
# include "xf86sbusBus.h"
|
||||
|
|
Loading…
Reference in New Issue