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