add release flag to makefile.shared

This commit is contained in:
Steffen Jaeckel 2014-08-27 18:20:47 +02:00
parent 47b8ccc07c
commit 14272976d0

View File

@ -6,7 +6,10 @@
# Tom St Denis # Tom St Denis
# The version # The version
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
VERSION=0:117 VERSION=0:117
# http://www.gnu.org/software/libtool/manual/html_node/Release-numbers.html
RELEASE=1.17
# Compiler and Linker Names # Compiler and Linker Names
ifeq ($(CC),cc) ifeq ($(CC),cc)
@ -266,7 +269,7 @@ testprof/$(LIBTEST):
$(LTCOMPILE) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ -c $< $(LTCOMPILE) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ -c $<
$(LIBNAME): $(OBJECTS) $(LIBNAME): $(OBJECTS)
$(LT) --mode=link --tag=CC $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) `find ./src -type f -name "*.lo"` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) $(LT) --mode=link --tag=CC $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) `find ./src -type f -name "*.lo"` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) -release $(RELEASE)
install: $(LIBNAME) install: $(LIBNAME)
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)