2016-09-28 22:12:27 +00:00
|
|
|
# Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
|
|
# License & terms of use: http://www.unicode.org/copyright.html#License
|
|
|
|
#
|
2016-05-31 21:45:07 +00:00
|
|
|
# Copyright (c) 2002-2012 IBM, Inc. and others
|
2002-05-08 23:25:29 +00:00
|
|
|
# Sample code makefile definitions
|
|
|
|
|
|
|
|
CLEANFILES=*~ $(TARGET).out
|
|
|
|
####################################################################
|
|
|
|
# Load ICU information. You can copy this to other makefiles #######
|
|
|
|
####################################################################
|
|
|
|
CC=$(shell icu-config --cc)
|
|
|
|
CXX=$(shell icu-config --cxx)
|
|
|
|
CPPFLAGS=$(shell icu-config --cppflags)
|
|
|
|
CFLAGS=$(shell icu-config --cflags)
|
|
|
|
CXXFLAGS=$(shell icu-config --cxxflags)
|
2012-07-24 19:21:36 +00:00
|
|
|
LDFLAGS =$^ $(shell icu-config --ldflags)
|
2004-06-17 19:25:52 +00:00
|
|
|
LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
|
2002-05-08 23:25:29 +00:00
|
|
|
INVOKE=$(shell icu-config --invoke)
|
2002-05-10 20:32:34 +00:00
|
|
|
GENRB=$(shell icu-config --invoke=genrb)
|
2005-05-04 05:07:52 +00:00
|
|
|
GENRBOPT=
|
2002-05-10 20:32:34 +00:00
|
|
|
PKGDATA=$(shell icu-config --invoke=pkgdata)
|
|
|
|
SO=$(shell icu-config --so)
|
2011-11-04 05:22:18 +00:00
|
|
|
PKGDATAOPTS=-r $(shell icu-config --version) -w -v -d .
|
2002-05-10 20:32:34 +00:00
|
|
|
# default - resources in same mode as ICU
|
|
|
|
RESMODE=$(shell icu-config --icudata-mode)
|
|
|
|
|
2002-05-08 23:25:29 +00:00
|
|
|
####################################################################
|
|
|
|
### Project independent things (common)
|
|
|
|
### We depend on gmake for the bulk of the work
|
|
|
|
|
2005-05-04 05:07:52 +00:00
|
|
|
RMV=rm -rf
|