#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)

NormalLibraryObjectRule()

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

DependTarget()