aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/mesa/GLcore/module/Imakefile
blob: 18dcdf0a16ad3cc6030752c18c4bd5ed7830063c (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
XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/Imakefile,v 1.2 2002/02/25 18:00:38 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#define NeedAllMesaSrc
#define MesaInXServer
#define MesaBuildDir ../../main/module/
#define MesaACBuildDir ../../array_cache/module/
#define MesaMathBuildDir ../../math/module/
#define MesaSwrastBuildDir ../../swrast/module/
#define MesaSwrastSetupBuildDir ../../swrast_setup/module/
#define MesaTnlBuildDir ../../tnl/module/
#define MesaXBuildDir ../../X/module/

#include "../../../../../../lib/GL/mesa/array_cache/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/swrast/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/swrast_setup/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/tnl/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/math/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/drivers/x11/Imakefile.inc"
#include "../../../../../../lib/GL/mesa/Imakefile.inc"

#if DoLoadableServer
        MSRCS = GLcoremodule.c
        MOBJS = GLcoremodule.o
#endif

        XOBJS = ../../X/module/?*.o

         OBJS = $(COREMESAOBJS) $(MOBJS)

        DONES = ../../module/DONE ../../X/module/DONE \
		../../array_cache/module/DONE ../../math/module/DONE \
		../../swrast/module/DONE \
		../../swrast_setup/module/DONE ../../tnl/module/DONE

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

      DEFINES = $(GLX_DEFINES)

ModuleObjectRule()

DepLibraryModuleTarget(GLcore, $(DONES) $(OBJS),$(OBJS) $(XOBJS))
InstallLibraryModule(GLcore,$(MODULEDIR),extensions)

InstallDriverSDKLibraryModule(GLcore,$(DRIVERSDKMODULEDIR),extensions)

LinkSourceFile(GLcoremodule.c,..)