diff --git a/configure.ac b/configure.ac index ad1bde8f2..6b3acc48a 100644 --- a/configure.ac +++ b/configure.ac @@ -1261,7 +1261,7 @@ if test "x$XGL" = xyes; then AC_SUBST([XGL_LIBS]) AC_SUBST([XGL_SYS_LIBS]) AC_DEFINE(XGL_MODULAR, 1, [Use loadable XGL modules]) - SERVER_DEFINES="$SERVER_DEFINES -DXGLServer" + AC_DEFINE(XGLServer, 1, [Building XGL server]) xglmoduledir="$moduledir/xgl" AC_SUBST([xglmoduledir]) diff --git a/hw/xgl/glxext/Makefile.am b/hw/xgl/glxext/Makefile.am index 4fa84a685..830b2d17b 100644 --- a/hw/xgl/glxext/Makefile.am +++ b/hw/xgl/glxext/Makefile.am @@ -16,7 +16,7 @@ AM_CFLAGS = \ libxglglxext_libraries = libxglglxext.la libxglglxext_la_SOURCES = \ xglglxext.h \ - xglglxext.c \ + xglglxext.c \ xglglxlog.c noinst_LTLIBRARIES = $(libxglglxext_libraries) diff --git a/hw/xgl/glxext/module/Makefile.am b/hw/xgl/glxext/module/Makefile.am index 4633f7ffa..66ea80afd 100644 --- a/hw/xgl/glxext/module/Makefile.am +++ b/hw/xgl/glxext/module/Makefile.am @@ -5,18 +5,12 @@ AM_CFLAGS = \ $(XGLMODULES_CFLAGS) \ -I$(top_srcdir)/hw/xgl -libglx_la_LDFLAGS = -avoid-version -libglx_la_SOURCES = glxmodule.c -libglx_la_LIBADD = $(top_builddir)/GL/glx/libglx.la -libglx_modules = libglx.la - -libglcore_la_LDFLAGS = -avoid-version -libglcore_la_SOURCES = glcoremodule.c -libglcore_la_LIBADD = $(top_builddir)/GL/mesa/libGLcore.la -libglcore_modules = libglcore.la +libglxext_la_LDFLAGS = -avoid-version +libglxext_la_SOURCES = glxmodule.c +libglxext_la_LIBADD = $(top_builddir)/GL/glx/libglx.la \ + $(top_builddir)/GL/mesa/libGLcore.la +libglxext_modules = libglxext.la moduledir = @XGL_MODULE_PATH@ -module_LTLIBRARIES = \ - $(libglcore_modules) \ - $(libglx_modules) +module_LTLIBRARIES = $(libglxext_modules) diff --git a/hw/xgl/glxext/module/glcoremodule.c b/hw/xgl/glxext/module/glcoremodule.c deleted file mode 100644 index 37aa9c658..000000000 --- a/hw/xgl/glxext/module/glcoremodule.c +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright © 2005 Novell, Inc. - * - * 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 - * Novell, Inc. not be used in advertising or publicity pertaining to - * distribution of the software without specific, written prior permission. - * Novell, Inc. makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without express or - * implied warranty. - * - * NOVELL, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, - * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN - * NO EVENT SHALL NOVELL, INC. 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. - * - * Author: David Reveman - */ - -#include "xglmodule.h" - -char * -moduleVersion (void) -{ - return VERSION; -} - -Bool -moduleInit (const char *module) -{ - return TRUE; -}