From: Peter Verthez Date: Sat, 21 Dec 2002 18:11:56 +0000 (+0000) Subject: Changed the utf8 library to a shared library. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=37664554e3b02ffcc14d648844fe2ec95c0cf753;p=gedcom-parse.git Changed the utf8 library to a shared library. --- diff --git a/utf8/Makefile.am b/utf8/Makefile.am index b0419e5..3fe82eb 100644 --- a/utf8/Makefile.am +++ b/utf8/Makefile.am @@ -7,7 +7,8 @@ SUBDIRS = @LCS_SUBDIRS@ . INCLUDES = @LCS_INCLUDES@ CFLAGS = -O2 -W -Wall -pedantic -Wno-long-long @EXTRA_CFLAGS@ -noinst_LTLIBRARIES = libutf8.la -libutf8_la_SOURCES = utf8-locale.c utf8.c utf8-convert.c -libutf8_la_LIBADD = @LCS_LIBADD@ $(LIBICONV) -noinst_HEADERS = utf8.h +lib_LTLIBRARIES = libutf8tools.la +libutf8tools_la_LDFLAGS = -export-dynamic -version-info $(LIBVERSION) +libutf8tools_la_SOURCES = utf8-locale.c utf8.c utf8-convert.c +libutf8tools_la_LIBADD = @LCS_LIBADD@ $(LIBICONV) +include_HEADERS = utf8tools.h diff --git a/utf8/utf8-convert.c b/utf8/utf8-convert.c index 926e14c..c7094b5 100644 --- a/utf8/utf8-convert.c +++ b/utf8/utf8-convert.c @@ -9,7 +9,7 @@ /* $Id$ */ /* $Name$ */ -#include "utf8.h" +#include "utf8tools.h" #include #include #include diff --git a/utf8/utf8-locale.c b/utf8/utf8-locale.c index a59b8ce..bcfb17e 100644 --- a/utf8/utf8-locale.c +++ b/utf8/utf8-locale.c @@ -9,7 +9,7 @@ /* $Id$ */ /* $Name$ */ -#include "utf8.h" +#include "utf8tools.h" #include #include #include diff --git a/utf8/utf8.c b/utf8/utf8.c index 443fcfc..ae7cc4a 100644 --- a/utf8/utf8.c +++ b/utf8/utf8.c @@ -9,7 +9,7 @@ /* $Id$ */ /* $Name$ */ -#include "utf8.h" +#include "utf8tools.h" int is_utf8_string(const char* str) { diff --git a/utf8/utf8.h b/utf8/utf8tools.h similarity index 100% rename from utf8/utf8.h rename to utf8/utf8tools.h