diff options
Diffstat (limited to 'xc/lib/GL/mesa/src/Imakefile')
-rw-r--r-- | xc/lib/GL/mesa/src/Imakefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/xc/lib/GL/mesa/src/Imakefile b/xc/lib/GL/mesa/src/Imakefile index 203651d9a..145babf29 100644 --- a/xc/lib/GL/mesa/src/Imakefile +++ b/xc/lib/GL/mesa/src/Imakefile @@ -26,13 +26,15 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/Imakefile,v 1.26 2001/05/02 15:06:02 dawes Ex ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL #endif -#if GlxBuiltInTdfx - TDFX_DEFINES = -DFX -#endif - #ifdef i386Architecture #define MesaX86BuildDir /**/ #include "X86/Imakefile.inc" +ASM_SUBDIRS = X86 +#endif +#ifdef Sparcrchitecture +#define MesaSparcBuildDir /**/ +#include "SPARC/Imakefile.inc" +ASM_SUBDIRS = SPARC #endif #define MesaBuildDir /**/ #define NeedToLinkMesaSrc @@ -42,12 +44,13 @@ ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL MATH_DEFINES = -DCCPML #endif - DEFINES = $(ALLOC_DEFINES) GlxDefines $(TDFX_DEFINES) \ + DEFINES = $(ALLOC_DEFINES) GlxDefines \ $(MESA_ASM_DEFINES) $(MATH_DEFINES) INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \ - -I$(MESASRCDIR)/src -I$(GLXLIBSRC)/dri - SRCS = $(COREMESASRCS) - OBJS = $(COREMESAOBJS) + -I$(MESASRCDIR)/src -I$(GLXLIBSRC)/dri \ + -I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include + SRCS = $(COREMESABASESRCS) + OBJS = $(COREMESABASEOBJS) #include <Library.tmpl> @@ -56,16 +59,14 @@ LibraryObjectRule() SubdirLibraryRule($(OBJS)) NormalLintTarget($(SRCS)) -#ifdef i386Architecture - #define IHaveSubdirs #define PassCDebugFlags -SUBDIRS = X86 +SUBDIRS = $(ASM_SUBDIRS) math array_cache swrast swrast_setup tnl tnl_dd X + MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) -#endif DependTarget() |