2001-03-19 22:35:36 +00:00
|
|
|
#**********************************************************************
|
|
|
|
#* Copyright (C) 1999-2000, International Business Machines Corporation
|
|
|
|
#* and others. All Rights Reserved.
|
|
|
|
#**********************************************************************
|
|
|
|
# nmake file for creating data files on win32
|
|
|
|
# invoke with
|
|
|
|
# nmake /f makedata.mak icup=<path_to_icu_instalation> [Debug|Release]
|
|
|
|
#
|
|
|
|
# 03/19/2001 weiv, schererm Created
|
|
|
|
|
|
|
|
.SUFFIXES : .res .txt
|
|
|
|
|
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.
|
|
|
|
|
2001-08-17 22:16:02 +00:00
|
|
|
"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATAOUT)\root.res" "$(TESTDATAOUT)\te.res" "$(TESTDATAOUT)\te_IN.res" "$(TESTDATAOUT)\testtypes.res" "$(TESTDATAOUT)\testempty.res" "$(TESTDATAOUT)\empty.res" $(TESTDATAOUT)test.dat
|
2001-03-19 22:35:36 +00:00
|
|
|
@echo Building test data
|
2001-07-26 21:55:49 +00:00
|
|
|
@"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -v -m common -c -p testdata -O "$(PKGOPT)" -d "$(TESTDATAOUT)" -T "$(TESTDATAOUT)" -s "$(TESTDATAOUT)" <<
|
2001-03-19 22:35:36 +00:00
|
|
|
root.res
|
|
|
|
te.res
|
|
|
|
te_IN.res
|
|
|
|
testtypes.res
|
2001-04-17 19:11:56 +00:00
|
|
|
empty.res
|
2001-03-19 22:35:36 +00:00
|
|
|
test.dat
|
|
|
|
<<
|
|
|
|
|
|
|
|
# Inference rule for creating resource bundles
|
|
|
|
{$(TESTDATA)}.txt.res:
|
|
|
|
@echo Making Test Resource Bundle files
|
2001-07-26 21:55:49 +00:00
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -s$(TESTDATA) -d$(TESTDATAOUT) $(?F)
|
2001-03-19 22:35:36 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
$(TESTDATAOUT)test.dat : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe
|
|
|
|
"$(ICUTOOLS)\gentest\$(CFG)\gentest" -d$(TESTDATAOUT)
|