summary refs log tree commit diff
path: root/localedata/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-25 03:54:45 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-25 03:54:45 +0000
commitf79d99cb260028d1eae399c99f8cee645a32538f (patch)
treec2b3fa5e3f1adf1f61d05d669259812ddd9cc083 /localedata/Makefile
parent71433ae4feb4e1bab581d14e6b65d1772764c41c (diff)
downloadglibc-f79d99cb260028d1eae399c99f8cee645a32538f.tar.gz
glibc-f79d99cb260028d1eae399c99f8cee645a32538f.tar.xz
glibc-f79d99cb260028d1eae399c99f8cee645a32538f.zip
Update.
	* Makefile: Add rules to build, run, and distribute tst-langinfo.
	* tst-langinfo.c: New file.
	* tst-langinfo.sh: New file.
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index 1a24df978e..a5bdca0947 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -43,7 +43,7 @@ vpath %.h tests-mbwc
 
 test-srcs := collate-test xfrm-test tst-fmon tst-rpmatch tst-trans \
 	     tst-mbswcs1 tst-mbswcs2 tst-mbswcs3 tst-mbswcs4 tst-mbswcs5 \
-	     tst-ctype tst-wctype
+	     tst-ctype tst-wctype tst-langinfo
 #test-input := de_DE.ISO-8859-1 da_DK.ISO-8859-1 fr_CA,2.13.ISO-8859-1 \
 #	      hr_HR.ISO-8859-2 # once it is fixed: cs_CZ.ISO-8859-2
 test-input := de_DE.ISO-8859-1 en_US.ISO-8859-1
@@ -70,7 +70,7 @@ distribute := CHECKSUMS README SUPPORTED ChangeLog			\
 	      th_TH.in cs_CZ.in tst-mbswcs.sh tst-trans.sh tst-ctype.sh \
 	      tst-ctype-de_DE.in $(wildcard tests-mbwc/*.[ch])		\
 	      $(addprefix tst-fmon-locales/tstfmon_,$(fmon-tests))	\
-	      gen-locale.sh show-ucs-data.c				\
+	      gen-locale.sh show-ucs-data.c tst-langinfo.sh		\
 	      tst-wctype.sh tst-wctype.input
 
 # Get $(inst_i18ndir) defined.
@@ -137,7 +137,8 @@ $(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite))): %: \
 
 tests: $(objpfx)sort-test.out $(objpfx)tst-fmon.out $(objpfx)tst-locale.out \
        $(objpfx)tst-rpmatch.out $(objpfx)tst-trans.out \
-       $(objpfx)tst-mbswcs.out $(objpfx)tst-ctype.out $(objpfx)tst-wctype.out
+       $(objpfx)tst-mbswcs.out $(objpfx)tst-ctype.out $(objpfx)tst-wctype.out \
+       $(objpfx)tst-langinfo.out
 
 $(objpfx)sort-test.out: sort-test.sh $(objpfx)collate-test $(objpfx)xfrm-test \
 		       $(test-input-data) $(addprefix $(objpfx),$(CTYPE_FILES))
@@ -171,6 +172,10 @@ $(objpfx)tst-wctype.out: tst-wctype.sh $(objpfx)tst-wctype \
 			$(objpfx)sort-test.out tst-wctype.input \
 			$(addprefix $(objpfx),$(CTYPE_FILES))
 	$(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)'
+$(objpfx)tst-langinfo.out: tst-langinfo.sh $(objpfx)tst-langinfo \
+			$(objpfx)sort-test.out \
+			$(addprefix $(objpfx),$(CTYPE_FILES))
+	$(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)'
 endif
 
 # Sometimes the whole collection of locale files should be installed.