diff options
author | Eric Anholt <[email protected]> | 2012-06-12 11:38:19 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-06-21 10:09:17 -0700 |
commit | 2d4b77c7c6c76b3c2083471a1afa4f19dfbb3d5f (patch) | |
tree | 638d775d183adf89822a7e13737013b2fe2163a2 /src/mesa/drivers/x11/Makefile | |
parent | 2fb0f770a4bfbcb1d2c4787d286812ec6133d994 (diff) |
automake: Convert src/mesa/drivers/x11/Makefile to automake.
The weird versioning of the libGL where the package version was sort
of expressed as a big integer is dropped. libtool didn't like the 0
prefix, and it didn't really make sense anyway -- if you interpret it
as an integer version number, old Mesa 071200 was bigger than current
Mesa 08100. Instead, just bump the minor version and drop the
patchlevel.
Diffstat (limited to 'src/mesa/drivers/x11/Makefile')
-rw-r--r-- | src/mesa/drivers/x11/Makefile | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/src/mesa/drivers/x11/Makefile b/src/mesa/drivers/x11/Makefile deleted file mode 100644 index 437c4f31820..00000000000 --- a/src/mesa/drivers/x11/Makefile +++ /dev/null @@ -1,81 +0,0 @@ -# src/mesa/drivers/x11/Makefile for libGL.so - -# This builds "stand-alone" Mesa, a version of libGL that does not need the -# GLX extension. All rendering is converted to Xlib calls. No hardware -# acceleration. - - -TOP = ../../../.. - -include $(TOP)/configs/current - - -GL_MAJOR = 1 -GL_MINOR = 5 -GL_TINY = 0$(MESA_MAJOR)$(MESA_MINOR)0$(MESA_TINY) - - -HEADERS = \ - glxapi.h \ - glxheader.h \ - xfonts.h \ - xmesaP.h \ - xm_image.h - -SOURCES = \ - fakeglx.c \ - glxapi.c \ - xfonts.c \ - xm_api.c \ - xm_buffer.c \ - xm_dd.c \ - xm_line.c \ - xm_tri.c - -OBJECTS = $(SOURCES:.c=.o) - -INCLUDE_DIRS = \ - -I$(TOP)/include \ - -I$(TOP)/src/mapi \ - -I$(TOP)/src/mesa \ - -I$(TOP)/src/mesa/main \ - $(X11_INCLUDES) - -CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mapi/glapi/libglapi.a - -ifeq ($(SHARED_GLAPI),1) -GL_LIB_DEPS := -L$(TOP)/$(LIB_DIR) -l$(GLAPI_LIB) $(GL_LIB_DEPS) -endif - - -.c.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ - - -default: $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) - - -$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) $(CORE_MESA) - @ $(MKLIB) -o $(GL_LIB) -linker '$(CXX)' -ldflags '$(LDFLAGS)' \ - -major $(GL_MAJOR) -minor $(GL_MINOR) -patch $(GL_TINY) \ - -install $(TOP)/$(LIB_DIR) \ - -cplusplus $(MKLIB_OPTIONS) \ - -id $(INSTALL_LIB_DIR)/lib$(GL_LIB).$(GL_MAJOR).dylib \ - $(GL_LIB_DEPS) $(OBJECTS) $(CORE_MESA) - - - -clean: - -rm -f *.o *~ - -rm -f depend depend.bak - - - -depend: $(SOURCES) $(HEADERS) - @ echo "running $(MKDEP)" - @ touch depend - @$(MKDEP) $(MKDEP_OPTIONS) $(DEFINES) $(INCLUDE_DIRS) $(SOURCES) $(HEADERS) \ - > /dev/null 2>/dev/null - - --include depend |