summaryrefslogtreecommitdiff
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-02 15:23:51 -0700
committerBen Skeggs <skeggsb@gmail.com>2007-12-09 12:05:24 +1100
commit1698cbde3029f047fe92107b3fd1176c258bd9a2 (patch)
tree5d5e6d18a8a337e64905f7e62650815a389dabb7 /src/mesa/Makefile
parente5d8ee205a8d6ef83381de9eff5dbef92b1c1a7e (diff)
Initial Cell driver infrastructure.
No real code yet. Just stand-ins and make/build infrastructure.
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 521cbeb606..6f0877d335 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -13,6 +13,11 @@ GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
SOFTPIPE_LIB = $(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a
+ifeq ($(CONFIG_NAME), linux-cell)
+CELL_LIB = $(TOP)/src/mesa/pipe/cell/ppu/libcell.a
+endif
+
+
.SUFFIXES : .cpp
.c.o:
@@ -112,12 +117,12 @@ stand-alone: depend subdirs $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$
osmesa-only: depend subdirs $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME)
# Make the GL library
-$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS) $(SOFTPIPE_LIB)
+$(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS) $(SOFTPIPE_LIB) $(CELL_LIB)
@ $(TOP)/bin/mklib -o $(GL_LIB) \
-major $(GL_MAJOR) -minor $(GL_MINOR) -patch $(GL_TINY) \
-install $(TOP)/$(LIB_DIR) \
$(MKLIB_OPTIONS) $(STAND_ALONE_OBJECTS) \
- $(SOFTPIPE_LIB) $(GL_LIB_DEPS)
+ $(SOFTPIPE_LIB) $(CELL_LIB)$(GL_LIB_DEPS)
# Make the OSMesa library
$(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME): $(OSMESA_DRIVER_OBJECTS) $(OSMESA16_OBJECTS)