Commit 1c1f6337 authored by Luc Verhaegen's avatar Luc Verhaegen
Browse files

add proper versioning



We prefer version 3, as r2pX is pretty rare by now, but if needs be,
this can be easily changed.
Signed-off-by: default avatarLuc Verhaegen <libv@skynet.be>
parent 5769ba0f
...@@ -8,6 +8,9 @@ AM_MAINTAINER_MODE ...@@ -8,6 +8,9 @@ AM_MAINTAINER_MODE
LT_INIT LT_INIT
LIBUMP_VERSION_MAJOR=3
AC_SUBST([LIBUMP_VERSION_MAJOR])
# Support silent build rules, requires at least automake-1.11. Disable # Support silent build rules, requires at least automake-1.11. Disable
# by either passing --disable-silent-rules to configure or passing V=1 # by either passing --disable-silent-rules to configure or passing V=1
# to make # to make
...@@ -37,6 +40,7 @@ AC_CHECK_LIB([pthread],[pthread_mutex_lock],[],[]) ...@@ -37,6 +40,7 @@ AC_CHECK_LIB([pthread],[pthread_mutex_lock],[],[])
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
src/Makefile src/Makefile
src/ump.h
]) ])
AC_OUTPUT AC_OUTPUT
lib_LTLIBRARIES = libUMP.la lib_LTLIBRARIES = libUMP.la
libUMP_la_LDFLAGS = -version-info @LIBUMP_VERSION_MAJOR@
libUMP_la_LIBADD = @LIBS@ libUMP_la_LIBADD = @LIBS@
libUMP_la_SOURCES = \ libUMP_la_SOURCES = \
ump_arch.c \ ump_arch.c \
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#ifndef _UNIFIED_MEMORY_PROVIDER_H_ #ifndef _UNIFIED_MEMORY_PROVIDER_H_
#define _UNIFIED_MEMORY_PROVIDER_H_ #define _UNIFIED_MEMORY_PROVIDER_H_
#define UNIFIED_MEMORY_PROVIDER_VERSION @LIBUMP_VERSION_MAJOR@
/** @defgroup ump_user_space_api UMP User Space API /** @defgroup ump_user_space_api UMP User Space API
* @{ */ * @{ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment