XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/Imakefile,v 1.23 2002/11/22 22:56:00 tsi Exp $ #if DoLoadableServer #if !BuildModuleInSubdir #define IHaveModules #elif !defined(IHaveModules) MODSUBDIR = module #endif #endif #if !defined(IHaveModules) || !BuildModuleInSubdir #define IHaveSubdirs SUBDIRS = main math array_cache swrast swrast_setup tnl shader X GLcore $(MODSUBDIR) #endif #include #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaBuildDir /**/ #if !defined(IHaveModules) || !BuildModuleInSubdir #include "../../../../lib/GL/mesa/Imakefile.inc" #else #include "../../../../../../lib/GL/mesa/Imakefile.inc" #endif 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() #else NormalLibraryObjectRule() #endif #ifdef IHaveSubdirs MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) #endif DependTarget()