blob: 2800627e5293221748d2564f385d826b0b5ef18e (
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
|
XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/Imakefile,v 1.4 2002/06/02 01:21:13 dawes Exp $
#if DoLoadableServer
#if !BuildModuleInSubdir
#define IHaveModules
#elif !defined(IHaveModules)
#define IHaveSubdirs
SUBDIRS = module
#endif
#endif
#include <Server.tmpl>
#define NeedAllMesaSrc
#define MesaInXServer
#define MesaBuildDir ../src/
#define MesaACBuildDir ../src/array_cache/
#define MesaMathBuildDir ../src/math/
#define MesaSwrastBuildDir ../src/swrast/
#define MesaSwrastSetupBuildDir ../src/swrast_setup/
#define MesaTnlBuildDir ../src/tnl/
#define MesaXBuildDir ../src/X/
#include "../../../../../lib/GL/mesa/src/array_cache/Imakefile.inc"
#include "../../../../../lib/GL/mesa/src/swrast/Imakefile.inc"
#include "../../../../../lib/GL/mesa/src/swrast_setup/Imakefile.inc"
#include "../../../../../lib/GL/mesa/src/tnl/Imakefile.inc"
#include "../../../../../lib/GL/mesa/src/math/Imakefile.inc"
#include "../../../../../lib/GL/mesa/src/X/Imakefile.inc"
#include "../../../../../lib/GL/mesa/src/Imakefile.inc"
#ifdef IHaveModules
MSRCS = GLcoremodule.c
MOBJS = GLcoremodule.o
#endif
XOBJS = ../src/X/?*.o
OBJS = $(COREMESAOBJS) $(MOBJS)
DONES = ../src/DONE ../src/X/DONE ../src/array_cache/DONE \
../src/math/DONE ../src/swrast/DONE ../src/swrast_setup/DONE \
../src/tnl/DONE
INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \
-I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include \
-I$(MESASRCDIR)/src \
-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
|