mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
4f96a13cba
Sun Jul 1 20:16:25 2001 Owen Taylor <otaylor@redhat.com> * glib/guniprop.c (g_unichar_totitle): Use G_N_ELEMENTS rather than a custom macro. * glib/gen-unicode-tables.pl: Adapt to changes in table formats for Unicode 3.1 * glib/gunicode.h glib/guniprop.c glib/gunichartables.h glib/gen-unicode-tables.pl: Add case conversion functions g_utf8_casefold, g_utf8_strup, g_utf8_strdown. * tests/unicode-caseconv.c tests/gen-casefold-txt.pl tests/gen-casemap-txt.pl tests/casefold.txt tests/casemap.txt: Test cases for case conversion. * glib/gunicode.h glib/gunidecomp.[ch] glib/gunicomp.h glib/gen-unicode-tables.pl: Add function to do Unicode normalization g_utf8_normalize(). * tests/unicode-normalize.c: Test program for case conversion. * glib/gunicode.h glib/gunicollate.c: Add collation functions g_utf8_collate, g_utf8_collate_key. * test/unicode-collate.c: Test program for collation. * glib/gdate.c (g_date_fill_parse_tokens): Fix uninitialized variable. * glib/gdate.c (g_date_strftime) docs/Changes-2.0.txt: Make work with UTF-8 even if the locale isn't UTF-8 based. Still somewhat of broken, if the format string contains characters not representable in the current locale, will warn and not work. * glib/gdate.c: Use UTF-8 normalization and casefolding.
145 lines
4.0 KiB
Makefile
145 lines
4.0 KiB
Makefile
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule @GLIB_DEBUG_FLAGS@
|
|
|
|
EFENCE=
|
|
|
|
libglib = $(top_builddir)/glib/libglib-1.3.la
|
|
libgthread = $(top_builddir)/gthread/libgthread-1.3.la
|
|
libgmodule = $(top_builddir)/gmodule/libgmodule-1.3.la
|
|
libgobject = $(top_builddir)/gobject/libgobject-1.3.la
|
|
|
|
if PLATFORM_WIN32
|
|
libadd_libgmodule = $(libgmodule)
|
|
libadd_libglib = $(libglib)
|
|
no_undefined = -no-undefined
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
$(test_scripts) \
|
|
makefile.msc.in \
|
|
makefile.mingw.in \
|
|
utf8.txt
|
|
|
|
BUILT_EXTRA_DIST = \
|
|
makefile.mingw \
|
|
makefile.msc
|
|
|
|
if HAVE_CXX
|
|
CXX_TEST = cxx-test
|
|
cxx_test_LDADD = $(progs_LDADD)
|
|
cxx_test_SOURCES = cxx-test.C
|
|
else
|
|
CXX_TEST =
|
|
endif
|
|
|
|
if ENABLE_TIMELOOP
|
|
timeloop = timeloop
|
|
endif
|
|
noinst_PROGRAMS = testglib testgdate testgdateparser unicode-normalize unicode-collate $(timeloop)
|
|
testglib_LDADD = $(libglib)
|
|
testgdate_LDADD = $(libglib)
|
|
testgdateparser_LDADD = $(libglib)
|
|
unicode_normalize_LDADD = $(libglib)
|
|
unicode_collate_LDADD = $(libglib)
|
|
if ENABLE_TIMELOOP
|
|
timeloop_LDADD = $(libglib)
|
|
endif
|
|
|
|
test_programs = \
|
|
array-test \
|
|
$(CXX_TEST) \
|
|
date-test \
|
|
dirname-test \
|
|
gio-test \
|
|
hash-test \
|
|
iochannel-test \
|
|
list-test \
|
|
mainloop-test \
|
|
module-test \
|
|
node-test \
|
|
queue-test \
|
|
qsort-test \
|
|
rand-test \
|
|
relation-test \
|
|
shell-test \
|
|
slist-test \
|
|
spawn-test \
|
|
strfunc-test \
|
|
string-test \
|
|
thread-test \
|
|
threadpool-test \
|
|
tree-test \
|
|
type-test \
|
|
unicode-caseconv \
|
|
unicode-encoding
|
|
|
|
test_scripts = run-markup-tests.sh
|
|
|
|
test_script_support_programs = markup-test
|
|
|
|
check_PROGRAMS = $(test_programs) $(test_script_support_programs)
|
|
|
|
TESTS = $(test_programs) $(test_scripts)
|
|
TESTS_ENVIRONMENT = srcdir=$(srcdir)
|
|
|
|
progs_LDADD = $(EFENCE) $(libglib) $(EFENCE)
|
|
thread_LDADD = $(libgthread) @G_THREAD_LIBS@ $(progs_LDADD)
|
|
module_LDADD = $(libgmodule) @G_MODULE_LIBS@ $(progs_LDADD)
|
|
|
|
array_test_LDADD = $(progs_LDADD)
|
|
date_test_LDADD = $(progs_LDADD)
|
|
dirname_test_LDADD = $(progs_LDADD)
|
|
gio_test_LDADD = $(progs_LDADD)
|
|
hash_test_LDADD = $(progs_LDADD)
|
|
iochannel_test_LDADD = $(progs_LDADD)
|
|
list_test_LDADD = $(progs_LDADD)
|
|
mainloop_test_LDADD = $(thread_LDADD)
|
|
markup_test_LDADD = $(progs_LDADD)
|
|
module_test_LDADD = $(module_LDADD)
|
|
module_test_LDFLAGS = @G_MODULE_LDFLAGS@
|
|
node_test_LDADD = $(progs_LDADD)
|
|
queue_test_LDADD = $(progs_LDADD)
|
|
qsort_test_LDADD = $(progs_LDADD)
|
|
rand_test_LDADD = $(progs_LDADD)
|
|
relation_test_LDADD = $(progs_LDADD)
|
|
shell_test_LDADD = $(progs_LDADD)
|
|
slist_test_LDADD = $(progs_LDADD)
|
|
spawn_test_LDADD = $(progs_LDADD)
|
|
strfunc_test_LDADD = $(progs_LDADD)
|
|
string_test_LDADD = $(progs_LDADD)
|
|
thread_test_LDADD = $(thread_LDADD)
|
|
threadpool_test_LDADD = $(thread_LDADD)
|
|
tree_test_LDADD = $(progs_LDADD)
|
|
type_test_LDADD = $(progs_LDADD)
|
|
unicode_encoding_LDADD = $(progs_LDADD)
|
|
unicode_caseconv_LDADD = $(progs_LDADD)
|
|
|
|
lib_LTLIBRARIES = libmoduletestplugin_a.la libmoduletestplugin_b.la
|
|
|
|
# Prevent those libs from being installed
|
|
install-libLTLIBRARIES:
|
|
:
|
|
|
|
libmoduletestplugin_a_la_SOURCES = libmoduletestplugin_a.c
|
|
libmoduletestplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
|
|
libmoduletestplugin_a_la_LIBADD = @G_MODULE_LIBS@ $(libadd_libgmodule) $(libadd_libglib)
|
|
|
|
libmoduletestplugin_b_la_SOURCES = libmoduletestplugin_b.c
|
|
libmoduletestplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
|
|
libmoduletestplugin_b_la_LIBADD = @G_MODULE_LIBS@ $(libadd_libgmodule) $(libadd_libglib)
|
|
|
|
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
|
|
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
makefile.msc: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.msc.in
|
|
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
dist-hook: $(BUILT_EXTRA_DIST)
|
|
files='$(BUILT_EXTRA_DIST)'; \
|
|
for f in $$files; do \
|
|
if test -f $$f; then d=.; else d=$(srcdir); fi; \
|
|
cp $$d/$$f $(distdir) || exit 1; done
|
|
mkdir $(distdir)/markups; \
|
|
for f in $(srcdir)/markups/* ; do \
|
|
cp $$f $(distdir)/markups; \
|
|
done
|