diff options
author | Aleksandar Kanchev <kanchev@itestra.com> | 2013-03-12 12:19:55 +0100 |
---|---|---|
committer | Aleksandar Kanchev <kanchev@itestra.com> | 2013-03-12 12:19:55 +0100 |
commit | 7270427d1f362a6ba7e9d502e9f83da2bd7482fc (patch) | |
tree | 4cca8ef407f98152b8033e5192c99e4e7e9c3544 | |
parent | 5e32a139a617c929a9b180449ee07dd05bf6625e (diff) | |
download | genivi-common-api-runtime-7270427d1f362a6ba7e9d502e9f83da2bd7482fc.tar.gz |
add libtool version-info support
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 560c240..0f2c162 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,11 @@ ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = LICENSE +# Library interface (not package version!) +LIBCOMMONAPI_CURRENT=2 +LIBCOMMONAPI_REVISION=0 +LIBCOMMONAPI_AGE=0 + # ------------------------------------------------------------------------------ MAINTAINERCLEANFILES = \ Makefile.in \ @@ -41,6 +46,9 @@ CommonAPI_include_HEADERS = \ src/CommonAPI/types.h libCommonAPI_la_LIBADD = -ldl +libCommonAPI_la_LDFLAGS = \ + ${AM_LDFLAGS} \ + -version-info ${LIBCOMMONAPI_CURRENT}:${LIBCOMMONAPI_REVISION}:${LIBCOMMONAPI_AGE} pkgconfigdir = ${libdir}/pkgconfig pkgconfig_DATA = CommonAPI.pc |