summaryrefslogtreecommitdiff
path: root/src/gbm
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-01-24 09:29:43 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-01-24 10:00:52 +0100
commitab52be68261bb6d2d27dab9fda40810022ba3475 (patch)
tree4f1b3ddf083cffba57c15fe66064eac039ec12ea /src/gbm
parent90e256853418eaaba3717f930cc6a331e4099056 (diff)
gbm/Makefile.template: Remove builtin-compile path
Builtins are handled by the main gbm Makefile since 06ad64ad29e7aa9e2d001f6bd1f8c1c1f77050b8.
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/backends/Makefile.template10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gbm/backends/Makefile.template b/src/gbm/backends/Makefile.template
index f0f182317b4..eba1dd7e453 100644
--- a/src/gbm/backends/Makefile.template
+++ b/src/gbm/backends/Makefile.template
@@ -15,14 +15,8 @@
GBM_BACKEND_PATH = $(TOP)/$(LIB_DIR)/gbm/$(GBM_BACKEND).so
GBM_OBJECTS = $(GBM_SOURCES:.c=.o)
-# built-in or external
-ifeq ($(GBM_BUILTIN), true)
-GBM_TARGET = lib$(GBM_BACKEND).a
-GBM_INSTALL =
-else
GBM_TARGET = $(GBM_BACKEND_PATH)
GBM_INSTALL = install-so
-endif
default: depend $(GBM_TARGET) $(GBM_EXTRA_TARGETS)
@@ -36,9 +30,6 @@ $(GBM_BACKEND).so: $(GBM_OBJECTS) Makefile $(TOP)/src/gbm/backends/Makefile.temp
$(MKLIB_OPTIONS) \
$(GBM_OBJECTS) $(GBM_LIBS) -lgbm
-lib$(GBM_BACKEND).a: $(GBM_OBJECTS) Makefile $(TOP)/src/gbm/backends/Makefile.template
- @$(MKLIB) -o $(GBM_BACKEND) -static $(GBM_OBJECTS)
-
.c.o:
$(CC) -c $(GBM_INCLUDES) $(CFLAGS) $(GBM_CFLAGS) $< -o $@
@@ -50,7 +41,6 @@ install: $(GBM_INSTALL) $(GBM_EXTRA_INSTALL)
clean: $(GBM_EXTRA_CLEAN)
rm -f $(GBM_BACKEND).so
- rm -f lib$(GBM_BACKEND).a
rm -f $(GBM_OBJECTS)
rm -f depend depend.bak