summaryrefslogtreecommitdiffstats
path: root/src/gbm
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-06-24 10:39:06 +0900
committerChia-I Wu <olv@lunarg.com>2011-06-24 16:43:03 +0900
commitf36d210c93b1fde0cdc5c6625ca2df25ad937aba (patch)
tree0d5fe5fdad1e722436b783d5101e44e82d74ab2b /src/gbm
parent15e64242f9f97f5e001bc7b9f94f17b013230ba5 (diff)
downloadexternal_mesa3d-f36d210c93b1fde0cdc5c6625ca2df25ad937aba.zip
external_mesa3d-f36d210c93b1fde0cdc5c6625ca2df25ad937aba.tar.gz
external_mesa3d-f36d210c93b1fde0cdc5c6625ca2df25ad937aba.tar.bz2
targets/gbm: build pipe drivers
Build pipe drivers here instead of using those built by the soon-to-be-removed targets/egl. [with an update by Benjamin Franzke to use --{start|end}-group]
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/backends/Makefile.template10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gbm/backends/Makefile.template b/src/gbm/backends/Makefile.template
index 90b239a..851e5c5 100644
--- a/src/gbm/backends/Makefile.template
+++ b/src/gbm/backends/Makefile.template
@@ -24,7 +24,7 @@ GBM_TARGET = $(GBM_BACKEND_PATH)
GBM_INSTALL = install-so
endif
-default: depend $(GBM_TARGET)
+default: depend $(GBM_TARGET) $(GBM_EXTRA_TARGETS)
$(GBM_BACKEND_PATH): $(GBM_BACKEND).so
@$(INSTALL) -d $(TOP)/$(LIB_DIR)/gbm
@@ -46,20 +46,20 @@ install-so: $(GBM_BACKEND_PATH)
$(INSTALL) -d $(DESTDIR)$(GBM_BACKEND_INSTALL_DIR)
$(MINSTALL) $(GBM_BACKEND_PATH) $(DESTDIR)$(GBM_BACKEND_INSTALL_DIR)
-install: $(GBM_INSTALL)
+install: $(GBM_INSTALL) $(GBM_EXTRA_INSTALL)
-clean:
+clean: $(GBM_EXTRA_CLEAN)
rm -f $(GBM_BACKEND).so
rm -f lib$(GBM_BACKEND).a
rm -f $(GBM_OBJECTS)
rm -f depend depend.bak
-depend: $(GBM_SOURCES)
+depend: $(GBM_SOURCES) $(GBM_EXTRA_SOURCES)
@ echo "running $(MKDEP)"
@ rm -f depend
@ touch depend
$(MKDEP) $(MKDEP_OPTIONS) $(GBM_INCLUDES) $(GBM_SOURCES) \
- >/dev/null 2>/dev/null
+ $(GBM_EXTRA_SOURCES) >/dev/null 2>/dev/null
sinclude depend
# DO NOT DELETE