Changed versioning scheme.

This commit is contained in:
Jaroslav Kysela 2000-03-11 11:08:08 +00:00
parent c4cb2694fd
commit a85b5df0ef
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/control/control.c)
AM_INIT_AUTOMAKE(alsa-lib, 0.5.5)
eval LIBTOOL_VERSION_INFO="1:0:0"
AM_CONDITIONAL(INSTALL_M4, test "x${ACLOCAL}" = "xaclocal")
AC_PREFIX_DEFAULT(/usr)
@ -27,6 +28,7 @@ AC_PROG_GCC_TRADITIONAL
ALSA_CHECK_DRIVER
SAVE_LIBRARY_VERSION
AC_SUBST(LIBTOOL_VERSION_INFO)
AC_OUTPUT(Makefile doc/Makefile include/Makefile src/Makefile \
src/control/Makefile src/mixer/Makefile src/pcm/Makefile \

View file

@ -1,11 +1,12 @@
SUBDIRS=control mixer pcm rawmidi timer hwdep seq instr
COMPATNUM=@LIBTOOL_VERSION_INFO@
lib_LTLIBRARIES = libasound.la
libasound_la_SOURCES = error.c
libasound_la_LIBADD = control/libcontrol.la mixer/libmixer.la pcm/libpcm.la \
rawmidi/librawmidi.la timer/libtimer.la hwdep/libhwdep.la \
seq/libseq.la instr/libinstr.la
libasound_la_LDFLAGS = -release $(SND_LIB_MAJOR).$(SND_LIB_MINOR).$(SND_LIB_SUBMINOR)
libasound_la_LDFLAGS = -version-info $(COMPATNUM)
control/libcontrol.la:
$(MAKE) -C control libcontrol.la