1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:build: build libtdb.so.$VERSION with full version number instead only SO version

This commit is contained in:
Michael Adam 2011-05-06 17:00:32 +02:00
parent 3f222513cc
commit 9c76fdd80c

View File

@ -2111,6 +2111,7 @@ LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
LIBTDB_SOVER=@LIBTDB_SOVER@
LIBTDB_FULLVER=@LIBTDB_FULLVER@
LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
LIBTDB_SHARED_TARGET_FULLVER=$(LIBTDB_SHARED_TARGET).$(LIBTDB_FULLVER)
LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
@ -2118,12 +2119,18 @@ LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
$(LIBTDB_SYMS): $(LIBTDB_HEADERS)
@$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
$(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
@echo Linking shared library $@
@$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
@SONAMEFLAG@`basename $@`
$(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
$(LIBTDB_SHARED_TARGET_FULLVER): $(LIBTDB_SHARED_TARGET_SONAME)
@rm -f $@
@mv -f $(LIBTDB_SHARED_TARGET_SONAME) $(LIBTDB_SHARED_TARGET_FULLVER)
@ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` $(LIBTDB_SHARED_TARGET_SONAME)
$(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_FULLVER)
@rm -f $@
@ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
@ -2167,16 +2174,17 @@ shlibs test_shlibs: @LIBTDB_SHARED@
showlibtdb:
@echo ""
@echo "LIBTDB_SHARED = @LIBTDB_SHARED@"
@echo "LIBTDB_STATIC = @LIBTDB_STATIC@"
@echo "LIBTDB_LIBS = $(LIBTDB_LIBS)"
@echo "LIBTDB_SHARED = @LIBTDB_SHARED@"
@echo "LIBTDB_STATIC = @LIBTDB_STATIC@"
@echo "LIBTDB_LIBS = $(LIBTDB_LIBS)"
@echo ""
@echo "LIBTDB_SHARED_TARGET = $(LIBTDB_SHARED_TARGET)"
@echo "LIBTDB_SOVER = $(LIBTDB_SOVER)"
@echo "LIBTDB_FULLVER = $(LIBTDB_FULLVER)"
@echo "LIBTDB_SHARED TARGET_SONAME = $(LIBTDB_SHARED_TARGET_SONAME)"
@echo "LIBTDB_STATIC_TARGET = $(LIBTDB_STATIC_TARGET)"
@echo "LIBTDB = $(LIBTDB)"
@echo "LIBTDB_SHARED_TARGET = $(LIBTDB_SHARED_TARGET)"
@echo "LIBTDB_SOVER = $(LIBTDB_SOVER)"
@echo "LIBTDB_FULLVER = $(LIBTDB_FULLVER)"
@echo "LIBTDB_SHARED TARGET_SONAME = $(LIBTDB_SHARED_TARGET_SONAME)"
@echo "LIBTDB_SHARED TARGET_FULLVER = $(LIBTDB_SHARED_TARGET_FULLVER)"
@echo "LIBTDB_STATIC_TARGET = $(LIBTDB_STATIC_TARGET)"
@echo "LIBTDB = $(LIBTDB)"
showlibs:: showlibtdb