X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..f3c0d7a59d99c2a94c6b8822291f0e42be3773c9:/icuSources/samples/ufortune/resources/Makefile diff --git a/icuSources/samples/ufortune/resources/Makefile b/icuSources/samples/ufortune/resources/Makefile index b7d28998..8a3c1696 100644 --- a/icuSources/samples/ufortune/resources/Makefile +++ b/icuSources/samples/ufortune/resources/Makefile @@ -1,4 +1,7 @@ -# Copyright (c) 2001-2002 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-2011 IBM, Inc. and others # # File # icu/source/samples/ufortune/resources/Makefile @@ -28,17 +31,22 @@ include ../../defs.mk # No conventional target - this dir is resources only. TARGET= -CLEANFILES += *.mak *.[co] *.lst *.a *.$(SO) $(RESFILES) *.ao README*resources.txt +CLEANFILES += *.[co] *.lst $(RESNAME)_*.mak $(RESNAME).dat $(RESFILES) *.ao README*resources.txt $(RESNAME)_dat* include ../fortunedefs.mk # target file for resource bundle - this must be set, or 'make all' won't # build any resources. -RESTARGET=lib$(RESNAME).$(SO) +ifeq ($(RESMODE),dll) +RESTARGET=lib$(RESNAME)*.$(SO)* +endif +ifeq ($(RESMODE),static) +RESTARGET=lib$(RESNAME).a +endif # Resource files. Add new ones for additional locales here. # keep in sync with the file RESLIST -RESFILES=$(RESNAME)_root.res $(RESNAME)_es.res +RESFILES=root.res es.res # list of resource bundles - keep in sync with RESFILES RESLIST=res-file-list.txt @@ -49,6 +57,7 @@ include ../../rules.mk # for installing the library install: res-install -$(RESNAME)_es.res: es.txt +es.res: es.txt @echo "generating $@" - $(GENRB) $(GENRBOPT) -e latin-1 $^ + $(GENRB) $(GENRBOPT) $^ +