1 # Copyright (c) 2001-2011 IBM, Inc. and others
2 # common makefile between ufortune and ufortune/resources
4 # mode of resource bundle -
5 # you can change this to:
6 # dll - will create a dynamically linked library
7 # (may require 'make install' in resources subdir for
8 # proper library installation)
10 # static - will statically link data into ufortune
12 # common - will create fortune_resources.dat in the resources subdir
13 # (must be locatable by ICU_PATH - use 'make check')
15 # files - will use separate files, such as es.res, fi.res, etc.
21 RESNAME=fortune_resources
24 # Don't call udata_setAppData unless we are linked with the data
25 RESCPPFLAGS=-DUFORTUNE_NOSETAPPDATA
26 CHECK_VARS= ICU_DATA=$(RESDIR)
28 # DLL and static modes are identical here
30 RESLDFLAGS= -L$(RESDIR) -l$(RESNAME)
35 ifeq ($(RESMODE),static)
36 RESLDFLAGS= -L$(RESDIR) -l$(RESNAME)