diff options
Diffstat (limited to 'nx-X11/programs/Xserver/GL/mesa/Imakefile')
-rw-r--r-- | nx-X11/programs/Xserver/GL/mesa/Imakefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/GL/mesa/Imakefile b/nx-X11/programs/Xserver/GL/mesa/Imakefile new file mode 100644 index 000000000..ea7d18aa2 --- /dev/null +++ b/nx-X11/programs/Xserver/GL/mesa/Imakefile @@ -0,0 +1,47 @@ +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 <Server.tmpl> + + +#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() + |