XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/Imakefile,v 1.3 2002/05/31 18:12:36 dawes Exp $ #if DoLoadableServer #define IHaveModules #endif #include #define NeedAllMesaSrc #define MesaInXServer #define MesaBuildDir ../main/ #define MesaACBuildDir ../array_cache/ #define MesaMathBuildDir ../math/ #define MesaSwrastBuildDir ../swrast/ #define MesaSwrastSetupBuildDir ../swrast_setup/ #define MesaTnlBuildDir ../tnl/ #define MesaShaderBuildDir ../shader/ #define MesaGrammarBuildDir ../shader/grammar/ #define MesaSlangBuildDir ../shader/slang/ #define MesaXBuildDir ../X/ #include "../array_cache/Imakefile.inc" #include "../swrast/Imakefile.inc" #include "../swrast_setup/Imakefile.inc" #include "../tnl/Imakefile.inc" #include "../main/Imakefile.inc" #include "../math/Imakefile.inc" #include "../shader/Imakefile.inc" #include "../shader/grammar/Imakefile.inc" #include "../shader/slang/Imakefile.inc" #include "../X/Imakefile.inc" #include "../Imakefile.inc" #ifdef IHaveModules MSRCS = GLcoremodule.c MOBJS = GLcoremodule.o #endif XOBJS = ../X/?*.o OBJS = $(COREMESAOBJS) $(MOBJS) DONES = ../main/DONE ../X/DONE ../array_cache/DONE \ ../math/DONE ../swrast/DONE ../swrast_setup/DONE \ ../tnl/DONE ../shader/DONE ../shader/grammar/DONE \ ../shader/slang/DONE 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() DepLibraryModuleTarget(GLcore, $(DONES) $(OBJS),$(OBJS) $(XOBJS)) InstallLibraryModule(GLcore,$(MODULEDIR),extensions) #else NormalDepLibraryTarget(GLcore, $(DONES) $(OBJS), $(OBJS) $(XOBJS)) NormalLibraryObjectRule() #endif InstallDriverSDKLibraryModule(GLcore,$(DRIVERSDKMODULEDIR),extensions) #ifdef IHaveSubdirs MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) #endif