]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | # Copyright (c) 2001-2002 IBM, Inc. and others |
2 | # common makefile between ufortune and ufortune/resources | |
3 | ||
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) | |
9 | # | |
10 | # static - will statically link data into ufortune | |
11 | # | |
12 | # common - will create fortune_resources.dat in the resources subdir | |
13 | # (must be locatable by ICU_PATH - use 'make check') | |
14 | # | |
15 | # files - will use separate files, such as es.res, fi.res, etc. | |
16 | # (use 'make check') | |
17 | # | |
18 | RESMODE=static | |
19 | ||
20 | # Resource shortname | |
21 | RESNAME=fortune_resources | |
22 | ||
23 | RESLDFLAGS= | |
24 | # Don't call udata_setAppData unless we are linked with the data | |
25 | RESCPPFLAGS=-DUFORTUNE_NOSETAPPDATA | |
26 | CHECK_VARS= ICU_DATA=$(RESDIR) | |
27 | ||
28 | # DLL and static modes are identical here | |
29 | ifeq ($(RESMODE),dll) | |
30 | RESLDFLAGS= -L$(RESDIR) -l$(RESNAME) | |
31 | RESCPPFLAGS= | |
32 | CHECK_VARS= | |
33 | endif | |
34 | ||
35 | ifeq ($(RESMODE),static) | |
36 | RESLDFLAGS= -L$(RESDIR) -l$(RESNAME) | |
37 | RESCPPFLAGS= | |
38 | CHECK_VARS= | |
39 | endif | |
40 |