]>
Commit | Line | Data |
---|---|---|
1 | # Copyright (C) 2016 and later: Unicode, Inc. and others. | |
2 | # License & terms of use: http://www.unicode.org/copyright.html#License | |
3 | # | |
4 | # Copyright (c) 2002-2012 IBM, Inc. and others | |
5 | # Sample code makefile definitions | |
6 | ||
7 | CLEANFILES=*~ $(TARGET).out | |
8 | #################################################################### | |
9 | # Load ICU information. You can copy this to other makefiles ####### | |
10 | #################################################################### | |
11 | CC=$(shell icu-config --cc) | |
12 | CXX=$(shell icu-config --cxx) | |
13 | CPPFLAGS=$(shell icu-config --cppflags) | |
14 | CFLAGS=$(shell icu-config --cflags) | |
15 | CXXFLAGS=$(shell icu-config --cxxflags) | |
16 | LDFLAGS =$^ $(shell icu-config --ldflags) | |
17 | LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio) | |
18 | INVOKE=$(shell icu-config --invoke) | |
19 | GENRB=$(shell icu-config --invoke=genrb) | |
20 | GENRBOPT= | |
21 | PKGDATA=$(shell icu-config --invoke=pkgdata) | |
22 | SO=$(shell icu-config --so) | |
23 | PKGDATAOPTS=-r $(shell icu-config --version) -w -v -d . | |
24 | # default - resources in same mode as ICU | |
25 | RESMODE=$(shell icu-config --icudata-mode) | |
26 | ||
27 | #################################################################### | |
28 | ### Project independent things (common) | |
29 | ### We depend on gmake for the bulk of the work | |
30 | ||
31 | RMV=rm -rf |