aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/Imakefile
blob: c681d23e00b6957f5a3dca51cbc79aed640bbc98 (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
XCOMM $XFree86: xc/programs/Xserver/GL/Imakefile,v 1.12 2003/08/06 14:04:01 eich Exp $

#define IHaveModules
#include <Server.tmpl>

#define IHaveSubdirs

 CORE_SUBDIR = mesa

SUBDIRS = glx $(CORE_SUBDIR)

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

#if BuildModuleInSubdir
SRCS = glx/module/?*.c $(MSRCS)
OBJS = glx/module/?*.o $(MOBJS)
#else
SRCS = glx/?*.c $(MSRCS)
OBJS = glx/?*.o $(MOBJS)
#endif

DONES = glx/DONE

INCLUDES = -Iinclude -I$(SERVERSRC)/include -I$(SERVERSRC)/mi \
	   -I$(XINCLUDESRC) -I$(EXTINCSRC) -I$(XF86OSSRC)
DEPEND_DEFINES = $(EXT_DEFINES) DependDefines
DEFINES = $(GLX_DEFINES)

#if HasParallelMake
MakeMutex($(SUBDIRS) $(OBJS) $(DONES))
#endif

#if HasGnuMake || HasBsdMake 
$(DONES): $(SUBDIRS)
#endif

ModuleObjectRule()

DepLibraryModuleTarget(glx,$(SUBDIRS) $(DONES) $(MOBJS),$(OBJS))

InstallLibraryModule(glx,$(MODULEDIR),extensions)
ForceSubdirs($(SUBDIRS))

DependSubdirs($(SUBDIRS))
MakeLintLibSubdirs($(SUBDIRS))
LintSubdirs($(SUBDIRS))

InstallDriverSDKLibraryModule(glx,$(DRIVERSDKMODULEDIR),extensions)