summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/common/Imakefile.inc
blob: 7fff046d88fb8209c40538ecdc3ef681a91177c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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