c9857c18fd
X-SVN-Rev: 13225
113 lines
5.5 KiB
Makefile
113 lines
5.5 KiB
Makefile
#**********************************************************************
|
|
#* Copyright (C) 1999-2003, International Business Machines Corporation
|
|
#* and others. All Rights Reserved.
|
|
#**********************************************************************
|
|
#
|
|
# 03/19/2001 weiv, schererm Created
|
|
|
|
.SUFFIXES : .res .txt
|
|
|
|
TESTPKG=testdata
|
|
TESTDT=$(TESTPKG)_
|
|
|
|
|
|
ALL : "$(TESTDATAOUT)\testdata.dat"
|
|
@echo Test data is built.
|
|
|
|
"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\conversion.res" "$(TESTDATABLD)\mc.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.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)ibm9027.cnv" "$(TESTDATABLD)\$(TESTDT)nfscsi.spp" "$(TESTDATABLD)\$(TESTDT)nfscss.spp" "$(TESTDATABLD)\$(TESTDT)nfscis.spp" "$(TESTDATABLD)\$(TESTDT)nfsmxs.spp" "$(TESTDATABLD)\$(TESTDT)nfsmxp.spp"
|
|
@echo Building test data
|
|
@copy "$(TESTDATABLD)\$(TESTDT)te.res" "$(TESTDATAOUT)\$(TESTDT)nam.typ"
|
|
@"$(ICUP)\bin\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" <<
|
|
$(TESTDT)casing.res
|
|
$(TESTDT)conversion.res
|
|
$(TESTDT)mc.res
|
|
$(TESTDT)root.res
|
|
$(TESTDT)testtable32.res
|
|
$(TESTDT)te.res
|
|
$(TESTDT)te_IN.res
|
|
$(TESTDT)testtypes.res
|
|
$(TESTDT)testempty.res
|
|
$(TESTDT)testaliases.res
|
|
$(TESTDT)iscii.res
|
|
$(TESTDT)DataDrivenCollationTest.res
|
|
$(TESTDT)test.icu
|
|
$(TESTDT)test1.cnv
|
|
$(TESTDT)test3.cnv
|
|
$(TESTDT)test4.cnv
|
|
$(TESTDT)ibm9027.cnv
|
|
$(TESTDT)idna_rules.res
|
|
$(TESTDT)nfscsi.spp
|
|
$(TESTDT)nfscss.spp
|
|
$(TESTDT)nfscis.spp
|
|
$(TESTDT)nfsmxs.spp
|
|
$(TESTDT)nfsmxp.spp
|
|
<<
|
|
|
|
|
|
# Inference rule for creating resource bundles
|
|
# 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.
|
|
{$(TESTDATA)}.txt.res::
|
|
@echo Making Test Resource Bundle files $<
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -t -p"$(TESTPKG)" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)" $<
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)iscii.res": "$(TESTDATA)\iscii.bin"
|
|
@echo Making Test Resource Bundle file with encoding ISCII,version=0
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -p"$(TESTPKG)" -q -s"$(TESTDATA)" -eISCII,version=0 -d"$(TESTDATABLD)" iscii.bin
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)idna_rules.res": "$(TESTDATA)\idna_rules.txt"
|
|
@echo Making Test Resource Bundle file for IDNA reference implementation
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -p"$(TESTPKG)" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)" idna_rules.txt
|
|
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)test.icu" : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe
|
|
"$(ICUTOOLS)\gentest\$(CFG)\gentest" -d"$(TESTDATABLD)"
|
|
|
|
# testtable32 resource file
|
|
"$(TESTDATABLD)\testtable32.txt" : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe
|
|
"$(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
|
|
|
|
# Targets for nfscsi.spp
|
|
"$(TESTDATABLD)\$(TESTDT)nfscsi.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_cs_prep_ci.txt"
|
|
@echo Building nfscsi.spp
|
|
@"$(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"
|
|
@echo Building nfscss.spp
|
|
@"$(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"
|
|
@echo Building nfscis.spp
|
|
@"$(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
|
|
|
|
# Targets for nfsmxs.spp
|
|
"$(TESTDATABLD)\$(TESTDT)nfsmxs.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_mixed_prep_s.txt"
|
|
@echo Building nfsmxs.spp
|
|
@"$(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
|
|
|
|
# Targets for nfsmxp.spp
|
|
"$(TESTDATABLD)\$(TESTDT)nfsmxp.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_mixed_prep_p.txt"
|
|
@echo Building nfsmxp.spp
|
|
@"$(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
|
|
|
|
|
|
# Targets for test converter data
|
|
"$(TESTDATABLD)\$(TESTDT)test1.cnv": "$(TESTDATA)\test1.ucm"
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)test3.cnv": "$(TESTDATA)\test3.ucm"
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)test4.cnv": "$(TESTDATA)\test4.ucm"
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
|
|
|
"$(TESTDATABLD)\$(TESTDT)ibm9027.cnv": "$(TESTDATA)\ibm9027.ucm"
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" -p $(TESTPKG) $**
|
|
|