summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/GL/mesa/src/array_cache/Imakefile
blob: 07430ae109736178bc40c65da01db1d2905ee16c (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
45
46
47
48
49
50
51
52
53
54
XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/array_cache/Imakefile,v 1.8 2002/11/22 22:56:01 tsi Exp $

#if DoLoadableServer
#if !BuildModuleInSubdir
#define IHaveModules
#elif !defined(IHaveModules)
#define IHaveSubdirs
SUBDIRS = module
#endif
#endif

#include <Server.tmpl>

#define NeedAllMesaSrc
#define NeedToLinkMesaSrc
#define MesaACBuildDir /**/
#if !defined(IHaveModules) || !BuildModuleInSubdir
#include "../../../../../../lib/GL/mesa/src/array_cache/Imakefile.inc"
#else
#include "../../../../../../../lib/GL/mesa/src/array_cache/Imakefile.inc"
#endif

         SRCS = $(MESA_AC_SRCS)
         OBJS = $(MESA_AC_OBJS)

     INCLUDES = -I$(MESASRCDIR)/src \
		-I$(MESASRCDIR)/src/array_cache \
		-I$(MESASRCDIR)/src/math \
		-I$(MESASRCDIR)/include \
                -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
                -I$(SERVERSRC)/GL/include -I$(SERVERSRC)/GL/glx \
                -I$(LIBSRC)/GL/include \
                -I$(XF86SRC) -I$(INCLUDESRC)

      DEFINES = $(GLX_DEFINES) /*-DUSE_X86_ASM*/ /*-DUSE_SPARC_ASM*/

#ifdef IHaveModules
ModuleObjectRule()
#else
NormalLibraryObjectRule()
#endif

SubdirLibraryRule($(OBJS))

LintLibraryTarget(dri,$(SRCS))
NormalLintTarget($(SRCS))

DependTarget()

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