ICU-7428 Separate the ALL_FILES_LIST when generating icudata.lst.

X-SVN-Rev: 27607
This commit is contained in:
Michael Ow 2010-02-19 23:31:57 +00:00
parent 58cd390213
commit 47930b51df

View File

@ -409,13 +409,15 @@ SPREP_FILES_SHORT = $(ALL_SPREP_SOURCE:%.txt=%.spp)
ALL_FILES = $(DAT_FILES) $(CNV_FILES) $(BRK_FILES) $(CTD_FILES) $(RES_FILES) $(INDEX_RES_FILE) $(CURR_FILES) $(LANG_FILES) $(REGION_FILES) $(ZONE_FILES) $(COLLATION_FILES) $(BRK_RES_FILES) $(RBNF_FILES) $(TRANSLIT_FILES) $(SPREP_FILES) $(CFU_FILES)
ALL_INDEX_SRC_FILES = $(PKGDATA_LIST) $(INDEX_FILE) $(CURR_INDEX_FILE) $(LANG_INDEX_FILE) $(REGION_INDEX_FILE) $(ZONE_INDEX_FILE) $(COLLATION_INDEX_FILE) $(BRK_RES_INDEX_FILE) $(RBNF_INDEX_FILE)
# a list to use in the .lst files (package-relative)
ALL_FILES_LIST = $(DAT_FILES_SHORT) $(CNV_FILES_SHORT) $(BRK_FILES_SHORT) $(CTD_FILES_SHORT) $(RES_FILES_SHORT) $(INDEX_RES_FILE_SHORT) $(CURR_FILES_SHORT) $(CURR_INDEX_RES_SHORT) $(LANG_FILES_SHORT) $(LANG_INDEX_RES_SHORT) $(REGION_FILES_SHORT) $(REGION_INDEX_RES_SHORT) $(ZONE_FILES_SHORT) $(ZONE_INDEX_RES_SHORT) $(COLLATION_FILES_SHORT) $(COLLATION_INDEX_RES_SHORT) $(BRK_RES_FILES_SHORT) $(BRK_RES_INDEX_RES_SHORT) $(RBNF_FILES_SHORT) $(RBNF_INDEX_RES_SHORT) $(TRANSLIT_FILES_SHORT) $(SPREP_FILES_SHORT) $(CFU_FILES_SHORT)
COLL_FILES_LIST=$(COLLATION_FILES_SHORT) $(COLLATION_INDEX_RES_SHORT)
BRK_FILES_LIST=$(BRK_FILES_SHORT) $(CTD_FILES_SHORT) $(BRK_RES_FILES_SHORT) $(BRK_RES_INDEX_RES_SHORT)
LOCALE_FILES_LIST= $(RES_FILES_SHORT) $(INDEX_RES_FILE_SHORT) $(LANG_FILES_SHORT) $(LANG_INDEX_RES_SHORT) $(REGION_FILES_SHORT) $(REGION_INDEX_RES_SHORT) $(ZONE_FILES_SHORT) $(ZONE_INDEX_RES_SHORT)
MISC_FILES_LIST=$(DAT_FILES_SHORT) $(CNV_FILES_SHORT) $(CURR_FILES_SHORT) $(CURR_INDEX_RES_SHORT) $(RBNF_FILES_SHORT) $(RBNF_INDEX_RES_SHORT) $(TRANSLIT_FILES_SHORT) $(SPREP_FILES_SHORT) $(CFU_FILES_SHORT)
UNI_CORE_DATA=uprops.icu ucase.icu ubidi.icu
UNI_CORE_TARGET_DATA=$(UNI_CORE_DATA:%=$(BUILDDIR)/%)
ifneq ($(INCLUDE_UNI_CORE_DATA),)
ALL_FILES_LIST+=$(UNI_CORE_DATA)
MISC_FILES_LIST+=$(UNI_CORE_DATA)
build-local: uni-core-data
endif
@ -430,7 +432,16 @@ build-local: build-dir $(SO_VERSION_DATA) $(ALL_FILES) $(PKGDATA_LIST) $(OS390LI
$(PKGDATA_LIST): $(SRCLISTDEPS)
@echo "generating $@ (list of data files)"
@-$(RMV) $@
@for file in $(ALL_FILES_LIST); do \
@for file in $(COLL_FILES_LIST); do \
echo $$file >> $@; \
done;
@for file in $(BRK_FILES_LIST); do \
echo $$file >> $@; \
done;
@for file in $(LOCALE_FILES_LIST); do \
echo $$file >> $@; \
done;
@for file in $(MISC_FILES_LIST); do \
echo $$file >> $@; \
done;
else