aboutsummaryrefslogtreecommitdiff
path: root/intl/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-15 08:05:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-15 08:05:12 +0000
commit4ab8e75a466234db954c36b296c25c1f0d610894 (patch)
tree53c9a23e2ad28d166bd93c77f55618ce986caf3f /intl/Makefile
parent7888313d3c00975b1f5a0b8e624b85c1b520b134 (diff)
downloadglibc-4ab8e75a466234db954c36b296c25c1f0d610894.zip
glibc-4ab8e75a466234db954c36b296c25c1f0d610894.tar.gz
glibc-4ab8e75a466234db954c36b296c25c1f0d610894.tar.bz2
Update.
2000-07-15 Ulrich Drepper <drepper@redhat.com> * intl/Makefile (test-srcs): Add tst-translit. (tests): Likewise. Add rules to build and run tst-translit. * intl/tst-translit.c: New file. * intl/tst-translit.sh: New file.
Diffstat (limited to 'intl/Makefile')
-rw-r--r--intl/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/intl/Makefile b/intl/Makefile
index 07108b1..b4bc7aa 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -27,7 +27,7 @@ routines = bindtextdom dcgettext dgettext gettext \
distribute = gettext.h gettextP.h hash-string.h loadinfo.h locale.alias \
plural.y po2test.sed tst-gettext.sh
-test-srcs := tst-gettext
+test-srcs := tst-gettext tst-translit
before-compile = $(objpfx)msgs.h
@@ -48,9 +48,13 @@ include ../Rules
ifeq (no,$(cross-compiling))
ifeq (yes,$(build-shared))
ifneq ($(strip $(MSGFMT)),:)
-.PHONY: do-gettext-test
-tests: do-gettext-test
-do-gettext-test: tst-gettext.sh $(objpfx)tst-gettext
+.PHONY: do-gettext-test do-translit-test
+tests: do-gettext-test do-translit-test
+do-gettext-test: $(objpfx)tst-gettext.out
+$(objpfx)tst-gettext.out: tst-gettext.sh $(objpfx)tst-gettext
+ $(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
+ do-translit-test: $(objpfx)tst-translit.out
+$(objpfx)tst-translit.out: tst-translit.sh $(objpfx)tst-translit
$(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
endif
endif
@@ -61,6 +65,7 @@ $(objpfx)msgs.h: po2test.sed ../po/de.po
sed -f $^ > $@
CFLAGS-tst-gettext.c = -DTESTSTRS_H=\"$(objpfx)msgs.h\"
+CFLAGS-tst-translit.c = -DOBJPFX=\"$(objpfx)\"
CPPFLAGS += -D'GNULOCALEDIR="$(msgcatdir)"' \
-D'LOCALE_ALIAS_PATH="$(msgcatdir):$(i18ndir)"'