Clean up library versioning. Use LIBADD since as best as I can tell,

that's what supposed to be used.

Many thanks to Nicolas Boullis.
This commit is contained in:
rocky
2004-02-09 10:32:35 +00:00
parent a6ea20c352
commit ebe70e9ba0
2 changed files with 41 additions and 8 deletions

3
THANKS
View File

@@ -1,3 +1,6 @@
Nicolas Boullis <nboullis@debian.org>
Build issues and Debian
Kris Verbeeck <airborne@advalvas.be>: Kris Verbeeck <airborne@advalvas.be>:
CDDB library support from libcddb http://libcddb.sourceforge.net CDDB library support from libcddb http://libcddb.sourceforge.net
Gentoo ebuild-file Gentoo ebuild-file

View File

@@ -1,6 +1,6 @@
# $Id: Makefile.am,v 1.18 2004/02/08 04:24:53 rocky Exp $ # $Id: Makefile.am,v 1.19 2004/02/09 10:32:35 rocky Exp $
# #
# Copyright (C) 2003 Rocky Bernstein <rocky@panix.com> # Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -16,10 +16,38 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
#################################################### ########################################################
# Things to make the libcdio library # Things to make the libcdio and libiso9660 libraries
#################################################### ########################################################
# #
# From libtool documentation:
# 1. Start with version information of `0:0:0' for each libtool library.
#
# 2. Update the version information only immediately before a public
# release of your software. More frequent updates are unnecessary,
# and only guarantee that the current interface number gets larger
# faster.
#
# 3. If the library source code has changed at all since the last
# update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
#
# 4. If any interfaces have been added, removed, or changed since the
# last update, increment CURRENT, and set REVISION to 0.
#
# 5. If any interfaces have been added since the last public release,
# then increment AGE.
#
# 6. If any interfaces have been removed since the last public release,
# then set AGE to 0.
libcdio_la_CURRENT := 0
libcdio_la_REVISION := 1
libcdio_la_AGE := 0
libiso9660_la_CURRENT := 0
libiso9660_la_REVISION := 1
libiso9660_la_AGE := 0
noinst_HEADERS = cdio_assert.h bytesex.h bytesex_asm.h \ noinst_HEADERS = cdio_assert.h bytesex.h bytesex_asm.h \
cdio_private.h ds.h cdio_private.h ds.h
@@ -52,9 +80,10 @@ libcdio_sources = \
wnaspi32.c \ wnaspi32.c \
wnaspi32.h wnaspi32.h
lib_LTLIBRARIES = libcdio.la libiso9660.la lib_LTLIBRARIES = libcdio.la libiso9660.la
libcdio_la_SOURCES = $(libcdio_sources) libcdio_la_SOURCES = $(libcdio_sources)
libcdio_la_LDFLAGS = -no-undefined -version-info 0:1:0 libcdio_la_LDFLAGS = -version-info $(libcdio_la_CURRENT):$(libcdio_la_REVISION):$(libcdio_la_AGE)
libiso9660_la_SOURCES = \ libiso9660_la_SOURCES = \
iso9660.c \ iso9660.c \
@@ -62,6 +91,7 @@ libiso9660_la_SOURCES = \
iso9660_fs.c \ iso9660_fs.c \
xa.c xa.c
libiso9660_la_LDFLAGS = $(LIBCDIO_LIBS) -no-undefined -version-info 0:1:0 libiso9660_la_LIBADD = $(LIBCDIO_LIBS)
libiso9660_la_LDFLAGS = -version-info $(libiso9660_la_CURRENT):$(libiso9660_la_REVISION):$(libiso9660_la_AGE)
INCLUDES = -I$(LIBCDIO_CFLAGS) INCLUDES = -I$(LIBCDIO_CFLAGS)