mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 02:37:25 +00:00
ICU-5447 Allow the data library to include ICU4J data.
X-SVN-Rev: 21478
This commit is contained in:
parent
e2494b2ac3
commit
079df617dd
1 changed files with 17 additions and 9 deletions
|
@ -106,15 +106,6 @@ distclean-local: clean
|
|||
|
||||
all-local: build-dir icupkg.inc build-local packagedata $(POST_DATA_BUILD) $(OS390PKG)
|
||||
|
||||
# Starting with ICU4C 3.4, the core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu, unorm.icu)
|
||||
# are hardcoded in the common DLL and therefore not included in the data package any more.
|
||||
# They are not built by default but need to be built for ICU4J data and for getting the .c source files
|
||||
# when updating the Unicode data.
|
||||
# Changed in Makefile.in revision 1.147. See Jitterbug 4497.
|
||||
uni-core-data: build-dir $(BUILDDIR)/uprops.icu $(BUILDDIR)/ucase.icu $(BUILDDIR)/ubidi.icu $(BUILDDIR)/unorm.icu
|
||||
@echo Unicode .icu files built to $(BUILDDIR)
|
||||
@echo Unicode .c source files built to $(OUTTMPDIR)
|
||||
|
||||
dist-local:
|
||||
|
||||
clean-map:
|
||||
|
@ -326,6 +317,14 @@ ALL_INDEX_SRC_FILES = $(PKGDATA_LIST) $(INDEX_FILE) $(COLLATION_INDEX_FILE) $(BR
|
|||
# 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) $(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)
|
||||
|
||||
UNI_CORE_DATA=uprops.icu ucase.icu ubidi.icu unorm.icu
|
||||
UNI_CORE_TARGET_DATA=$(UNI_CORE_DATA:%=$(BUILDDIR)/%)
|
||||
|
||||
ifneq ($(INCLUDE_UNI_CORE_DATA),)
|
||||
ALL_FILES_LIST+=$(UNI_CORE_DATA)
|
||||
build-local: uni-core-data
|
||||
endif
|
||||
|
||||
#####################################################
|
||||
# General data build rules
|
||||
|
||||
|
@ -551,6 +550,15 @@ clean-resindex:
|
|||
$(INDEX_RES_FILE): $(INDEX_FILE) $(BINDIR)/genrb$(EXEEXT)
|
||||
$(INVOKE) $(BINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -d $(BUILDDIR) $(INDEX_FILE)
|
||||
|
||||
# Starting with ICU4C 3.4, the core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu, unorm.icu)
|
||||
# are hardcoded in the common DLL and therefore not included in the data package any more.
|
||||
# They are not built by default but need to be built for ICU4J data and for getting the .c source files
|
||||
# when updating the Unicode data.
|
||||
# Changed in Makefile.in revision 1.147. See Jitterbug 4497.
|
||||
uni-core-data: build-dir $(UNI_CORE_TARGET_DATA)
|
||||
@echo Unicode .icu files built to $(BUILDDIR)
|
||||
@echo Unicode .c source files built to $(OUTTMPDIR)
|
||||
|
||||
###################################################################
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
|
Loading…
Add table
Reference in a new issue