summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-09-05 20:35:41 -0700
committerAndreas Boll <[email protected]>2013-01-10 22:01:31 +0100
commit74d105174b2d17c59b530de623af2ea686fc9061 (patch)
tree242184b14d9543da130c04ab7de54687d006b99e /src
parentae352ccb901ebd520f9fd67e1a00b1ae400720d0 (diff)
Remove gbm's unused Makefile.template
Diffstat (limited to 'src')
-rw-r--r--src/gbm/backends/Makefile.template55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/gbm/backends/Makefile.template b/src/gbm/backends/Makefile.template
deleted file mode 100644
index 1c8f924909e..00000000000
--- a/src/gbm/backends/Makefile.template
+++ /dev/null
@@ -1,55 +0,0 @@
-# src/gbm/backends/Makefile.template
-#
-# Backends should define
-#
-# GBM_BACKEND, the driver name
-# GBM_SOURCES, the driver sources
-# GBM_INCLUDES, the include pathes
-# GBM_CFLAGS, additional CFLAGS
-# GBM_LIBS, additional LIBS
-#
-# before including this template.
-#
-
-
-GBM_BACKEND_PATH = $(TOP)/$(LIB_DIR)/gbm/$(GBM_BACKEND).so
-GBM_OBJECTS = $(GBM_SOURCES:.c=.o)
-
-GBM_TARGET = $(GBM_BACKEND_PATH)
-GBM_INSTALL = install-so
-
-default: depend $(GBM_TARGET) $(GBM_EXTRA_TARGETS)
-
-$(GBM_BACKEND_PATH): $(GBM_BACKEND).so
- @$(INSTALL) -d $(TOP)/$(LIB_DIR)/gbm
- $(INSTALL) $< $(TOP)/$(LIB_DIR)/gbm
-
-$(GBM_BACKEND).so: $(GBM_OBJECTS) Makefile $(TOP)/src/gbm/backends/Makefile.template
- @$(MKLIB) -o $(GBM_BACKEND).so -noprefix \
- -linker '$(CC)' -ldflags '-L$(TOP)/$(LIB_DIR) $(LDFLAGS)' \
- $(MKLIB_OPTIONS) \
- $(GBM_OBJECTS) $(GBM_LIBS) -lgbm
-
-.c.o:
- $(CC) -c $(GBM_INCLUDES) $(CFLAGS) $(GBM_CFLAGS) $< -o $@
-
-install-so: $(GBM_BACKEND_PATH)
- $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/gbm
- $(MINSTALL) $(GBM_BACKEND_PATH) $(DESTDIR)$(INSTALL_LIB_DIR)/gbm
-
-install: $(GBM_INSTALL) $(GBM_EXTRA_INSTALL)
-
-clean: $(GBM_EXTRA_CLEAN)
- rm -f $(GBM_BACKEND).so
- rm -f $(GBM_OBJECTS)
- rm -f depend depend.bak
-
-depend: $(GBM_SOURCES) $(GBM_EXTRA_SOURCES)
- @ echo "running $(MKDEP)"
- @ rm -f depend
- @ touch depend
- $(MKDEP) $(MKDEP_OPTIONS) $(GBM_INCLUDES) $(GBM_SOURCES) \
- $(GBM_EXTRA_SOURCES) >/dev/null 2>/dev/null
-
-sinclude depend
-# DO NOT DELETE