aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile
blob: 5c910489f806137eb15c224961eb54553c88e60f (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,v 1.6 2001/04/03 02:29:34 dawes Exp $

#include <Threads.tmpl>

#if GlxUseBuiltInDRIDriver
#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC)
#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC)
#define DoExtraLib SharedLibGlx
#define DoDebugLib DebugLibGlx
#define DoProfileLib ProfileLibGlx
#else
#define DoNormalLib SharedLibGlxWithoutPIC
#define DoSharedLib !SharedLibGlxWithoutPIC
#define DoExtrasLib NO
#define DoDebugLib NO
#define DoProfileLib NO
#endif

#if defined(i386Architecture) && MesaUseX86Asm
#include "../../../x86/Imakefile.inc"
#endif
#ifdef SparcArchitecture
#include "../../../sparc/Imakefile.inc"
#endif

#define NeedToLinkMesaSrc
#define MesaDrvCommonBuildDir /**/
#include "Imakefile.inc"

      DEFINES = $(ALLOC_DEFINES) $(COMMON_DRI_DEFINES) $(MESA_ASM_DEFINES)
     INCLUDES = $(COMMON_X_INCLUDES) $(COMMON_MESA_INCLUDES) \
		$(COMMON_DRI_INCLUDES)

         SRCS = $(COMMONSRCS)
         OBJS = $(COMMONOBJS)
 
#include <Library.tmpl>

LibraryObjectRule()

SubdirLibraryRule($(OBJS))
NormalLintTarget($(SRCS))

DependTarget()