aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile
blob: 8e3b77edac96442cb427a5e9f78461e999d44b87 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/Imakefile,v 1.3 2002/05/31 18:12:36 dawes Exp $

#if DoLoadableServer
#define IHaveModules
#endif

#include <Server.tmpl>

#define NeedAllMesaSrc
#define MesaInXServer
#define MesaBuildDir ../main/
#define MesaACBuildDir ../array_cache/
#define MesaMathBuildDir ../math/
#define MesaSwrastBuildDir ../swrast/
#define MesaSwrastSetupBuildDir ../swrast_setup/
#define MesaTnlBuildDir ../tnl/
#define MesaShaderBuildDir ../shader/
#define MesaGrammarBuildDir ../shader/grammar/
#define MesaSlangBuildDir ../shader/slang/
#define MesaXBuildDir ../X/

#include "../array_cache/Imakefile.inc"
#include "../swrast/Imakefile.inc"
#include "../swrast_setup/Imakefile.inc"
#include "../tnl/Imakefile.inc"
#include "../main/Imakefile.inc"
#include "../math/Imakefile.inc"
#include "../shader/Imakefile.inc"
#include "../shader/grammar/Imakefile.inc"
#include "../shader/slang/Imakefile.inc"
#include "../X/Imakefile.inc"
#include "../Imakefile.inc"

#ifdef IHaveModules
        MSRCS = GLcoremodule.c
        MOBJS = GLcoremodule.o
#endif

        XOBJS = ../X/?*.o

         OBJS = $(COREMESAOBJS) $(MOBJS)

        DONES = ../main/DONE ../X/DONE ../array_cache/DONE \
		../math/DONE ../swrast/DONE ../swrast_setup/DONE \
		../tnl/DONE ../shader/DONE ../shader/grammar/DONE \
                ../shader/slang/DONE

     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()

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

#else
NormalDepLibraryTarget(GLcore, $(DONES) $(OBJS), $(OBJS) $(XOBJS))
NormalLibraryObjectRule()
#endif

InstallDriverSDKLibraryModule(GLcore,$(DRIVERSDKMODULEDIR),extensions)

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