56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
XCOMM $XFree86: xc/programs/Xserver/GL/mesa/math/Imakefile,v 1.1 2004/04/08 10:08:01 alanh Exp $
|
|
|
|
#if DoLoadableServer
|
|
#if !BuildModuleInSubdir
|
|
#define IHaveModules
|
|
#elif !defined(IHaveModules)
|
|
#define IHaveSubdirs
|
|
SUBDIRS = module
|
|
#endif
|
|
#endif
|
|
|
|
#include <Server.tmpl>
|
|
|
|
#define NeedAllMesaSrc
|
|
#define NeedToLinkMesaSrc
|
|
#define MesaMathBuildDir /**/
|
|
#if !defined(IHaveModules) || !BuildModuleInSubdir
|
|
#include "../../../../../lib/GL/mesa/math/Imakefile.inc"
|
|
#else
|
|
#include "../../../../../../lib/GL/mesa/math/Imakefile.inc"
|
|
#endif
|
|
|
|
SRCS = $(MESA_MATH_SRCS)
|
|
OBJS = $(MESA_MATH_OBJS)
|
|
|
|
INCLUDES = -I$(MESASRCDIR)/src/mesa \
|
|
-I$(MESASRCDIR)/src/mesa/math \
|
|
-I$(MESASRCDIR)/src/mesa/main \
|
|
-I$(MESASRCDIR)/src/mesa/glapi \
|
|
-I$(MESASRCDIR)/include \
|
|
-I$(SERVERSRC)/include -I$(XINCLUDESRC) \
|
|
-I$(SERVERSRC)/GL/include -I$(SERVERSRC)/GL/glx \
|
|
-I$(LIBSRC)/GL/include \
|
|
-I$(XF86SRC) -I$(INCLUDESRC)
|
|
|
|
DEFINES = $(GLX_DEFINES) /*-DUSE_X86_ASM*/ /*-DUSE_SPARC_ASM*/
|
|
|
|
#ifdef IHaveModules
|
|
ModuleObjectRule()
|
|
#else
|
|
NormalLibraryObjectRule()
|
|
#endif
|
|
|
|
SubdirLibraryRule($(OBJS))
|
|
|
|
LintLibraryTarget(dri,$(SRCS))
|
|
NormalLintTarget($(SRCS))
|
|
|
|
DependTarget()
|
|
|
|
#ifdef IHaveSubdirs
|
|
MakeSubdirs($(SUBDIRS))
|
|
DependSubdirs($(SUBDIRS))
|
|
#endif
|
|
|