diff options
Diffstat (limited to 'localedata/Makefile')
-rw-r--r-- | localedata/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/localedata/Makefile b/localedata/Makefile index 97126bfd40..7658ff727a 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -135,10 +135,27 @@ do-tst-trans: tst-trans.sh $(objpfx)tst-trans do-tst-mbswcs: tst-mbswcs.sh $(objpfx)tst-mbswcs1 $(objpfx)tst-mbswcs2 \ $(objpfx)tst-mbswcs3 $(objpfx)tst-mbswcs4 $(objpfx)tst-mbswcs5 $(SHELL) -e $< $(common-objpfx) -do-tst-ctype: tst-ctype.sh $(objpfx)tst-ctype do-collate-test do-tst-mbswcs +do-tst-ctype: tst-ctype.sh $(objpfx)tst-ctype do-collate-test $(SHELL) -e $< $(common-objpfx) -$(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite))): %: do-tst-ctype\ - do-tst-mbswcs + +# Theses locales are generated by gen-locale.sh +LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \ + en_US.ISO-8859-1 ja_JP.EUC-JP + +LOCALE_FILES := LC_ADDRESS LC_IDENTIFICATION LC_MONETARY LC_PAPER \ + LC_COLLATE LC_MEASUREMENT LC_NAME LC_TELEPHONE LC_CTYPE \ + LC_NUMERIC LC_TIME LC_MESSAGES/SYS_LC_MESSAGES + +ALL_LC_FILES := $(foreach locale, $(LOCALES), \ + $(addprefix $(locale)/, $(LOCALE_FILES))) + +ALL_OBJ_LC_FILES := $(addprefix $(objpfx), $(ALL_LC_FILES)) + +$(ALL_OBJ_LC_FILES): gen-locale.sh Makefile charmaps/* locales/* + $(SHELL) -e gen-locale.sh $(common-objpfx) + +$(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite))): %: $(ALL_OBJ_LC_FILES) + endif endif |