XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/Imakefile,v 1.23 2002/11/22 22:56:00 tsi Exp $

#if DoLoadableServer
#define IHaveModules
#endif

#define IHaveSubdirs
      SUBDIRS = main math array_cache swrast swrast_setup tnl shader X GLcore $(MODSUBDIR)

#include <Server.tmpl>


#define NeedAllMesaSrc
#define NeedToLinkMesaSrc
#define MesaBuildDir /**/
#include "Imakefile.inc"

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

      DEFINES = $(GLX_DEFINES)

#ifdef IHaveModules
ModuleObjectRule()
#else
NormalLibraryObjectRule()
#endif

#ifdef IHaveSubdirs
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

DependTarget()
