aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/mesa/Imakefile
blob: 7f9b5191ca938a868d499f730974fc312d153262 (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
#if DoLoadableServer
#define IHaveModules
#endif

#define IHaveSubdirs
      SUBDIRS = main math array_cache swrast swrast_setup tnl shader X GLcore $(MODSUBDIR)

#include <Server.tmpl>


#define NeedAllMesaSrc
#define NeedToLinkMesaSrc
#define MesaBuildDir /**/
#include "Imakefile.inc"

     INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \
		-I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include \
		-I$(MESASRCDIR)/src/mesa \
		-I$(SERVERSRC)/include

      DEFINES = $(GLX_DEFINES)

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

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

DependTarget()