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