mesa: Build both software rasterizers for debug
But put the gallium one in lib/gallium
This commit is contained in:
parent
1789dc8015
commit
767b1acbb7
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue