]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | # Copyright (C) 2016 and later: Unicode, Inc. and others. |
2 | # License & terms of use: http://www.unicode.org/copyright.html#License | |
3 | # | |
51004dcb | 4 | # Copyright (c) 2002-2012 IBM, Inc. and others |
b75a7d8f A |
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) | |
51004dcb | 16 | LDFLAGS =$^ $(shell icu-config --ldflags) |
374ca955 | 17 | LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio) |
b75a7d8f A |
18 | INVOKE=$(shell icu-config --invoke) |
19 | GENRB=$(shell icu-config --invoke=genrb) | |
73c04bcf | 20 | GENRBOPT= |
b75a7d8f A |
21 | PKGDATA=$(shell icu-config --invoke=pkgdata) |
22 | SO=$(shell icu-config --so) | |
4388f060 | 23 | PKGDATAOPTS=-r $(shell icu-config --version) -w -v -d . |
b75a7d8f A |
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 | ||
73c04bcf | 31 | RMV=rm -rf |