From abd6eff0cf0af1e113099268f1fc1f3fef038d90 Mon Sep 17 00:00:00 2001
From: "Lucas A. M. Magalhaes" <lucas.magalhaes@ess.eu>
Date: Tue, 9 Aug 2022 15:03:53 +0200
Subject: [PATCH] Remove legacy code from driver.makefile

---
 require-ess/tools/driver.makefile | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/require-ess/tools/driver.makefile b/require-ess/tools/driver.makefile
index 1c792be0..ae52ef5a 100644
--- a/require-ess/tools/driver.makefile
+++ b/require-ess/tools/driver.makefile
@@ -507,25 +507,6 @@ LOADABLE_LIBRARY=$(if ${LIBRARY_OBJS},${PRJ},)
 # See ${REGISTRYFILE} rule below.
 LIBOBJS += $(if $(MODULEDBD), $(addsuffix $(OBJ),$(basename ${REGISTRYFILE})))
 
-
-# For backward compatibility:
-# Provide a global symbol for every version with the same
-# major and equal or smaller minor version number.
-# Other code using this will look for one of those symbols.
-# Add an undefined symbol for the version of every used driver.
-# This is done with the #define in the used headers (see below).
-MAJOR_MINOR_PATCH=$(subst ., ,${LIBVERSION})
-MAJOR=$(word 1,${MAJOR_MINOR_PATCH})
-MINOR=$(word 2,${MAJOR_MINOR_PATCH})
-PATCH=$(word 3,${MAJOR_MINOR_PATCH})
-ifneq (${MINOR},)
-ALLMINORS := $(shell for ((i=0;i<=${MINOR};i++));do echo $$i;done)
-ifeq (${OS_CLASS}, Linux)
-PROVIDES = ${ALLMINORS:%=-Wl,--defsym,${PRJ}Lib_${MAJOR}.%=0}
-endif # Linux
-endif # MINOR
-LDFLAGS += ${PROVIDES} ${USR_LDFLAGS_${T_A}}
-
 # Create and include dependency files.
 HDEPENDS =
 HDEPENDS_METHOD = COMP
-- 
GitLab