]> git.saurik.com Git - apple/icu.git/blame - icuSources/samples/defs.mk
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / samples / defs.mk
CommitLineData
51004dcb 1# Copyright (c) 2002-2012 IBM, Inc. and others
b75a7d8f
A
2# Sample code makefile definitions
3
4CLEANFILES=*~ $(TARGET).out
5####################################################################
6# Load ICU information. You can copy this to other makefiles #######
7####################################################################
8CC=$(shell icu-config --cc)
9CXX=$(shell icu-config --cxx)
10CPPFLAGS=$(shell icu-config --cppflags)
11CFLAGS=$(shell icu-config --cflags)
12CXXFLAGS=$(shell icu-config --cxxflags)
51004dcb 13LDFLAGS =$^ $(shell icu-config --ldflags)
374ca955 14LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
b75a7d8f
A
15INVOKE=$(shell icu-config --invoke)
16GENRB=$(shell icu-config --invoke=genrb)
73c04bcf 17GENRBOPT=
b75a7d8f
A
18PKGDATA=$(shell icu-config --invoke=pkgdata)
19SO=$(shell icu-config --so)
4388f060 20PKGDATAOPTS=-r $(shell icu-config --version) -w -v -d .
b75a7d8f
A
21# default - resources in same mode as ICU
22RESMODE=$(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 28RMV=rm -rf