2001-03-19 22:35:36 +00:00
|
|
|
#**********************************************************************
|
2005-05-17 00:10:36 +00:00
|
|
|
#* Copyright (C) 1999-2005, International Business Machines Corporation
|
2001-03-19 22:35:36 +00:00
|
|
|
#* and others. All Rights Reserved.
|
|
|
|
#**********************************************************************
|
|
|
|
#
|
2001-10-10 18:32:06 +00:00
|
|
|
# 03/19/2001 weiv, schererm Created
|
2001-03-19 22:35:36 +00:00
|
|
|
|
|
|
|
.SUFFIXES : .res .txt
|
|
|
|
|
2002-07-17 03:56:50 +00:00
|
|
|
TESTPKG=testdata
|
|
|
|
TESTDT=$(TESTPKG)_
|
|
|
|
|
2002-01-24 18:12:46 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
ALL : "$(TESTDATAOUT)\testdata.dat"
|
2001-03-19 22:35:36 +00:00
|
|
|
@echo Test data is built.
|
|
|
|
|
2003-11-19 18:44:17 +00:00
|
|
|
# icu26_testtypes.res is there for cintltst/udatatst.c/TestSwapData()
|
|
|
|
# I generated it with an ICU 2.6.1 build on Windows after removing
|
|
|
|
# testincludeUTF (which made it large, unnecessarily for this test)
|
|
|
|
# and CollationElements (which will not work with a newer swapper)
|
|
|
|
# markus 2003nov19
|
|
|
|
|
2003-11-21 18:31:20 +00:00
|
|
|
# icu26e_testtypes.res is the same, but icuswapped to big-endian EBCDIC
|
|
|
|
# markus 2003nov21
|
|
|
|
|
2005-05-17 00:10:36 +00:00
|
|
|
"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\conversion.res" "$(TESTDATABLD)\icuio.res" "$(TESTDATABLD)\mc.res" "$(TESTDATABLD)\structLocale.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\sh.res" "$(TESTDATABLD)\sh_YU.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.res" "$(TESTDATABLD)\te_IN_REVISED.res" "$(TESTDATABLD)\testaliases.res" "$(TESTDATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\$(TESTDT)iscii.res" "$(TESTDATABLD)\$(TESTDT)idna_rules.res" "$(TESTDATABLD)\DataDrivenCollationTest.res" "$(TESTDATABLD)\$(TESTDT)test.icu" "$(TESTDATABLD)\$(TESTDT)testtable32.res" "$(TESTDATABLD)\$(TESTDT)test1.cnv" "$(TESTDATABLD)\$(TESTDT)test3.cnv" "$(TESTDATABLD)\$(TESTDT)test4.cnv" "$(TESTDATABLD)\$(TESTDT)test4x.cnv" "$(TESTDATABLD)\$(TESTDT)ibm9027.cnv" "$(TESTDATABLD)\$(TESTDT)nfscsi.spp" "$(TESTDATABLD)\$(TESTDT)nfscss.spp" "$(TESTDATABLD)\$(TESTDT)nfscis.spp" "$(TESTDATABLD)\$(TESTDT)nfsmxs.spp" "$(TESTDATABLD)\$(TESTDT)nfsmxp.spp"
|
2001-03-19 22:35:36 +00:00
|
|
|
@echo Building test data
|
2003-06-06 05:14:56 +00:00
|
|
|
@copy "$(TESTDATABLD)\$(TESTDT)te.res" "$(TESTDATAOUT)\$(TESTDT)nam.typ"
|
2003-11-19 18:44:17 +00:00
|
|
|
@copy "$(TESTDATA)\$(TESTDT)icu26_testtypes.res" "$(TESTDATABLD)"
|
2003-11-21 18:31:20 +00:00
|
|
|
@copy "$(TESTDATA)\$(TESTDT)icu26e_testtypes.res" "$(TESTDATABLD)"
|
2003-09-20 19:27:38 +00:00
|
|
|
@"$(ICUP)\bin\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" <<
|
2003-06-06 05:14:56 +00:00
|
|
|
$(TESTDT)casing.res
|
2003-07-22 04:18:20 +00:00
|
|
|
$(TESTDT)conversion.res
|
2003-06-06 05:14:56 +00:00
|
|
|
$(TESTDT)mc.res
|
|
|
|
$(TESTDT)root.res
|
2003-09-26 01:57:13 +00:00
|
|
|
$(TESTDT)testtable32.res
|
2005-05-17 00:10:36 +00:00
|
|
|
$(TESTDT)sh.res
|
|
|
|
$(TESTDT)sh_YU.res
|
2003-06-06 05:14:56 +00:00
|
|
|
$(TESTDT)te.res
|
|
|
|
$(TESTDT)te_IN.res
|
2005-05-17 00:10:36 +00:00
|
|
|
$(TESTDT)te_IN_REVISED.res
|
2003-06-06 05:14:56 +00:00
|
|
|
$(TESTDT)testtypes.res
|
2003-11-19 18:44:17 +00:00
|
|
|
$(TESTDT)icu26_testtypes.res
|
2003-11-21 18:31:20 +00:00
|
|
|
$(TESTDT)icu26e_testtypes.res
|
2003-06-06 05:14:56 +00:00
|
|
|
$(TESTDT)testempty.res
|
|
|
|
$(TESTDT)testaliases.res
|
2004-09-03 20:51:11 +00:00
|
|
|
$(TESTDT)structLocale.res
|
2004-04-08 20:24:06 +00:00
|
|
|
$(TESTDT)icuio.res
|
2003-06-06 05:14:56 +00:00
|
|
|
$(TESTDT)iscii.res
|
|
|
|
$(TESTDT)DataDrivenCollationTest.res
|
|
|
|
$(TESTDT)test.icu
|
|
|
|
$(TESTDT)test1.cnv
|
|
|
|
$(TESTDT)test3.cnv
|
|
|
|
$(TESTDT)test4.cnv
|
2003-11-12 02:04:55 +00:00
|
|
|
$(TESTDT)test4x.cnv
|
2003-06-06 05:14:56 +00:00
|
|
|
$(TESTDT)ibm9027.cnv
|
|
|
|
$(TESTDT)idna_rules.res
|
2003-07-25 00:02:36 +00:00
|
|
|
$(TESTDT)nfscsi.spp
|
|
|
|
$(TESTDT)nfscss.spp
|
|
|
|
$(TESTDT)nfscis.spp
|
|
|
|
$(TESTDT)nfsmxs.spp
|
|
|
|
$(TESTDT)nfsmxp.spp
|
2001-03-19 22:35:36 +00:00
|
|
|
<<
|
|
|
|
|
2001-11-16 05:17:32 +00:00
|
|
|
|
2001-03-19 22:35:36 +00:00
|
|
|
# Inference rule for creating resource bundles
|
2001-10-10 18:32:06 +00:00
|
|
|
# Some test data resource bundles are known to have warnings and bad data.
|
|
|
|
# The -q option is there on purpose, so we don't see it normally.
|
2002-01-24 18:12:46 +00:00
|
|
|
{$(TESTDATA)}.txt.res::
|
2002-07-17 03:56:50 +00:00
|
|
|
@echo Making Test Resource Bundle files $<
|
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -t -p"$(TESTPKG)" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)" $<
|
2001-03-19 22:35:36 +00:00
|
|
|
|
2003-06-06 05:14:56 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)iscii.res": "$(TESTDATA)\iscii.bin"
|
2003-02-28 21:38:30 +00:00
|
|
|
@echo Making Test Resource Bundle file with encoding ISCII,version=0
|
2003-06-06 05:14:56 +00:00
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -p"$(TESTPKG)" -q -s"$(TESTDATA)" -eISCII,version=0 -d"$(TESTDATABLD)" iscii.bin
|
2003-02-28 21:38:30 +00:00
|
|
|
|
2003-06-06 05:14:56 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)idna_rules.res": "$(TESTDATA)\idna_rules.txt"
|
2003-02-28 21:38:30 +00:00
|
|
|
@echo Making Test Resource Bundle file for IDNA reference implementation
|
2003-06-06 05:14:56 +00:00
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -p"$(TESTPKG)" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)" idna_rules.txt
|
2003-02-28 21:38:30 +00:00
|
|
|
|
2002-07-17 03:56:50 +00:00
|
|
|
|
2003-09-26 22:37:54 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)test.icu" : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe
|
2002-07-17 03:56:50 +00:00
|
|
|
"$(ICUTOOLS)\gentest\$(CFG)\gentest" -d"$(TESTDATABLD)"
|
|
|
|
|
2003-09-26 01:57:13 +00:00
|
|
|
# testtable32 resource file
|
2003-09-26 17:04:12 +00:00
|
|
|
"$(TESTDATABLD)\testtable32.txt" : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe
|
2003-09-26 01:57:13 +00:00
|
|
|
"$(ICUTOOLS)\gentest\$(CFG)\gentest" -r -d"$(TESTDATABLD)"
|
|
|
|
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)testtable32.res": "$(TESTDATABLD)\testtable32.txt"
|
|
|
|
@echo Making Test Resource Bundle file for IDNA reference implementation
|
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -p"$(TESTPKG)" -q -s"$(TESTDATABLD)" -d"$(TESTDATABLD)" testtable32.txt
|
|
|
|
|
2003-07-25 00:02:36 +00:00
|
|
|
# Targets for nfscsi.spp
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)nfscsi.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_cs_prep_ci.txt"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-07-25 00:02:36 +00:00
|
|
|
@"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s "$(TESTDATA)" -d "$(TESTDATABLD)\\" -b nfscsi -p "$(TESTPKG)" -u 3.2.0 nfs4_cs_prep_ci.txt
|
|
|
|
|
|
|
|
# Targets for nfscss.spp
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)nfscss.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_cs_prep_cs.txt"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-07-25 00:02:36 +00:00
|
|
|
@"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s "$(TESTDATA)" -d "$(TESTDATABLD)\\" -b nfscss -p "$(TESTPKG)" -u 3.2.0 nfs4_cs_prep_cs.txt
|
|
|
|
|
|
|
|
# Targets for nfscis.spp
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)nfscis.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_cis_prep.txt"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-08-01 17:18:27 +00:00
|
|
|
@"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s "$(TESTDATA)" -d "$(TESTDATABLD)\\" -b nfscis -p "$(TESTPKG)" -u 3.2.0 -k -n "$(ICUTOOLS)\..\data\unidata" nfs4_cis_prep.txt
|
2003-07-25 00:02:36 +00:00
|
|
|
|
|
|
|
# Targets for nfsmxs.spp
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)nfsmxs.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_mixed_prep_s.txt"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-08-01 17:18:27 +00:00
|
|
|
@"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s "$(TESTDATA)" -d "$(TESTDATABLD)\\" -b nfsmxs -p "$(TESTPKG)" -u 3.2.0 -k -n "$(ICUTOOLS)\..\data\unidata" nfs4_mixed_prep_s.txt
|
2003-07-25 00:02:36 +00:00
|
|
|
|
|
|
|
# Targets for nfsmxp.spp
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)nfsmxp.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_mixed_prep_p.txt"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-08-01 17:18:27 +00:00
|
|
|
@"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s "$(TESTDATA)" -d "$(TESTDATABLD)\\" -b nfsmxp -p "$(TESTPKG)" -u 3.2.0 -k -n "$(ICUTOOLS)\..\data\unidata" nfs4_mixed_prep_p.txt
|
2002-07-17 03:56:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Targets for test converter data
|
2003-06-06 05:14:56 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)test1.cnv": "$(TESTDATA)\test1.ucm"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-06-06 05:14:56 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
2002-07-17 03:56:50 +00:00
|
|
|
|
2003-06-06 05:14:56 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)test3.cnv": "$(TESTDATA)\test3.ucm"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-06-06 05:14:56 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
2001-11-01 19:43:21 +00:00
|
|
|
|
2003-06-06 05:14:56 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)test4.cnv": "$(TESTDATA)\test4.ucm"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-06-06 05:14:56 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
2003-04-17 18:11:28 +00:00
|
|
|
|
2003-11-12 02:04:55 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)test4x.cnv": "$(TESTDATA)\test4x.ucm"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-11-12 02:04:55 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
|
|
|
|
2003-06-06 05:14:56 +00:00
|
|
|
"$(TESTDATABLD)\$(TESTDT)ibm9027.cnv": "$(TESTDATA)\ibm9027.ucm"
|
2004-03-30 06:15:34 +00:00
|
|
|
@echo Building $@
|
2003-06-06 05:14:56 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
2003-04-17 18:56:27 +00:00
|
|
|
|