XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/module/Imakefile,v 1.1 2002/05/31 18:12:37 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#define NeedAllMesaSrc
#define MesaInXServer
#define MesaBuildDir ../../src/module/
#define MesaACBuildDir ../../src/array_cache/module/
#define MesaMathBuildDir ../../src/math/module/
#define MesaSwrastBuildDir ../../src/swrast/module/
#define MesaSwrastSetupBuildDir ../../src/swrast_setup/module/
#define MesaTnlBuildDir ../../src/tnl/module/
#define MesaXBuildDir ../../src/X/module/

#include "../../../../../../lib/GL/mesa/src/array_cache/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/src/swrast/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/src/swrast_setup/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/src/tnl/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/src/math/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/src/X/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/src/Imakefile.inc"

#if DoLoadableServer
        MSRCS = GLcoremodule.c
        MOBJS = GLcoremodule.o
#endif

        XOBJS = ../../src/X/module/?*.o

         OBJS = $(COREMESAOBJS) $(MOBJS)

        DONES = ../../src/module/DONE ../../src/X/module/DONE \
		../../src/array_cache/module/DONE ../../src/math/module/DONE \
		../../src/swrast/module/DONE \
		../../src/swrast_setup/module/DONE ../../src/tnl/module/DONE

     INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \
		-I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include \
		-I$(MESASRCDIR)/src \
		-I$(SERVERSRC)/include

      DEFINES = $(GLX_DEFINES)

ModuleObjectRule()

DepLibraryModuleTarget(GLcore, $(DONES) $(OBJS),$(OBJS) $(XOBJS))
InstallLibraryModule(GLcore,$(MODULEDIR),extensions)

InstallDriverSDKLibraryModule(GLcore,$(DRIVERSDKMODULEDIR),extensions)

LinkSourceFile(GLcoremodule.c,..)

