X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..340931cb2e044a2141d11567dd0f782524e32994:/icuSources/samples/ufortune/resources/fortune_resources.mak diff --git a/icuSources/samples/ufortune/resources/fortune_resources.mak b/icuSources/samples/ufortune/resources/fortune_resources.mak index 3c3a90b1..707ae6b6 100644 --- a/icuSources/samples/ufortune/resources/fortune_resources.mak +++ b/icuSources/samples/ufortune/resources/fortune_resources.mak @@ -1,9 +1,12 @@ -# Copyright (c) 2001 IBM, Inc. and others +# Copyright (C) 2016 and later: Unicode, Inc. and others. +# License & terms of use: http://www.unicode.org/copyright.html#License +# +# Copyright (c) 2001-2009 IBM, Inc. and others # # fortune_resources.mak # # Windows nmake makefile for compiling and packaging the resources -# for for the ICU sample program "ufortune". +# for the ICU sample program "ufortune". # # This makefile is normally invoked by the pre-link step in the # MSVC project file for ufortune @@ -15,19 +18,26 @@ # RESFILES= root.res es.res - # # ICUDIR the location of ICU, used to locate the tools for # compiling and packaging resources. # ICUDIR=..\..\..\.. +# +# The directory that contains the tools. +# +!IF "$(CFG)" == "x64\Release" || "$(CFG)" == "x64\Debug" +BIN=bin64 +!ELSE +BIN=bin +!ENDIF + # # File name extensions for inference rule matching. # clear out the built-in ones (for .c and the like), and add # the definition for .txt to .res. # -.SUFFIXES : .SUFFIXES : .txt # @@ -35,8 +45,7 @@ ICUDIR=..\..\..\.. # -t fools make into thinking there are files such as es.res, etc # .txt.res: - $(ICUDIR)\bin\genrb -t --package-name fortune_resources -d . $*.txt - + $(ICUDIR)\$(BIN)\genrb -d . $*.txt # # all - nmake starts here by default @@ -44,5 +53,5 @@ ICUDIR=..\..\..\.. all: fortune_resources.dll fortune_resources.dll: $(RESFILES) - $(ICUDIR)\bin\pkgdata --name fortune_resources -v -O R:$(ICUDIR) --mode dll -d . res-file-list.txt + $(ICUDIR)\$(BIN)\pkgdata --name fortune_resources -v --mode dll -d . res-file-list.txt