]> git.saurik.com Git - apple/icu.git/blob - icuSources/samples/defs.mk
ICU-6.2.22.tar.gz
[apple/icu.git] / icuSources / samples / defs.mk
1 # Copyright (c) 2002-2004 IBM, Inc. and others
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)
13 LDFLAGS =$(shell icu-config --ldflags)
14 LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
15 INVOKE=$(shell icu-config --invoke)
16 GENRB=$(shell icu-config --invoke=genrb)
17 GENRBOPT=--package-name $(RESNAME)
18 PKGDATA=$(shell icu-config --invoke=pkgdata)
19 SO=$(shell icu-config --so)
20 PKGDATAOPTS=-v -d .
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
28 RMV=rm -rf