summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/Makefile.template
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-16 09:25:05 -0600
committerBrian Paul <brianp@vmware.com>2009-10-16 13:07:43 -0600
commitdb2046580f3b5be0e9fe30337f3bf412c4556ed9 (patch)
tree38de49359da22e9ece41b658cb29de3e40bb3cda /src/mesa/drivers/dri/Makefile.template
parentd9fd207133ba2ff8cd0bbcab6963c70d71628b1b (diff)
mesa: use EXTRA_MODULES and SUBDIRS to build r300 compiler
This is a bit cleaner and avoids rebuilding the r300_dri.so library all the time.
Diffstat (limited to 'src/mesa/drivers/dri/Makefile.template')
-rw-r--r--src/mesa/drivers/dri/Makefile.template6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index defead6c6b..d2731aebae 100644
--- a/src/mesa/drivers/dri/Makefile.template
+++ b/src/mesa/drivers/dri/Makefile.template
@@ -63,9 +63,11 @@ SHARED_INCLUDES = \
default: symlinks subdirs depend $(LIBNAME) $(TOP)/$(LIB_DIR)/$(LIBNAME)
-$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(PIPE_DRIVERS) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template
+$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(WINOBJ) Makefile \
+ $(TOP)/src/mesa/drivers/dri/Makefile.template
$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
- $(OBJECTS) $(PIPE_DRIVERS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS)
+ $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(WINOBJ) \
+ $(DRI_LIB_DEPS)
$(TOP)/$(LIB_DIR)/$(LIBNAME): $(LIBNAME)