From: Frank Mori Hess Date: Sun, 19 Aug 2007 18:30:26 +0000 (+0000) Subject: Gave libscxi independent version info from libcomedi. Removed X-Git-Tag: r0_8_1~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1081d0ff02c139093fdaa74fb896f8e16a2b3da0;p=comedilib.git Gave libscxi independent version info from libcomedi. Removed attempt to link to libcomedi when building libscxi. --- diff --git a/configure.ac b/configure.ac index 15da041..829be3c 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,9 @@ AM_INIT_AUTOMAKE([-Wall -Werror]) # # AS_LIBTOOL arguments are (prefix, current, revision, age) AS_LIBTOOL(COMEDILIB, 8, 0, 8) +#libscxi c:r:a +SCXI_SO_VERSION=8:0:8 +AC_SUBST(SCXI_SO_VERSION) AM_CONFIG_HEADER(config.h) diff --git a/lib/Makefile.am b/lib/Makefile.am index 11b88ea..7c137c8 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -22,7 +22,6 @@ libcomedi_la_LDFLAGS = -soname libcomedi \ $(COMEDILIB_LT_LDFLAGS) \ -Wl,--version-script=$(srcdir)/version_script - $(srcdir)/calib_yacc.c $(srcdir)/calib_yacc.h: $(srcdir)/calib_yacc.y $(YACC) -d -p calib_yy -o $(srcdir)/calib_yacc.c $< diff --git a/scxi/Makefile.am b/scxi/Makefile.am index 62a48b9..c75aa67 100644 --- a/scxi/Makefile.am +++ b/scxi/Makefile.am @@ -9,5 +9,4 @@ endif libscxi_la_SOURCES = scxi.c libscxi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT -libscxi_la_LDFLAGS = -release $(VERSION) -Wl -libscxi_la_LIBADD = -lcomedi +libscxi_la_LDFLAGS = -version-info @SCXI_SO_VERSION@