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-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-03-13 19:22:05 +00:00
|
|
|
"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATABLD)\ja_data.res" "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.res" "$(TESTDATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\ja_data.res" $(TESTDATAOUT)test.dat
|
2001-03-19 22:35:36 +00:00
|
|
|
@echo Building test data
|
2002-01-24 18:12:46 +00:00
|
|
|
copy "$(TESTDATABLD)\te.res" "$(TESTDATAOUT)\testudata_nam.typ"
|
|
|
|
@"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -v -m common -c -p testdata -O "$(PKGOPT)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" <<
|
2002-03-13 19:22:05 +00:00
|
|
|
casing.res
|
2001-03-19 22:35:36 +00:00
|
|
|
root.res
|
|
|
|
te.res
|
|
|
|
te_IN.res
|
|
|
|
testtypes.res
|
2001-10-10 21:00:46 +00:00
|
|
|
testempty.res
|
2002-01-24 18:12:46 +00:00
|
|
|
ja_data.res
|
2001-03-19 22:35:36 +00:00
|
|
|
test.dat
|
|
|
|
<<
|
|
|
|
|
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::
|
2001-10-10 18:32:06 +00:00
|
|
|
@echo Making Test Resource Bundle files
|
2002-01-24 18:12:46 +00:00
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)" $<
|
2001-03-19 22:35:36 +00:00
|
|
|
|
2002-01-24 18:12:46 +00:00
|
|
|
"$(TESTDATABLD)\ja_data.res":
|
2001-11-01 19:43:21 +00:00
|
|
|
@echo Making Test Resource Bundle file with encoding ISO-2022-JP
|
2002-01-24 18:12:46 +00:00
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -q -s"$(TESTDATA)" -eISO_2022_JP -d"$(TESTDATABLD)" ja_data.bin
|
2001-11-01 19:43:21 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
$(TESTDATAOUT)test.dat : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe
|
2002-01-24 18:12:46 +00:00
|
|
|
"$(ICUTOOLS)\gentest\$(CFG)\gentest" -d"$(TESTDATABLD)"
|