From 7533705ab15240b84bcb12cf81c5863249f9658e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 8 May 2011 14:35:40 +0200 Subject: libosmocore: bump library interface version to '1' for new osmo_ names --- src/Makefile.am | 6 ++++-- src/codec/Makefile.am | 1 + src/gsm/Makefile.am | 1 + src/vty/Makefile.am | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index a0d639ca..8383a95b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,7 +2,7 @@ SUBDIRS=. vty codec gsm # This is _NOT_ the library release version, it's an API version. # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification -LIBVERSION=0:0:0 +LIBVERSION=1:0:0 INCLUDES = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS = -fPIC -Wall @@ -18,7 +18,9 @@ libosmocore_la_SOURCES = timer.c select.c signal.c msgb.c bits.c \ if ENABLE_PLUGIN libosmocore_la_SOURCES += plugin.c -libosmocore_la_LDFLAGS = -ldl +libosmocore_la_LDFLAGS = -version-info $(LIBVERSION) -ldl +else +libosmocore_la_LDFLAGS = -version-info $(LIBVERSION) endif if ENABLE_TALLOC diff --git a/src/codec/Makefile.am b/src/codec/Makefile.am index f8a06012..5a54c42d 100644 --- a/src/codec/Makefile.am +++ b/src/codec/Makefile.am @@ -8,3 +8,4 @@ AM_CFLAGS = -fPIC -Wall lib_LTLIBRARIES = libosmocodec.la libosmocodec_la_SOURCES = gsm610.c gsm620.c gsm660.c gsm690.c +libosmocodec_la_LDFALGS = -version-info $(LIBVERSION) diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am index 57eb5cad..fb4a8cb2 100644 --- a/src/gsm/Makefile.am +++ b/src/gsm/Makefile.am @@ -10,4 +10,5 @@ lib_LTLIBRARIES = libosmogsm.la libosmogsm_la_SOURCES = a5.c rxlev_stat.c tlv_parser.c comp128.c gsm_utils.c \ rsl.c gsm48.c gsm48_ie.c gsm0808.c \ gprs_cipher_core.c gsm0480.c +libosmogsm_la_LDFLAGS = -version-info $(LIBVERSION) libosmogsm_la_LIBADD = $(top_builddir)/src/libosmocore.la diff --git a/src/vty/Makefile.am b/src/vty/Makefile.am index 7353ab84..b7be6f84 100644 --- a/src/vty/Makefile.am +++ b/src/vty/Makefile.am @@ -10,5 +10,6 @@ lib_LTLIBRARIES = libosmovty.la libosmovty_la_SOURCES = buffer.c command.c vty.c vector.c utils.c \ telnet_interface.c logging_vty.c +libosmovty_la_LDFLAGS = -version-info $(LIBVERSION) libosmovty_la_LIBADD = $(top_builddir)/src/libosmocore.la endif -- cgit v1.2.3