]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Introduce symbolic names for the libtool version number.
authorBruno Haible <bruno@clisp.org>
Wed, 26 Jul 2000 19:17:23 +0000 (19:17 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 26 Jul 2000 19:17:23 +0000 (19:17 +0000)
intl/ChangeLog
intl/Makefile.in

index e692037e2a2c3ca89e0c3ac6d29c44578893543e..527233e72dc0dd559001b0dafe5458062cf7eae2 100644 (file)
@@ -1,5 +1,8 @@
 2000-07-26  Bruno Haible  <haible@clisp.cons.org>
 
+       * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables.
+       (libintl.la): Use them.
+
        * Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR
        support, as recommended by GNU standards. Fix misapplied 2000-06-16
        patch.
index f092a7fee888497bc3487713d83eff1d1deaf385..e88fd1924ec8a0e5dfe6ffed6950d76c385906a0 100644 (file)
@@ -76,6 +76,11 @@ xopen-msg.sed config.charset ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
 DISTFILES.normal = VERSION
 DISTFILES.gettext = libintl.glibc intlh.inst.in plural.c
 
+# Libtool's library version information for libintl.
+LTV_CURRENT=1
+LTV_REVISION=0
+LTV_AGE=0
+
 .SUFFIXES:
 .SUFFIXES: .y .c .o .lo .sin .sed
 .c.o:
@@ -104,7 +109,8 @@ libintl.a: $(OBJECTS)
 
 libintl.la: $(OBJECTS)
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \
-                  -version-info 1:0 -rpath $(libdir)
+                  -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
+                  -rpath $(libdir)
 
 ../po/cat-id-tbl.$lo: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot
        cd ../po && $(MAKE) cat-id-tbl.$lo