mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-8858 Fix ufortune sample program to build resources in dll correctly
X-SVN-Rev: 30821
This commit is contained in:
parent
df30b2280b
commit
c3a95aefe9
3 changed files with 5 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2002-2005 IBM, Inc. and others
|
||||
# Copyright (c) 2002-2011 IBM, Inc. and others
|
||||
# Sample code makefile definitions
|
||||
|
||||
CLEANFILES=*~ $(TARGET).out
|
||||
|
@ -17,7 +17,7 @@ GENRB=$(shell icu-config --invoke=genrb)
|
|||
GENRBOPT=
|
||||
PKGDATA=$(shell icu-config --invoke=pkgdata)
|
||||
SO=$(shell icu-config --so)
|
||||
PKGDATAOPTS=-v -d .
|
||||
PKGDATAOPTS=-r $(shell icu-config --version) -v -d .
|
||||
# default - resources in same mode as ICU
|
||||
RESMODE=$(shell icu-config --icudata-mode)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2001-2002 IBM, Inc. and others
|
||||
# Copyright (c) 2001-2011 IBM, Inc. and others
|
||||
# common makefile between ufortune and ufortune/resources
|
||||
|
||||
# mode of resource bundle -
|
||||
|
@ -28,7 +28,6 @@ CHECK_VARS= ICU_DATA=$(RESDIR)
|
|||
# DLL and static modes are identical here
|
||||
ifeq ($(RESMODE),dll)
|
||||
RESLDFLAGS= -L$(RESDIR) -l$(RESNAME)
|
||||
RESCPPFLAGS=
|
||||
CHECK_VARS=
|
||||
endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2001-2010 IBM, Inc. and others
|
||||
# Copyright (c) 2001-2011 IBM, Inc. and others
|
||||
#
|
||||
# File
|
||||
# icu/source/samples/ufortune/resources/Makefile
|
||||
|
@ -35,7 +35,7 @@ include ../fortunedefs.mk
|
|||
# target file for resource bundle - this must be set, or 'make all' won't
|
||||
# build any resources.
|
||||
ifeq ($(RESMODE),dll)
|
||||
RESTARGET=lib$(RESNAME).$(SO)
|
||||
RESTARGET=lib$(RESNAME)*.$(SO)*
|
||||
endif
|
||||
ifeq ($(RESMODE),static)
|
||||
RESTARGET=lib$(RESNAME).a
|
||||
|
|
Loading…
Add table
Reference in a new issue