2002-01-24 17:32:12 +00:00
|
|
|
## Makefile.in for ICU data
|
|
|
|
## Copyright (c) 1999-2002, International Business Machines Corporation and
|
|
|
|
## others. All Rights Reserved.
|
|
|
|
|
|
|
|
## Source directory information
|
2000-08-29 07:28:22 +00:00
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
2002-01-24 17:32:12 +00:00
|
|
|
EXEEXT=@EXEEXT@
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
# So that you have $(top_builddir)/config.status
|
2000-10-26 19:28:33 +00:00
|
|
|
top_builddir = ..
|
|
|
|
|
|
|
|
include $(top_builddir)/icudefs.mk
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2000-10-24 19:50:20 +00:00
|
|
|
include @platform_make_fragment@
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
## Build directory information
|
|
|
|
# So that $(top_builddir)/$(subdir) ~= "here"
|
|
|
|
subdir = data
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2001-05-15 04:29:28 +00:00
|
|
|
#lib icu data for link
|
|
|
|
LIB_ICUDATA_NAME=lib$(ICUDATA_NAME)
|
2002-01-24 17:32:12 +00:00
|
|
|
|
2000-12-01 17:20:26 +00:00
|
|
|
top_builddir_from_tmp = $(patsubst ..%,../..%,$(top_builddir))
|
2001-05-30 22:13:37 +00:00
|
|
|
CURDIR=$(shell pwd)
|
2002-01-24 17:32:12 +00:00
|
|
|
PKGDATA = $(top_builddir)/tools/pkgdata/pkgdata -O $(top_builddir)/data/icupkg.inc -d $(CURDIR)/out
|
2002-01-17 21:19:54 +00:00
|
|
|
PKGDATA_VERSIONING = -r $(SO_TARGET_VERSION)
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
# OBJDATADIR must be a short path (with ..'s) to the data.
|
|
|
|
|
|
|
|
SRCDATADIR=$(top_srcdir)/data
|
|
|
|
OUTDIR=$(top_builddir)/data/out
|
2002-01-25 00:09:01 +00:00
|
|
|
BUILDDIR=$(OUTDIR)/build
|
2002-01-24 17:32:12 +00:00
|
|
|
UNICODEDATADIR=$(SRCDATADIR)/unidata
|
|
|
|
LOCSRCDIR=$(SRCDATADIR)/locales
|
|
|
|
TRNSSRCDIR=$(SRCDATADIR)/translit
|
|
|
|
BRKSRCDIR=$(SRCDATADIR)/brkitr
|
|
|
|
MISCSRCDIR=$(SRCDATADIR)/misc
|
|
|
|
UCMSRCDIR=$(SRCDATADIR)/mappings
|
|
|
|
TESTSRCDATADIR=$(top_srcdir)/test/testdata
|
|
|
|
TESTOUTDIR=$(top_builddir)/test/testdata/out
|
2002-01-25 00:09:01 +00:00
|
|
|
TESTBUILDDIR=$(TESTOUTDIR)/build
|
2002-01-24 17:32:12 +00:00
|
|
|
SRCLISTDEPS=Makefile $(srcdir)/Makefile.in $(LOCSRCDIR)/resfiles.mk $(TRNSSRCDIR)/trnsfiles.mk
|
|
|
|
|
|
|
|
## Extra files to install [nothing at present]
|
|
|
|
SPECIALTESTDATA=$(TESTOUTDIR)/test1.cnv $(TESTOUTDIR)/test3.cnv $(TESTOUTDIR)/test4.cnv $(TESTOUTDIR)/testudata_nam.typ
|
|
|
|
|
|
|
|
# relative lib links from pkgdata are the same as for tmp
|
|
|
|
TOOLDIR=$(top_builddir)/tools
|
|
|
|
|
2000-08-29 07:28:22 +00:00
|
|
|
## List of phony targets
|
2002-01-24 17:32:12 +00:00
|
|
|
.PHONY : all all-local all-recursive install install-local install-files install-dlls build-cmnfile build-dll \
|
2000-08-29 07:28:22 +00:00
|
|
|
install-recursive clean clean-local clean-recursive distclean \
|
2002-01-24 17:32:12 +00:00
|
|
|
distclean-local distclean-recursive dist dist-local dist-recursive \
|
|
|
|
check check-local check-recursive build-testdlls build-basetestdata build-local
|
2000-08-29 07:28:22 +00:00
|
|
|
|
|
|
|
## Clear suffix list
|
|
|
|
.SUFFIXES :
|
|
|
|
|
|
|
|
## List of standard targets
|
2002-01-24 17:32:12 +00:00
|
|
|
all: all-local
|
2002-01-29 00:59:55 +00:00
|
|
|
install: all-local install-local
|
2002-01-24 17:32:12 +00:00
|
|
|
clean: clean-local
|
|
|
|
distclean : distclean-local
|
|
|
|
dist:
|
|
|
|
check: all
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
|
|
|
|
distclean-local: clean
|
|
|
|
$(RMV) Makefile
|
2001-02-21 01:11:52 +00:00
|
|
|
ifeq ($(OS390DATA),1)
|
2000-12-05 18:33:14 +00:00
|
|
|
OS390PKG= package390
|
2001-11-09 02:24:19 +00:00
|
|
|
OS390INSTALL= install390
|
2000-12-05 18:33:14 +00:00
|
|
|
endif
|
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
all-local: icupkg.inc build-local packagedata testdata packagetest $(OS390PKG)
|
2000-12-01 17:20:26 +00:00
|
|
|
|
2000-08-29 07:28:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
dist-local:
|
|
|
|
|
2000-12-01 17:20:26 +00:00
|
|
|
cleanfiles:
|
2000-08-29 07:28:22 +00:00
|
|
|
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
|
2000-12-01 17:20:26 +00:00
|
|
|
|
|
|
|
clean-local: cleanpackage cleanfiles
|
2002-01-24 17:32:12 +00:00
|
|
|
$(RMV) $(TESTOUTDIR)/testdata.dat
|
2000-12-01 17:20:26 +00:00
|
|
|
|
2000-08-29 07:28:22 +00:00
|
|
|
|
|
|
|
check-local:
|
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
packagedata: icupkg.inc $(BUILDDIR)/icudata.lst
|
2002-02-14 19:18:37 +00:00
|
|
|
$(INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(BUILDDIR)/icudata.lst
|
2000-12-01 17:20:26 +00:00
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
packagetest: icupkg.inc $(TESTBUILDDIR)/testdata.lst
|
|
|
|
$(INVOKE) $(PKGDATA) -T $(TESTBUILDDIR) -d $(TESTOUTDIR) -s $(BUILDDIR) -p testdata -m common $(TESTBUILDDIR)/testdata.lst
|
2000-12-01 17:20:26 +00:00
|
|
|
|
|
|
|
cleanpackage:
|
2002-01-24 17:32:12 +00:00
|
|
|
$(RMV) $(OUTDIR)
|
|
|
|
$(RMV) $(TESTOUTDIR)
|
2000-12-01 17:20:26 +00:00
|
|
|
## Install ICU data. Make a convenience link 'icudata' library if it's a library mode.
|
2002-01-24 17:32:12 +00:00
|
|
|
install-local: $(BUILDDIR)/icudata.lst ./icupkg.inc install-convrtrstxt $(OS390INSTALL)
|
2001-11-10 02:09:59 +00:00
|
|
|
$(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(ICUPKGDATA_DIR)
|
2002-02-14 19:18:37 +00:00
|
|
|
$(INVOKE) $(PKGDATA) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(BUILDDIR)/icudata.lst -I $(DESTDIR)$(ICUPKGDATA_DIR)
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
install-convrtrstxt: $(UCMSRCDIR)/convrtrs.txt
|
2000-12-13 03:12:29 +00:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(pkgsysconfdir)
|
2000-12-13 03:13:56 +00:00
|
|
|
$(INSTALL_DATA) $< $(DESTDIR)$(pkgsysconfdir)
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2000-12-01 17:20:26 +00:00
|
|
|
# specials
|
|
|
|
testdata: $(SPECIALTESTDATA)
|
2000-08-29 07:28:22 +00:00
|
|
|
|
2001-11-16 05:17:32 +00:00
|
|
|
|
2001-11-06 22:19:17 +00:00
|
|
|
####
|
|
|
|
####
|
|
|
|
#### 390 support
|
2002-01-24 17:32:12 +00:00
|
|
|
install390: build/icudata390.lst ./icupkg.inc
|
2001-11-09 02:24:19 +00:00
|
|
|
$(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(libdir)
|
2002-02-14 19:18:37 +00:00
|
|
|
cd build ; $(INVOKE) $(PKGDATA) -s $(BUILDDIR) -T $(BUILDDIR)/tmp3901 -p $(ICUDATA_NAME)$(BATCH_STUB_SUFFIX) -e $(ICUDATA_ENTRY_POINT) icudata390.lst -m dll $(PKGDATA_VERSIONING) -I $(DESTDIR)$(ICUPKGDATA_DIR)
|
2001-11-09 02:24:19 +00:00
|
|
|
|
2001-11-06 22:19:17 +00:00
|
|
|
#### $(LIB_ICUDATA_NAME)$(BATCH_SUFFIX) is the subset data for batch mode
|
2002-01-24 17:32:12 +00:00
|
|
|
package390: build/icudata390.lst build/icudata.lst ./icupkg.inc
|
2000-12-05 18:33:14 +00:00
|
|
|
@$(MKINSTALLDIRS) tmp3901
|
2002-02-14 19:18:37 +00:00
|
|
|
cd build ; $(INVOKE) $(PKGDATA) -s $(BUILDDIR) -T $(BUILDDIR)/tmp3901 -p $(ICUDATA_NAME)$(BATCH_STUB_SUFFIX) -e $(ICUDATA_ENTRY_POINT) icudata390.lst -m dll
|
2001-11-06 22:19:17 +00:00
|
|
|
cp $(top_builddir)/data/$(LIB_ICUDATA_NAME)$(BATCH_STUB_SUFFIX).$(SO) $(top_builddir)/stubdata/$(LIB_ICUDATA_NAME)$(BATCH_STUB_SUFFIX).$(SO)
|
2001-10-05 16:53:08 +00:00
|
|
|
|
2002-01-24 17:32:12 +00:00
|
|
|
|
|
|
|
##### Define all the data files. the build rule that depends on them is below.
|
|
|
|
|
|
|
|
## DAT files - Misc. data files.
|
|
|
|
DAT_FILES=$(BUILDDIR)/uprops.dat $(BUILDDIR)/unames.dat $(BUILDDIR)/unorm.dat $(BUILDDIR)/cnvalias.dat $(BUILDDIR)/tz.dat $(BUILDDIR)/ucadata.dat $(BUILDDIR)/invuca.dat
|
|
|
|
TEST_DAT_FILES=$(TESTBUILDDIR)/test.dat
|
|
|
|
|
|
|
|
## BRK files
|
|
|
|
# ALL of these files can be deleted (the following BRK files) - they are copied
|
|
|
|
BRK_FILES=$(BUILDDIR)/char.brk $(BUILDDIR)/line.brk $(BUILDDIR)/line_th.brk $(BUILDDIR)/sent.brk $(BUILDDIR)/word.brk $(BUILDDIR)/word_th.brk
|
|
|
|
# don't include thaidict.brk - it goes into a resource bundle - plus it isn't deleted
|
|
|
|
|
|
|
|
## UCM files
|
|
|
|
-include $(UCMSRCDIR)/ucmcore.mk
|
|
|
|
-include $(UCMSRCDIR)/ucmfiles.mk
|
|
|
|
-include $(UCMSRCDIR)/ucmebcdic.mk
|
|
|
|
-include $(UCMSRCDIR)/ucmlocal.mk
|
|
|
|
ALL_UCM_SOURCE=ibm-37.ucm ibm-1047-s390.ucm $(UCM_SOURCE_CORE) $(UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UCM_SOURCE_LOCAL)
|
|
|
|
UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%)
|
|
|
|
CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv)
|
|
|
|
|
|
|
|
TEST_UCM_SOURCE= test1.ucm test3.ucm test4.ucm
|
|
|
|
TEST_UCM_FILES=$(TEST_UCM_SOURCE:%=$(TESTSRCDATADIR)/data/%)
|
|
|
|
TEST_CNV_FILES=$(TEST_UCM_SOURCE:%.ucm=$(TESTOUTDIR)/%.cnv)
|
|
|
|
|
|
|
|
## RES files
|
|
|
|
include $(LOCSRCDIR)/resfiles.mk
|
|
|
|
-include $(LOCSRCDIR)/reslocal.mk
|
|
|
|
RES_SOURCE= $(GENRB_SOURCE) $(RESOURCE_SRC) $(GENRB_SOURCE_LOCAL)
|
|
|
|
RES_SRC_FILES = $(RES_SOURCE:%=$(LOCSRCDIR)/%)
|
|
|
|
|
|
|
|
## TRNS files
|
|
|
|
include $(TRNSSRCDIR)/trnsfiles.mk
|
|
|
|
-include $(TRNSSRCDIR)/trnslocal.mk
|
|
|
|
TRNS_SOURCE= $(TRANSLIT_SOURCE) $(TRANSLIT_SOURCE_LOCAL)
|
|
|
|
TRNS_SRC_FILES=$(TRNS_SOURCE:%=$(TRNSSRCDIR)/%)
|
|
|
|
|
|
|
|
ALL_RES_SOURCE= $(RES_SOURCE) $(TRNS_SOURCE)
|
|
|
|
RES_FILES = $(ALL_RES_SOURCE:%.txt=$(BUILDDIR)/%.res)
|
|
|
|
|
|
|
|
TEST_RES = root.txt te.txt te_IN.txt testtypes.txt testempty.txt
|
|
|
|
TEST_RES_SRC_FILES=$(ALL_TEST_RES_SOURCE:%=$(TESTSRCDATADIR)/%)
|
|
|
|
TEST_RES_FILES=$(TEST_RES:%.txt=$(TESTBUILDDIR)/%.res)
|
|
|
|
|
|
|
|
## All generated files
|
|
|
|
ALL_FILES = $(DAT_FILES) $(BRK_FILES) $(CNV_FILES) $(RES_FILES)
|
|
|
|
|
|
|
|
ALL_TEST_FILES = $(TEST_DAT_FILES) $(TEST_BRK_FILES) $(TEST_CNV_FILES) $(TEST_RES_FILES) $(TESTOUTDIR)/testudata_nam.typ
|
|
|
|
|
|
|
|
#####################################################
|
|
|
|
# General data build rules
|
|
|
|
|
|
|
|
## Files to remove for 'make clean'
|
|
|
|
CLEANFILES = *~ $(ALL_FILES) $(ALL_TEST_FILES) icupkg.inc $(BUILDDIR)\*.o $(BUILDDIR)\*.c $(BUILDDIR)\*.dat
|
|
|
|
|
|
|
|
$(BUILDDIR)/icudata.lst: $(SRCLISTDEPS)
|
|
|
|
@echo "generating $@ (list of data files)"
|
|
|
|
@-$(RMV) $@
|
|
|
|
@for file in $(ALL_FILES); do \
|
|
|
|
echo $$file >> $@; \
|
|
|
|
done;
|
|
|
|
|
|
|
|
$(TESTBUILDDIR)/testdata.lst: $(SRCLISTDEPS)
|
|
|
|
@echo "generating $@ (list of data files)"
|
|
|
|
@-$(RMV) $@
|
|
|
|
@for file in $(TEST_RES_FILES) $(TEST_DAT_FILES); do \
|
|
|
|
echo $$file >> $@; \
|
|
|
|
done;
|
|
|
|
|
|
|
|
build-local: build-data build-testdata
|
|
|
|
|
|
|
|
# Additional data for 390
|
|
|
|
ifeq ($(OS390DATA),1)
|
|
|
|
OS390LIST= icudata390.lst
|
|
|
|
endif
|
|
|
|
#
|
|
|
|
|
|
|
|
build-data: build-dir $(ALL_FILES) $(BUILDDIR)/icudata.lst $(OS390LIST)
|
|
|
|
|
|
|
|
build-dir:
|
2002-01-25 00:09:01 +00:00
|
|
|
-$(MKINSTALLDIRS) $(OUTDIR) $(BUILDDIR) $(TESTOUTDIR) $(TESTBUILDDIR)
|
2002-01-24 17:32:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
#$(ALL_TEST_FILES)
|
|
|
|
|
|
|
|
build-testdata: $(ALL_TEST_FILES) $(TESTBUILDDIR)/testdata.lst $(TESTBUILDDIR)/ja_data.res
|
|
|
|
|
|
|
|
# Now, sections for building each kind of data.
|
|
|
|
|
|
|
|
#################################################### DAT
|
|
|
|
# DAT FILES
|
|
|
|
|
|
|
|
# uprops.dat
|
|
|
|
$(BUILDDIR)/uprops.dat: $(UNICODEDATADIR)/UnicodeData.txt $(UNICODEDATADIR)/BidiMirroring.txt $(TOOLDIR)/genprops/genprops$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genprops/genprops -s $(UNICODEDATADIR) -d $(BUILDDIR) -u $(UNICODE_VERSION)
|
|
|
|
|
|
|
|
# unorm.dat
|
|
|
|
$(BUILDDIR)/unorm.dat: $(UNICODEDATADIR)/UnicodeData.txt $(UNICODEDATADIR)/DerivedNormalizationProperties.txt $(UNICODEDATADIR)/BidiMirroring.txt $(TOOLDIR)/gennorm/gennorm$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gennorm/gennorm -s $(UNICODEDATADIR) -d $(BUILDDIR) -u $(UNICODE_VERSION)
|
|
|
|
|
|
|
|
# ucadata.dat
|
|
|
|
$(BUILDDIR)/ucadata.dat: $(UNICODEDATADIR)/FractionalUCA.txt $(TOOLDIR)/genuca/genuca$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genuca/genuca -s $(UNICODEDATADIR) -d $(BUILDDIR)
|
|
|
|
|
|
|
|
# unames.dat
|
|
|
|
$(BUILDDIR)/unames.dat: $(UNICODEDATADIR)/UnicodeData.txt $(TOOLDIR)/gennames/gennames$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gennames/gennames -d $(BUILDDIR) $(UNICODEDATADIR)/UnicodeData.txt -u $(UNICODE_VERSION)
|
|
|
|
|
|
|
|
# cnvalias.dat
|
|
|
|
$(BUILDDIR)/cnvalias.dat: $(UCMSRCDIR)/convrtrs.txt $(TOOLDIR)/gencnval/gencnval$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gencnval/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.txt
|
|
|
|
|
|
|
|
# tz.dat
|
|
|
|
$(BUILDDIR)/tz.dat: $(MISCSRCDIR)/timezone.txt $(TOOLDIR)/gentz/gentz$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gentz/gentz -d $(BUILDDIR) $(MISCSRCDIR)/timezone.txt
|
|
|
|
|
|
|
|
# test.dat
|
|
|
|
$(TESTBUILDDIR)/test.dat: $(TOOLDIR)/gentest/gentest$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gentest/gentest -d $(TESTBUILDDIR)
|
|
|
|
|
|
|
|
#################################################### BRK
|
|
|
|
# BRK FILES
|
|
|
|
|
|
|
|
thaidict.brk: $(SRCDATADIR)/thaidict.brk
|
|
|
|
$(RMV) $@ && ln -s $(BUILDDIR) $@
|
|
|
|
|
|
|
|
# copy the right endianness
|
|
|
|
|
|
|
|
ifeq (@U_IS_BIG_ENDIAN@,1)
|
|
|
|
$(BUILDDIR)/%.brk: $(BRKSRCDIR)/%BE.brk
|
|
|
|
cp $< $@
|
|
|
|
else
|
|
|
|
$(BUILDDIR)/%.brk: $(BRKSRCDIR)/%LE.brk
|
|
|
|
cp $< $@
|
|
|
|
endif
|
|
|
|
|
|
|
|
#################################################### CNV
|
|
|
|
# CNV FILES
|
|
|
|
$(BUILDDIR)/%.cnv: $(UCMSRCDIR)/%.ucm $(TOOLDIR)/makeconv/makeconv$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/makeconv/makeconv -c -d $(BUILDDIR) $(UCMSRCDIR)/$(<F)
|
|
|
|
|
|
|
|
$(TESTOUTDIR)/%.cnv: $(TESTSRCDATADIR)/%.ucm $(TOOLDIR)/makeconv/makeconv$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/makeconv/makeconv -c -d $(TESTOUTDIR) $(TESTSRCDATADIR)/$(<F)
|
|
|
|
|
|
|
|
#################################################### RES
|
|
|
|
# RES FILES
|
|
|
|
$(TESTBUILDDIR)/%.res: $(TESTSRCDATADIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb -q -s $(TESTSRCDATADIR) -d $(TESTBUILDDIR) $(<F)
|
|
|
|
|
|
|
|
$(TESTBUILDDIR)/ja_data.res: $(TESTSRCDATADIR)/ja_data.bin $(TOOLDIR)/genrb/genrb$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb -q -s $(TESTSRCDATADIR) -eISO_2022_JP -d $(TESTBUILDDIR) $(<F) >/dev/null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BUILDDIR)/%.res: $(LOCSRCDIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT) $(BUILDDIR)/ucadata.dat $(BUILDDIR)/uprops.dat $(BUILDDIR)/unorm.dat
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb -q -s $(LOCSRCDIR) -d $(BUILDDIR) $(<F)
|
|
|
|
|
|
|
|
$(BUILDDIR)/%.res: $(TRNSSRCDIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT)
|
|
|
|
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb -q -s $(TRNSSRCDIR) -d $(BUILDDIR) $(<F)
|
|
|
|
|
|
|
|
################################################################### TYP
|
|
|
|
# TYP FILES
|
|
|
|
|
|
|
|
$(TESTOUTDIR)/testudata_nam.typ: $(TESTBUILDDIR)/te_IN.res
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
###################################################################
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
icupkg.inc: $(srcdir)/icupkg.inc.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
###########
|
|
|
|
########### 390 support
|
|
|
|
UCMFILES390=ebcdic-xml-us.ucm ibm-37-s390.ucm ibm-1047-s390.ucm ibm-4909.ucm
|
|
|
|
ALLFILES390=uprops.dat unorm.dat cnvalias.dat $(UCMFILES390:.ucm=.cnv)
|
|
|
|
|
|
|
|
icudata390.lst: $(SRCLISTDEPS)
|
|
|
|
@echo "generating $@ (list of 390 data files)"
|
|
|
|
@-$(RMV) $@
|
|
|
|
@for file in $(ALLFILES390); do \
|
|
|
|
echo $$file >> $@; \
|
|
|
|
done;
|