]> granicus.if.org Git - graphviz/commitdiff
move library versioning from configure.ac, to teh Makefile.am, so
authorellson <devnull@localhost>
Wed, 18 Feb 2009 16:14:11 +0000 (16:14 +0000)
committerellson <devnull@localhost>
Wed, 18 Feb 2009 16:14:11 +0000 (16:14 +0000)
that libraries can have their .so versions bumped independantly

lib/graph/Makefile.am
lib/gvc/Makefile.am

index af0042353bac720b0418de9015e073ca533ed9b5..9bd776967b2a7ea504708407010acf73c4654c54 100644 (file)
@@ -1,6 +1,8 @@
 # $Id$ $Revision$
 ## Process this file with automake to produce Makefile.in
 
+GRAPH_VERSION="4:0:0"
+
 pdfdir = $(pkgdatadir)/doc/pdf
 pkgconfigdir = $(libdir)/pkgconfig
 
@@ -20,7 +22,7 @@ libgraph_C_la_SOURCES = \
        attribs.c agxbuf.c edge.c graph.c graphio.c lexer.c \
        node.c parser.y refstr.c trie.c
  
-libgraph_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libgraph_la_LDFLAGS = -version-info $(GRAPH_VERSION) -no-undefined
 libgraph_la_SOURCES = $(libgraph_C_la_SOURCES)
 libgraph_la_LIBADD = $(top_builddir)/lib/cdt/libcdt.la
 
index 90629acab4dcd5148f7c91e6d4a83e16cf347978..9d70e6b1c6ddac0fb0d8f61d6bc03ea81cb61ee1 100644 (file)
@@ -1,6 +1,8 @@
 # $Id$ $Revision$
 ## Process this file with automake to produce Makefile.in
 
+GVC_VERSION="5:0:0"
+
 if WITH_CGRAPH
 GRAPH = cgraph
 else
@@ -51,7 +53,7 @@ libgvc_C_la_LIBADD += $(top_builddir)/lib/ortho/libortho_C.la
 libgvc_C_la_DEPENDENCIES +=  $(top_builddir)/lib/ortho/libortho_C.la
 endif
 
-libgvc_la_LDFLAGS = -version-info $(VERSION_INFO) -no-undefined
+libgvc_la_LDFLAGS = -version-info $(GVC_VERSION) -no-undefined
 libgvc_la_SOURCES = $(libgvc_C_la_SOURCES) demand_loading.c
 libgvc_la_LIBADD = $(libgvc_C_la_LIBADD) \
        $(top_builddir)/lib/cdt/libcdt.la \