XCOMM $XFree86: xc/lib/GL/mesa/src/drv/common/Imakefile,v 1.7 2003/09/28 20:15:06 alanh Exp $ #include <Threads.tmpl> #if GlxUseBuiltInDRIDriver #define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) #define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) #define DoExtraLib SharedLibGlx #define DoDebugLib DebugLibGlx #define DoProfileLib ProfileLibGlx #else #define DoNormalLib SharedLibGlxWithoutPIC #define DoSharedLib !SharedLibGlxWithoutPIC #define DoExtrasLib NO #define DoDebugLib NO #define DoProfileLib NO #endif #define MesaDrvCommonBuildDir /**/ #include "Imakefile.inc" #if defined(i386Architecture) && MesaUseX86Asm #include "../../X86/Imakefile.inc" #endif #ifdef SparcArchitecture #include "../../SPARC/Imakefile.inc" #endif DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(MESA_ASM_DEFINES) INCLUDES = $(X_INCLUDES) $(MESA_INCLUDES) $(DRI_INCLUDES) SRCS = $(COMMONSRCS) OBJS = $(COMMONOBJS) #include <Library.tmpl> LibraryObjectRule() SubdirLibraryRule($(OBJS)) NormalLintTarget($(SRCS)) DependTarget()