summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/common/Imakefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/common/Imakefile.inc')
-rw-r--r--xc/lib/GL/mesa/src/drv/common/Imakefile.inc44
1 files changed, 44 insertions, 0 deletions
diff --git a/xc/lib/GL/mesa/src/drv/common/Imakefile.inc b/xc/lib/GL/mesa/src/drv/common/Imakefile.inc
new file mode 100644
index 000000000..7fff046d8
--- /dev/null
+++ b/xc/lib/GL/mesa/src/drv/common/Imakefile.inc
@@ -0,0 +1,44 @@
+XCOMM $XFree86: xc/lib/GL/mesa/src/drv/common/Imakefile.inc,v 1.1 2001/03/23 19:18:38 dawes Exp $
+
+#ifndef MesaDrvSrcDir
+#define MesaDrvSrcDir $(GLXLIBSRC)/mesa/src/drv
+#endif
+
+MESADRVSRCDIR = MesaDrvSrcDir
+
+#ifndef MesaDrvCommonBuildDir
+#define MesaDrvCommonBuildDir $(MESADRVSRCDIR)/common/
+#endif
+MESADRVCOMMONBUILDDIR = MesaDrvCommonBuildDir
+
+#if Malloc0ReturnsNull
+ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
+#endif
+
+#if BuildXF86DRI
+ DRI_DEFINES = GlxDefines -DDRIVERTS
+ DRI_INCLUDES =
+#endif
+
+MESA_INCLUDES = -I$(MESADRVSRCDIR)/common
+ X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC)
+
+ COMMONSRCS = $(MESADRVCOMMONBUILDDIR)hwlog.c \
+ $(MESADRVCOMMONBUILDDIR)mm.c
+
+ COMMONOBJS = $(MESADRVCOMMONBUILDDIR)hwlog.o \
+ $(MESADRVCOMMONBUILDDIR)mm.o
+
+ COMMONUOBJS = $(MESADRVCOMMONBUILDDIR)unshared/hwlog.o \
+ $(MESADRVCOMMONBUILDDIR)unshared/mm.o
+
+ COMMONDOBJS = $(MESADRVCOMMONBUILDDIR)debugger/hwlog.o \
+ $(MESADRVCOMMONBUILDDIR)debugger/mm.o
+
+ COMMONPOBJS = $(MESADRVCOMMONBUILDDIR)profiled/hwlog.o \
+ $(MESADRVCOMMONBUILDDIR)profiled/mm.o
+
+#ifdef NeedToLinkMesaSrc
+LinkSourceFile(hwlog.c, $(MESADRVSRCDIR)/common)
+LinkSourceFile(mm.c, $(MESADRVSRCDIR)/common)
+#endif