2001-03-19 22:35:36 +00:00
|
|
|
#**********************************************************************
|
|
|
|
#* Copyright (C) 1999-2000, International Business Machines Corporation
|
|
|
|
#* 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.
|
|
|
|
|
2002-09-18 21:10:16 +00:00
|
|
|
"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.res" "$(TESTDATABLD)\testaliases.res" "$(TESTDATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\iscii.res" "$(TESTDATABLD)\DataDrivenCollationTest.res" $(TESTDATABLD)\testdata_test.icu "$(TESTDATABLD)\testdata_test1.cnv" "$(TESTDATABLD)\testdata_test3.cnv" "$(TESTDATABLD)\testdata_test4.cnv"
|
2001-03-19 22:35:36 +00:00
|
|
|
@echo Building test data
|
2002-07-18 00:26:33 +00:00
|
|
|
@copy "$(TESTDATABLD)\testdata_te.res" "$(TESTDATAOUT)\testdata_nam.typ"
|
2002-07-31 21:06:04 +00:00
|
|
|
@"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -O "$(PKGOPT)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" <<
|
2002-07-17 03:56:50 +00:00
|
|
|
testdata_casing.res
|
|
|
|
testdata_root.res
|
|
|
|
testdata_te.res
|
|
|
|
testdata_te_IN.res
|
|
|
|
testdata_testtypes.res
|
|
|
|
testdata_testempty.res
|
|
|
|
testdata_testaliases.res
|
2002-09-18 21:10:16 +00:00
|
|
|
testdata_iscii.res
|
2002-07-17 03:56:50 +00:00
|
|
|
testdata_DataDrivenCollationTest.res
|
2002-07-18 00:26:33 +00:00
|
|
|
testdata_test.icu
|
2002-07-17 03:56:50 +00:00
|
|
|
testdata_test1.cnv
|
|
|
|
testdata_test3.cnv
|
|
|
|
testdata_test4.cnv
|
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
|
|
|
|
2002-09-18 21:10:16 +00:00
|
|
|
"$(TESTDATABLD)\iscii.res":
|
2002-09-18 21:23:46 +00:00
|
|
|
@echo Making Test Resource Bundle file with encoding ISCII,version=0
|
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -t -p"$(TESTPKG)" -q -s"$(TESTDATA)" -eISCII,version=0 -d"$(TESTDATABLD)" iscii.bin
|
2002-07-17 03:56:50 +00:00
|
|
|
|
2002-07-18 00:26:33 +00:00
|
|
|
$(TESTDATABLD)\testdata_test.icu : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe
|
2002-07-17 03:56:50 +00:00
|
|
|
"$(ICUTOOLS)\gentest\$(CFG)\gentest" -d"$(TESTDATABLD)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Targets for test converter data
|
|
|
|
"$(TESTDATABLD)\testdata_test1.cnv": "$(TESTDATA)\test1.ucm"
|
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -t -p testdata $**
|
|
|
|
|
|
|
|
"$(TESTDATABLD)\testdata_test3.cnv": "$(TESTDATA)\test3.ucm"
|
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -t -p testdata $**
|
2001-11-01 19:43:21 +00:00
|
|
|
|
2002-07-17 03:56:50 +00:00
|
|
|
"$(TESTDATABLD)\testdata_test4.cnv": "$(TESTDATA)\test4.ucm"
|
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -t -p testdata $**
|