mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 16:58:01 +02:00
Fixed libtool versioning
This commit is contained in:
parent
b4d3b8e928
commit
140285ed9b
4 changed files with 21 additions and 12 deletions
|
|
@ -4,16 +4,25 @@ AC_INIT(src/pixregion.h)
|
|||
|
||||
dnl ===========================================================================
|
||||
|
||||
LIBPIXREGION_MAJOR_VERSION=0
|
||||
LIBPIXREGION_MINOR_VERSION=1
|
||||
LIBPIXREGION_MICRO_VERSION=0
|
||||
AC_SUBST(LIBPIXREGION_MAJOR_VERSION)
|
||||
AC_SUBST(LIBPIXREGION_MINOR_VERSION)
|
||||
AC_SUBST(LIBPIXREGION_MICRO_VERSION)
|
||||
# Package version number, (as distinct from shared library version)
|
||||
# This must be manually synchronized with the version in src/ic.h
|
||||
LIBPIXREGION_VERSION=0.1.0
|
||||
|
||||
LIBPIXREGION_VERSION=$LIBPIXREGION_MAJOR_VERSION.$LIBPIXREGION_MINOR_VERSION.$LIBPIXREGION_MICRO_VERSION
|
||||
# libtool shared library version
|
||||
|
||||
VERSION_INFO=`expr $LIBPIXREGION_MAJOR_VERSION + $LIBPIXREGION_MINOR_VERSION`:$LIBPIXREGION_MICRO_VERSION:$LIBPIXREGION_MINOR_VERSION
|
||||
# Increment if the interface has additions, changes, removals.
|
||||
LT_CURRENT=1
|
||||
|
||||
# Increment any time the source changes; set to
|
||||
# 0 if you increment CURRENT
|
||||
LT_REVISION=0
|
||||
|
||||
# Increment if any interfaces have been added; set to 0
|
||||
# if any interfaces have been removed. removal has
|
||||
# precedence over adding, so set to 0 if both happened.
|
||||
LT_AGE=0
|
||||
|
||||
VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
|
||||
AC_SUBST(VERSION_INFO)
|
||||
|
||||
dnl ===========================================================================
|
||||
|
|
|
|||
|
|
@ -9,4 +9,5 @@ libpixregion_la_SOURCES = \
|
|||
libpixregion_la_LDFLAGS = -version-info @VERSION_INFO@
|
||||
|
||||
INCLUDES = $(LIBPIXREGION_CFLAGS)
|
||||
ldadds = $(LIBPIXREGION_LIBS)
|
||||
|
||||
libpixregion_la_LIBADD = $(LIBPIXREGION_LIBS)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
/* $Xorg: $ */
|
||||
/***********************************************************
|
||||
|
||||
Copyright 1987, 1998 The Open Group
|
||||
|
|
@ -45,7 +44,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
|||
SOFTWARE.
|
||||
|
||||
******************************************************************/
|
||||
/* $XFree86: $ */
|
||||
/* $Id: pixman.h,v 1.3 2003-04-25 20:21:42 cworth Exp $ */
|
||||
|
||||
#ifndef PIXREGION_H
|
||||
#define PIXREGION_H
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
|||
SOFTWARE.
|
||||
|
||||
******************************************************************/
|
||||
/* $XFree86: $ */
|
||||
/* $Id: pixregionint.h,v 1.2 2003-04-25 20:21:42 cworth Exp $ */
|
||||
|
||||
#ifndef PIXREGIONINT_H
|
||||
#define PIXREGIONINT_H
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue