XCOMM $XFree86: xc/lib/GL/Imakefile,v 1.37 2001/03/23 20:56:28 dawes Exp $

#include <Threads.tmpl>

#define IHaveSubdirs

#define PassCDebugFlags

LIBGLBUILDDIR = GL
      GLXDIRS = glx

#if BuildXF86DRI && !GlxUseSGISI && \
	(!GlxBuiltInMesa || !defined(GlxDriverUsesMesa))
     MESADIRS = mesa/src
   OSMESADIRS = mesa/src/OSmesa
#endif

#if BuildXF86DRI
      DRIDIRS = dri mesa/dri
     MESADIRS = mesa/src
   DRIVERDIRS = mesa/src/drv
#endif

#if GlxUseBuiltInDRIDriver
SUBDIRS = $(MESADIRS) $(DRIDIRS) $(DRIVERDIRS) $(GLXDIRS) $(LIBGLBUILDDIR) $(OSMESADIRS)
#else
SUBDIRS = $(MESADIRS) $(GLXDIRS) $(DRIDIRS) $(LIBGLBUILDDIR) $(OSMESADIRS) $(DRIVERDIRS)
#endif

MakeSubdirs($(SUBDIRS))

DependSubdirs($(SUBDIRS))

