• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2016 and later: Unicode, Inc. and others.
2# License & terms of use: http://www.unicode.org/copyright.html
3#
4# Copyright (c) 2002-2012 IBM, Inc. and others
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)
16LDFLAGS =$^ $(shell icu-config --ldflags)
17LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
18INVOKE=$(shell icu-config --invoke)
19GENRB=$(shell icu-config --invoke=genrb)
20GENRBOPT=
21PKGDATA=$(shell icu-config --invoke=pkgdata)
22SO=$(shell icu-config --so)
23PKGDATAOPTS=-r $(shell icu-config --version) -w -v -d .
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
31RMV=rm -rf
32