1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:build: build libtalloc.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 9c76fdd80c
commit d04efc703b

View File

@ -2032,6 +2032,7 @@ LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
LIBTALLOC_SOVER=@LIBTALLOC_SOVER@ LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@ LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@
LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER) LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
LIBTALLOC_SHARED_TARGET_FULLVER=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_FULLVER)
LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@ LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@ LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
@ -2043,7 +2044,12 @@ $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLO
@echo Linking shared library $@ @echo Linking shared library $@
@$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@` @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
$(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME) $(LIBTALLOC_SHARED_TARGET_FULLVER): $(LIBTALLOC_SHARED_TARGET_SONAME)
@rm -f $@
@mv -f $(LIBTALLOC_SHARED_TARGET_SONAME) $@
@ln -f -s `basename $@` $(LIBTALLOC_SHARED_TARGET_SONAME)
$(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_FULLVER)
@rm -f $@ @rm -f $@
@ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@ @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
@ -2085,16 +2091,17 @@ shlibs test_shlibs: @LIBTALLOC_SHARED@
showlibtalloc: showlibtalloc:
@echo "" @echo ""
@echo "LIBTALLOC_SHARED = @LIBTALLOC_SHARED@" @echo "LIBTALLOC_SHARED = @LIBTALLOC_SHARED@"
@echo "LIBTALLOC_STATIC = @LIBTALLOC_STATIC@" @echo "LIBTALLOC_STATIC = @LIBTALLOC_STATIC@"
@echo "LIBTALLOC_LIBS = $(LIBTALLOC_LIBS)" @echo "LIBTALLOC_LIBS = $(LIBTALLOC_LIBS)"
@echo "" @echo ""
@echo "LIBTALLOC_SHARED_TARGET = $(LIBTALLOC_SHARED_TARGET)" @echo "LIBTALLOC_SHARED_TARGET = $(LIBTALLOC_SHARED_TARGET)"
@echo "LIBTALLOC_SOVER = $(LIBTALLOC_SOVER)" @echo "LIBTALLOC_SOVER = $(LIBTALLOC_SOVER)"
@echo "LIBTALLOC_FULLVER = $(LIBTALLOC_FULLVER)" @echo "LIBTALLOC_FULLVER = $(LIBTALLOC_FULLVER)"
@echo "LIBTALLOC_SHARED TARGET_SONAME = $(LIBTALLOC_SHARED_TARGET_SONAME)" @echo "LIBTALLOC_SHARED TARGET_SONAME = $(LIBTALLOC_SHARED_TARGET_SONAME)"
@echo "LIBTALLOC_STATIC_TARGET = $(LIBTALLOC_STATIC_TARGET)" @echo "LIBTALLOC_SHARED TARGET_FULLVER = $(LIBTALLOC_SHARED_TARGET_FULLVER)"
@echo "LIBTALLOC = $(LIBTALLOC)" @echo "LIBTALLOC_STATIC_TARGET = $(LIBTALLOC_STATIC_TARGET)"
@echo "LIBTALLOC = $(LIBTALLOC)"
showlibs:: showlibtalloc showlibs:: showlibtalloc