46 lines
913 B
Plaintext
46 lines
913 B
Plaintext
#define IHaveModules
|
|
#include <Server.tmpl>
|
|
|
|
#define IHaveSubdirs
|
|
|
|
CORE_SUBDIR = mesa
|
|
|
|
SUBDIRS = glx $(CORE_SUBDIR)
|
|
|
|
|
|
#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)
|