From 2a24705bc4e886e079605e5ad4cba70c680e9d34 Mon Sep 17 00:00:00 2001 From: dhinton Date: Tue, 9 Dec 2003 01:43:03 +0000 Subject: ChangeLogTag:Mon Dec 8 19:44:04 UTC 2003 Don Hinton --- TAO/rules.tao.GNU | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'TAO/rules.tao.GNU') diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU index 3b646df1bbf..5adce5682cb 100644 --- a/TAO/rules.tao.GNU +++ b/TAO/rules.tao.GNU @@ -219,12 +219,16 @@ TAO_MINOR_VERSION := $(shell awk '/TAO_MINOR_VERSION/ { print $$3}' ${TAO_ROOT}/ TAO_BETA_VERSION := $(shell awk '/TAO_BETA_VERSION/ { print $$3}' ${TAO_ROOT}/tao/Version.h) # Version number of the libraries # -ifneq ($(SOVERSION),) - SOVERSION = .$(TAO_MAJOR_VERSION).$(TAO_MINOR_VERSION).$(TAO_BETA_VERSION) -endif - -# Name that will be written into the dynamic library -# -ifneq ($(SONAME),) -SONAME = $(SHLIB).$(TAO_MAJOR_VERSION).$(TAO_MINOR_VERSION).$(TAO_BETA_VERSION) -endif +ifeq ($(versioned_so),1) + # Only set SOVERSION for TAO if versioning is turned on and SOVERION is + # blank, which gives users to ability to override it. + ifeq ($(SOVERSION),) + SOVERSION = .$(TAO_MAJOR_VERSION).$(TAO_MINOR_VERSION).$(TAO_BETA_VERSION) + endif # SOVERSION + + # Name that will be written into the dynamic library + # + ifneq ($(SONAME),) + SONAME = $(SHLIB).$(TAO_MAJOR_VERSION).$(TAO_MINOR_VERSION).$(TAO_BETA_VERSION) + endif # SONAME +endif # versioned_so -- cgit v1.2.1