diff options
author | Jakob Bornecrantz <[email protected]> | 2009-02-10 17:43:25 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-02-10 17:43:25 +0100 |
commit | 767b1acbb757186bde30973394f256ab7498a075 (patch) | |
tree | d512cab157671b95b71700652131c897e2f168bd | |
parent | 1789dc8015d75b996a546a94f88d8cdaa3c7e8c4 (diff) |
mesa: Build both software rasterizers for debug
But put the gallium one in lib/gallium
-rw-r--r-- | configs/default | 2 | ||||
-rw-r--r-- | src/gallium/winsys/xlib/Makefile | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/configs/default b/configs/default index 3a49c5a9695..4c8698ccc46 100644 --- a/configs/default +++ b/configs/default @@ -81,7 +81,7 @@ MOTIF_CFLAGS = -I/usr/include/Motif1.2 LIB_DIR = lib SRC_DIRS = mesa gallium egl gallium/winsys glu glut/glx glew glw GLU_DIRS = sgi -DRIVER_DIRS = +DRIVER_DIRS = x11 osmesa # Which subdirs under $(TOP)/progs/ to enter: PROGRAM_DIRS = demos redbook samples glsl xdemos diff --git a/src/gallium/winsys/xlib/Makefile b/src/gallium/winsys/xlib/Makefile index 9d70f3cb9c1..bb187cc14a5 100644 --- a/src/gallium/winsys/xlib/Makefile +++ b/src/gallium/winsys/xlib/Makefile @@ -62,15 +62,17 @@ LIBS = \ -default: $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) +default: $(TOP)/$(LIB_DIR)/gallium $(TOP)/$(LIB_DIR)/gallium/$(GL_LIB_NAME) +$(TOP)/$(LIB_DIR)/gallium: + @ mkdir -p $(TOP)/$(LIB_DIR)/gallium # Make the libGL.so library -$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(XLIB_WINSYS_OBJECTS) $(LIBS) Makefile +$(TOP)/$(LIB_DIR)/gallium/$(GL_LIB_NAME): $(XLIB_WINSYS_OBJECTS) $(LIBS) Makefile $(TOP)/bin/mklib -o $(GL_LIB) \ -linker "$(CC)" \ -major $(GL_MAJOR) -minor $(GL_MINOR) -patch $(GL_TINY) \ - -install $(TOP)/$(LIB_DIR) \ + -install $(TOP)/$(LIB_DIR)/gallium \ $(MKLIB_OPTIONS) $(XLIB_WINSYS_OBJECTS) \ --start-group $(LIBS) --end-group $(GL_LIB_DEPS) |