Changed the utf8 library to a shared library.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 21 Dec 2002 18:11:56 +0000 (18:11 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 21 Dec 2002 18:11:56 +0000 (18:11 +0000)
utf8/Makefile.am
utf8/utf8-convert.c
utf8/utf8-locale.c
utf8/utf8.c
utf8/utf8tools.h [moved from utf8/utf8.h with 100% similarity]

index b0419e5e29974437f32719c1df120c47eec54975..3fe82eb7f075796b47078f301b6f7a2e54f925b4 100644 (file)
@@ -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
index 926e14c41305d7e4741caf3fc3eb27331c06544b..c7094b5a7da0038aa4d51e6809376e0714fee9d3 100644 (file)
@@ -9,7 +9,7 @@
 /* $Id$ */
 /* $Name$ */
 
-#include "utf8.h"
+#include "utf8tools.h"
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
index a59b8ce5fe98b685bfcc92d1fbc813d2c9f84e6a..bcfb17e1a9887406540bb8d88e422d73fe0bb22f 100644 (file)
@@ -9,7 +9,7 @@
 /* $Id$ */
 /* $Name$ */
 
-#include "utf8.h"
+#include "utf8tools.h"
 #include <stdlib.h>
 #include <assert.h>
 #include <string.h>
index 443fcfc40d8e66c4f34ca2cbed18b4f1ac97e784..ae7cc4a5b66ab321c267cbc8bfbeab80d4374e01 100644 (file)
@@ -9,7 +9,7 @@
 /* $Id$ */
 /* $Name$ */
 
-#include "utf8.h"
+#include "utf8tools.h"
 
 int is_utf8_string(const char* str)
 {
similarity index 100%
rename from utf8/utf8.h
rename to utf8/utf8tools.h